tools/testing/selftests/arm64/tags/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/tags_test.c: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/config: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/settings: warning: ignored by one of the .gitignore files In file included from ../samples/ftrace/sample-trace-array.c:18: In file included from ../samples/ftrace/sample-trace-array.h:84: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/ftrace/sample-trace-array.h:60:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 60 | TRACE_EVENT(sample_event, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../samples/ftrace/sample-trace-array.c:18: In file included from ../samples/ftrace/sample-trace-array.h:84: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/ftrace/sample-trace-array.h:60:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../samples/ftrace/sample-trace-array.c:18: In file included from ../samples/ftrace/sample-trace-array.h:84: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/ftrace/sample-trace-array.h:60:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../samples/ftrace/sample-trace-array.c:18: In file included from ../samples/ftrace/sample-trace-array.h:84: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/ftrace/sample-trace-array.h:60:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../samples/ftrace/sample-trace-array.c:18: In file included from ../samples/ftrace/sample-trace-array.h:84: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/ftrace/sample-trace-array.h:60:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../samples/ftrace/sample-trace-array.c:18: In file included from ../samples/ftrace/sample-trace-array.h:84: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/ftrace/sample-trace-array.h:60:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../samples/ftrace/sample-trace-array.c:18: In file included from ../samples/ftrace/sample-trace-array.h:84: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../samples/ftrace/sample-trace-array.h:60:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 60 | TRACE_EVENT(sample_event, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../samples/ftrace/sample-trace-array.c:18: In file included from ../samples/ftrace/sample-trace-array.h:84: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../samples/ftrace/sample-trace-array.h:60:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../samples/ftrace/sample-trace-array.c:18: In file included from ../samples/ftrace/sample-trace-array.h:84: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../samples/ftrace/sample-trace-array.h:60:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../samples/ftrace/sample-trace-array.c:18: In file included from ../samples/ftrace/sample-trace-array.h:84: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../samples/ftrace/sample-trace-array.h:60:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../samples/ftrace/sample-trace-array.c:18: In file included from ../samples/ftrace/sample-trace-array.h:84: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../samples/ftrace/sample-trace-array.h:60:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../samples/ftrace/sample-trace-array.c:18: In file included from ../samples/ftrace/sample-trace-array.h:84: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../samples/ftrace/sample-trace-array.h:60:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 12 errors generated. make[5]: *** [../scripts/Makefile.build:244: samples/ftrace/sample-trace-array.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: samples/ftrace] Error 2 make[4]: *** Waiting for unfinished jobs.... In file included from ../arch/x86/lib/msr.c:7: In file included from ../arch/x86/include/asm/msr-trace.h:58: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/msr-trace.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 21 | DECLARE_EVENT_CLASS(msr_trace_class, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/lib/msr.c:7: In file included from ../arch/x86/include/asm/msr-trace.h:58: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/msr-trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/lib/msr.c:7: In file included from ../arch/x86/include/asm/msr-trace.h:58: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/msr-trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/lib/msr.c:7: In file included from ../arch/x86/include/asm/msr-trace.h:58: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/msr-trace.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/lib/msr.c:7: In file included from ../arch/x86/include/asm/msr-trace.h:58: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/msr-trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/lib/msr.c:7: In file included from ../arch/x86/include/asm/msr-trace.h:58: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/msr-trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/lib/msr.c:7: In file included from ../arch/x86/include/asm/msr-trace.h:58: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../arch/x86/include/asm/msr-trace.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 21 | DECLARE_EVENT_CLASS(msr_trace_class, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../arch/x86/lib/msr.c:7: In file included from ../arch/x86/include/asm/msr-trace.h:58: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../arch/x86/include/asm/msr-trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../arch/x86/lib/msr.c:7: In file included from ../arch/x86/include/asm/msr-trace.h:58: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../arch/x86/include/asm/msr-trace.h:21:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../arch/x86/lib/msr.c:7: In file included from ../arch/x86/include/asm/msr-trace.h:58: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../arch/x86/include/asm/msr-trace.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../arch/x86/lib/msr.c:7: In file included from ../arch/x86/include/asm/msr-trace.h:58: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../arch/x86/include/asm/msr-trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../arch/x86/lib/msr.c:7: In file included from ../arch/x86/include/asm/msr-trace.h:58: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../arch/x86/include/asm/msr-trace.h:21:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 12 errors generated. make[4]: *** [../scripts/Makefile.build:244: arch/x86/lib/msr.o] Error 1 make[3]: *** [../scripts/Makefile.build:485: arch/x86/lib] Error 2 make[3]: *** Waiting for unfinished jobs.... In file included from ../arch/x86/entry/vsyscall/vsyscall_64.c:43: In file included from ../arch/x86/entry/vsyscall/vsyscall_trace.h:30: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/entry/vsyscall/vsyscall_trace.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | TRACE_EVENT(emulate_vsyscall, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/entry/vsyscall/vsyscall_64.c:43: In file included from ../arch/x86/entry/vsyscall/vsyscall_trace.h:30: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/entry/vsyscall/vsyscall_trace.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/entry/vsyscall/vsyscall_64.c:43: In file included from ../arch/x86/entry/vsyscall/vsyscall_trace.h:30: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/entry/vsyscall/vsyscall_trace.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/entry/vsyscall/vsyscall_64.c:43: In file included from ../arch/x86/entry/vsyscall/vsyscall_trace.h:30: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/entry/vsyscall/vsyscall_trace.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/entry/vsyscall/vsyscall_64.c:43: In file included from ../arch/x86/entry/vsyscall/vsyscall_trace.h:30: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/entry/vsyscall/vsyscall_trace.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/entry/vsyscall/vsyscall_64.c:43: In file included from ../arch/x86/entry/vsyscall/vsyscall_trace.h:30: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/entry/vsyscall/vsyscall_trace.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/entry/vsyscall/vsyscall_64.c:43: In file included from ../arch/x86/entry/vsyscall/vsyscall_trace.h:30: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../arch/x86/entry/vsyscall/vsyscall_trace.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | TRACE_EVENT(emulate_vsyscall, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../arch/x86/entry/vsyscall/vsyscall_64.c:43: In file included from ../arch/x86/entry/vsyscall/vsyscall_trace.h:30: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../arch/x86/entry/vsyscall/vsyscall_trace.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../arch/x86/entry/vsyscall/vsyscall_64.c:43: In file included from ../arch/x86/entry/vsyscall/vsyscall_trace.h:30: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../arch/x86/entry/vsyscall/vsyscall_trace.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../arch/x86/entry/vsyscall/vsyscall_64.c:43: In file included from ../arch/x86/entry/vsyscall/vsyscall_trace.h:30: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../arch/x86/entry/vsyscall/vsyscall_trace.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../arch/x86/entry/vsyscall/vsyscall_64.c:43: In file included from ../arch/x86/entry/vsyscall/vsyscall_trace.h:30: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../arch/x86/entry/vsyscall/vsyscall_trace.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../arch/x86/entry/vsyscall/vsyscall_64.c:43: In file included from ../arch/x86/entry/vsyscall/vsyscall_trace.h:30: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../arch/x86/entry/vsyscall/vsyscall_trace.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 12 errors generated. make[6]: *** [../scripts/Makefile.build:244: arch/x86/entry/vsyscall/vsyscall_64.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: arch/x86/entry/vsyscall] Error 2 make[4]: *** [../scripts/Makefile.build:485: arch/x86/entry] Error 2 make[4]: *** Waiting for unfinished jobs.... In file included from ../sound/firewire/amdtp-stream.c:27: In file included from ../sound/firewire/amdtp-stream-trace.h:81: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/firewire/amdtp-stream-trace.h:16:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 16 | TRACE_EVENT(amdtp_packet, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/firewire/amdtp-stream.c:27: In file included from ../sound/firewire/amdtp-stream-trace.h:81: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/firewire/amdtp-stream-trace.h:16:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/firewire/amdtp-stream.c:27: In file included from ../sound/firewire/amdtp-stream-trace.h:81: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/firewire/amdtp-stream-trace.h:16:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/firewire/amdtp-stream.c:27: In file included from ../sound/firewire/amdtp-stream-trace.h:81: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/firewire/amdtp-stream-trace.h:16:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/firewire/amdtp-stream.c:27: In file included from ../sound/firewire/amdtp-stream-trace.h:81: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/firewire/amdtp-stream-trace.h:16:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/firewire/amdtp-stream.c:27: In file included from ../sound/firewire/amdtp-stream-trace.h:81: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/firewire/amdtp-stream-trace.h:16:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/firewire/amdtp-stream.c:27: In file included from ../sound/firewire/amdtp-stream-trace.h:81: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../sound/firewire/amdtp-stream-trace.h:16:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 16 | TRACE_EVENT(amdtp_packet, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../sound/firewire/amdtp-stream.c:27: In file included from ../sound/firewire/amdtp-stream-trace.h:81: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../sound/firewire/amdtp-stream-trace.h:16:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../sound/firewire/amdtp-stream.c:27: In file included from ../sound/firewire/amdtp-stream-trace.h:81: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../sound/firewire/amdtp-stream-trace.h:16:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../sound/firewire/amdtp-stream.c:27: In file included from ../sound/firewire/amdtp-stream-trace.h:81: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../sound/firewire/amdtp-stream-trace.h:16:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../sound/firewire/amdtp-stream.c:27: In file included from ../sound/firewire/amdtp-stream-trace.h:81: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../sound/firewire/amdtp-stream-trace.h:16:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../sound/firewire/amdtp-stream.c:27: In file included from ../sound/firewire/amdtp-stream-trace.h:81: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../sound/firewire/amdtp-stream-trace.h:16:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 12 errors generated. make[5]: *** [../scripts/Makefile.build:244: sound/firewire/amdtp-stream.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../samples/trace_events/trace-events-sample.c:12: In file included from ../samples/trace_events/trace-events-sample.h:631: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/trace_events/trace-events-sample.h:291:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 291 | TRACE_EVENT(foo_bar, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../samples/trace_events/trace-events-sample.c:12: In file included from ../samples/trace_events/trace-events-sample.h:631: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/trace_events/trace-events-sample.h:291:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../samples/trace_events/trace-events-sample.c:12: In file included from ../samples/trace_events/trace-events-sample.h:631: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/trace_events/trace-events-sample.h:291:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../samples/trace_events/trace-events-sample.c:12: In file included from ../samples/trace_events/trace-events-sample.h:631: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/trace_events/trace-events-sample.h:291:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../samples/trace_events/trace-events-sample.c:12: In file included from ../samples/trace_events/trace-events-sample.h:631: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/trace_events/trace-events-sample.h:291:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../samples/trace_events/trace-events-sample.c:12: In file included from ../samples/trace_events/trace-events-sample.h:631: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/trace_events/trace-events-sample.h:291:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../samples/trace_events/trace-events-sample.c:12: In file included from ../samples/trace_events/trace-events-sample.h:631: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/trace_events/trace-events-sample.h:408:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 408 | TRACE_EVENT_CONDITION(foo_bar_with_cond, | ^ ../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' 32 | TRACE_EVENT(name, \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../samples/trace_events/trace-events-sample.c:12: In file included from ../samples/trace_events/trace-events-sample.h:631: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/trace_events/trace-events-sample.h:408:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' 32 | TRACE_EVENT(name, \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../samples/trace_events/trace-events-sample.c:12: In file included from ../samples/trace_events/trace-events-sample.h:631: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/trace_events/trace-events-sample.h:408:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' 32 | TRACE_EVENT(name, \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../samples/trace_events/trace-events-sample.c:12: In file included from ../samples/trace_events/trace-events-sample.h:631: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/trace_events/trace-events-sample.h:408:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' 32 | TRACE_EVENT(name, \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../samples/trace_events/trace-events-sample.c:12: In file included from ../samples/trace_events/trace-events-sample.h:631: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/trace_events/trace-events-sample.h:408:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' 32 | TRACE_EVENT(name, \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../samples/trace_events/trace-events-sample.c:12: In file included from ../samples/trace_events/trace-events-sample.h:631: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/trace_events/trace-events-sample.h:408:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' 32 | TRACE_EVENT(name, \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../samples/trace_events/trace-events-sample.c:12: In file included from ../samples/trace_events/trace-events-sample.h:631: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/trace_events/trace-events-sample.h:451:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 451 | TRACE_EVENT_FN(foo_bar_with_fn, | ^ ../include/trace/trace_events.h:92:2: note: expanded from macro 'TRACE_EVENT_FN' 92 | TRACE_EVENT(name, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../samples/trace_events/trace-events-sample.c:12: In file included from ../samples/trace_events/trace-events-sample.h:631: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/trace_events/trace-events-sample.h:451:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:92:2: note: expanded from macro 'TRACE_EVENT_FN' 92 | TRACE_EVENT(name, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../samples/trace_events/trace-events-sample.c:12: In file included from ../samples/trace_events/trace-events-sample.h:631: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/trace_events/trace-events-sample.h:451:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:92:2: note: expanded from macro 'TRACE_EVENT_FN' 92 | TRACE_EVENT(name, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../samples/trace_events/trace-events-sample.c:12: In file included from ../samples/trace_events/trace-events-sample.h:631: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/trace_events/trace-events-sample.h:451:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:92:2: note: expanded from macro 'TRACE_EVENT_FN' 92 | TRACE_EVENT(name, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../samples/trace_events/trace-events-sample.c:12: In file included from ../samples/trace_events/trace-events-sample.h:631: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/trace_events/trace-events-sample.h:451:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:92:2: note: expanded from macro 'TRACE_EVENT_FN' 92 | TRACE_EVENT(name, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../samples/trace_events/trace-events-sample.c:12: In file included from ../samples/trace_events/trace-events-sample.h:631: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/trace_events/trace-events-sample.h:451:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:92:2: note: expanded from macro 'TRACE_EVENT_FN' 92 | TRACE_EVENT(name, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../samples/trace_events/trace-events-sample.c:12: In file included from ../samples/trace_events/trace-events-sample.h:631: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/trace_events/trace-events-sample.h:498:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 498 | DECLARE_EVENT_CLASS(foo_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: samples/trace_events/trace-events-sample.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: samples/trace_events] Error 2 make[3]: *** [../scripts/Makefile.build:485: samples] Error 2 In file included from ../arch/x86/hyperv/mmu.c:15: In file included from ../arch/x86/include/asm/trace/hyperv.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/hyperv.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 11 | TRACE_EVENT(hyperv_mmu_flush_tlb_multi, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/hyperv/mmu.c:15: In file included from ../arch/x86/include/asm/trace/hyperv.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/hyperv.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/hyperv/mmu.c:15: In file included from ../arch/x86/include/asm/trace/hyperv.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/hyperv.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/hyperv/mmu.c:15: In file included from ../arch/x86/include/asm/trace/hyperv.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/hyperv.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/hyperv/mmu.c:15: In file included from ../arch/x86/include/asm/trace/hyperv.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/hyperv.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/hyperv/mmu.c:15: In file included from ../arch/x86/include/asm/trace/hyperv.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/hyperv.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/hyperv/mmu.c:15: In file included from ../arch/x86/include/asm/trace/hyperv.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/hyperv.h:31:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 31 | TRACE_EVENT(hyperv_nested_flush_guest_mapping, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/hyperv/mmu.c:15: In file included from ../arch/x86/include/asm/trace/hyperv.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/hyperv.h:31:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/hyperv/mmu.c:15: In file included from ../arch/x86/include/asm/trace/hyperv.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/hyperv.h:31:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/hyperv/mmu.c:15: In file included from ../arch/x86/include/asm/trace/hyperv.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/hyperv.h:31:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/hyperv/mmu.c:15: In file included from ../arch/x86/include/asm/trace/hyperv.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/hyperv.h:31:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/hyperv/mmu.c:15: In file included from ../arch/x86/include/asm/trace/hyperv.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/hyperv.h:31:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/hyperv/mmu.c:15: In file included from ../arch/x86/include/asm/trace/hyperv.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/hyperv.h:45:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 45 | TRACE_EVENT(hyperv_nested_flush_guest_mapping_range, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/hyperv/mmu.c:15: In file included from ../arch/x86/include/asm/trace/hyperv.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/hyperv.h:45:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/hyperv/mmu.c:15: In file included from ../arch/x86/include/asm/trace/hyperv.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/hyperv.h:45:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/hyperv/mmu.c:15: In file included from ../arch/x86/include/asm/trace/hyperv.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/hyperv.h:45:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/hyperv/mmu.c:15: In file included from ../arch/x86/include/asm/trace/hyperv.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/hyperv.h:45:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/hyperv/mmu.c:15: In file included from ../arch/x86/include/asm/trace/hyperv.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/hyperv.h:45:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/hyperv/mmu.c:15: In file included from ../arch/x86/include/asm/trace/hyperv.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/hyperv.h:59:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 59 | TRACE_EVENT(hyperv_send_ipi_mask, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: arch/x86/hyperv/mmu.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: arch/x86/hyperv] Error 2 In file included from ../drivers/pwm/core.c:27: In file included from ../include/trace/events/pwm.h:58: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/pwm.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 11 | DECLARE_EVENT_CLASS(pwm, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/pwm/core.c:27: In file included from ../include/trace/events/pwm.h:58: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/pwm.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/pwm/core.c:27: In file included from ../include/trace/events/pwm.h:58: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/pwm.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/pwm/core.c:27: In file included from ../include/trace/events/pwm.h:58: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/pwm.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/pwm/core.c:27: In file included from ../include/trace/events/pwm.h:58: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/pwm.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/pwm/core.c:27: In file included from ../include/trace/events/pwm.h:58: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/pwm.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/pwm/core.c:27: In file included from ../include/trace/events/pwm.h:58: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/pwm.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 11 | DECLARE_EVENT_CLASS(pwm, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/pwm/core.c:27: In file included from ../include/trace/events/pwm.h:58: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/pwm.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/pwm/core.c:27: In file included from ../include/trace/events/pwm.h:58: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/pwm.h:11:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/pwm/core.c:27: In file included from ../include/trace/events/pwm.h:58: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/pwm.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/pwm/core.c:27: In file included from ../include/trace/events/pwm.h:58: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/pwm.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/pwm/core.c:27: In file included from ../include/trace/events/pwm.h:58: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/pwm.h:11:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 12 errors generated. make[5]: *** [../scripts/Makefile.build:244: drivers/pwm/core.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: drivers/pwm] Error 2 make[4]: *** Waiting for unfinished jobs.... In file included from ../sound/core/pcm_native.c:32: In file included from ../sound/core/pcm_param_trace.h:143: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_param_trace.h:28:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 28 | TRACE_EVENT(hw_mask_param, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/core/pcm_native.c:32: In file included from ../sound/core/pcm_param_trace.h:143: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_param_trace.h:28:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/core/pcm_native.c:32: In file included from ../sound/core/pcm_param_trace.h:143: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_param_trace.h:28:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/core/pcm_native.c:32: In file included from ../sound/core/pcm_param_trace.h:143: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_param_trace.h:28:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/core/pcm_native.c:32: In file included from ../sound/core/pcm_param_trace.h:143: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_param_trace.h:28:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/core/pcm_native.c:32: In file included from ../sound/core/pcm_param_trace.h:143: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_param_trace.h:28:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/core/pcm_native.c:32: In file included from ../sound/core/pcm_param_trace.h:143: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_param_trace.h:68:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 68 | TRACE_EVENT(hw_interval_param, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/core/pcm_native.c:32: In file included from ../sound/core/pcm_param_trace.h:143: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_param_trace.h:68:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/core/pcm_native.c:32: In file included from ../sound/core/pcm_param_trace.h:143: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_param_trace.h:68:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/core/pcm_native.c:32: In file included from ../sound/core/pcm_param_trace.h:143: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_param_trace.h:68:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/core/pcm_native.c:32: In file included from ../sound/core/pcm_param_trace.h:143: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_param_trace.h:68:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/core/pcm_native.c:32: In file included from ../sound/core/pcm_param_trace.h:143: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_param_trace.h:68:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/core/pcm_native.c:32: In file included from ../sound/core/pcm_param_trace.h:143: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../sound/core/pcm_param_trace.h:28:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 28 | TRACE_EVENT(hw_mask_param, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../sound/core/pcm_native.c:32: In file included from ../sound/core/pcm_param_trace.h:143: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../sound/core/pcm_param_trace.h:28:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../sound/core/pcm_native.c:32: In file included from ../sound/core/pcm_param_trace.h:143: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../sound/core/pcm_param_trace.h:28:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../sound/core/pcm_native.c:32: In file included from ../sound/core/pcm_param_trace.h:143: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../sound/core/pcm_param_trace.h:28:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../sound/core/pcm_native.c:32: In file included from ../sound/core/pcm_param_trace.h:143: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../sound/core/pcm_param_trace.h:28:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../sound/core/pcm_native.c:32: In file included from ../sound/core/pcm_param_trace.h:143: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../sound/core/pcm_param_trace.h:28:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../sound/core/pcm_native.c:32: In file included from ../sound/core/pcm_param_trace.h:143: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../sound/core/pcm_param_trace.h:68:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 68 | TRACE_EVENT(hw_interval_param, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: sound/core/pcm_native.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../arch/x86/mm/fault.c:42: In file included from ../arch/x86/include/asm/trace/exceptions.h:54: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/exceptions.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | DECLARE_EVENT_CLASS(x86_exceptions, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/mm/fault.c:42: In file included from ../arch/x86/include/asm/trace/exceptions.h:54: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/exceptions.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/mm/fault.c:42: In file included from ../arch/x86/include/asm/trace/exceptions.h:54: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/exceptions.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/mm/fault.c:42: In file included from ../arch/x86/include/asm/trace/exceptions.h:54: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/exceptions.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/mm/fault.c:42: In file included from ../arch/x86/include/asm/trace/exceptions.h:54: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/exceptions.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/mm/fault.c:42: In file included from ../arch/x86/include/asm/trace/exceptions.h:54: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/exceptions.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/mm/fault.c:42: In file included from ../arch/x86/include/asm/trace/exceptions.h:54: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../arch/x86/include/asm/trace/exceptions.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | DECLARE_EVENT_CLASS(x86_exceptions, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../arch/x86/mm/fault.c:42: In file included from ../arch/x86/include/asm/trace/exceptions.h:54: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../arch/x86/include/asm/trace/exceptions.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../arch/x86/mm/fault.c:42: In file included from ../arch/x86/include/asm/trace/exceptions.h:54: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../arch/x86/include/asm/trace/exceptions.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../arch/x86/mm/fault.c:42: In file included from ../arch/x86/include/asm/trace/exceptions.h:54: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../arch/x86/include/asm/trace/exceptions.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../arch/x86/mm/fault.c:42: In file included from ../arch/x86/include/asm/trace/exceptions.h:54: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../arch/x86/include/asm/trace/exceptions.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../arch/x86/mm/fault.c:42: In file included from ../arch/x86/include/asm/trace/exceptions.h:54: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../arch/x86/include/asm/trace/exceptions.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 12 errors generated. make[5]: *** [../scripts/Makefile.build:244: arch/x86/mm/fault.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: arch/x86/mm] Error 2 In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 11 | TRACE_EVENT(hwptr, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:50:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 50 | TRACE_EVENT(xrun, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:50:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:83:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 83 | TRACE_EVENT(hw_ptr_error, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:83:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:83:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:83:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:83:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:83:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:106:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 106 | TRACE_EVENT(applptr, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: sound/core/pcm_lib.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: sound/core] Error 2 make[4]: *** Waiting for unfinished jobs.... In file included from ../drivers/dma-buf/dma-fence.c:21: In file included from ../include/trace/events/dma_fence.h:89: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/dma_fence.h:12:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 12 | DECLARE_EVENT_CLASS(dma_fence, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma-buf/dma-fence.c:21: In file included from ../include/trace/events/dma_fence.h:89: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma-buf/dma-fence.c:21: In file included from ../include/trace/events/dma_fence.h:89: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma-buf/dma-fence.c:21: In file included from ../include/trace/events/dma_fence.h:89: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/dma_fence.h:12:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma-buf/dma-fence.c:21: In file included from ../include/trace/events/dma_fence.h:89: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma-buf/dma-fence.c:21: In file included from ../include/trace/events/dma_fence.h:89: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma-buf/dma-fence.c:21: In file included from ../include/trace/events/dma_fence.h:89: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/dma_fence.h:12:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 12 | DECLARE_EVENT_CLASS(dma_fence, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/dma-buf/dma-fence.c:21: In file included from ../include/trace/events/dma_fence.h:89: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/dma-buf/dma-fence.c:21: In file included from ../include/trace/events/dma_fence.h:89: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/dma-buf/dma-fence.c:21: In file included from ../include/trace/events/dma_fence.h:89: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/dma_fence.h:12:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/dma-buf/dma-fence.c:21: In file included from ../include/trace/events/dma_fence.h:89: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/dma-buf/dma-fence.c:21: In file included from ../include/trace/events/dma_fence.h:89: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 12 errors generated. make[5]: *** [../scripts/Makefile.build:244: drivers/dma-buf/dma-fence.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../sound/hda/trace.c:6: In file included from ../sound/hda/trace.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/hda/trace.h:19:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 19 | TRACE_EVENT(hda_send_cmd, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/hda/trace.c:6: In file included from ../sound/hda/trace.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/hda/trace.h:19:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/hda/trace.c:6: In file included from ../sound/hda/trace.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/hda/trace.h:19:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/hda/trace.c:6: In file included from ../sound/hda/trace.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/hda/trace.h:19:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/hda/trace.c:6: In file included from ../sound/hda/trace.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/hda/trace.h:19:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/hda/trace.c:6: In file included from ../sound/hda/trace.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/hda/trace.h:19:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/hda/trace.c:6: In file included from ../sound/hda/trace.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/hda/trace.h:33:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 33 | TRACE_EVENT(hda_get_response, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/hda/trace.c:6: In file included from ../sound/hda/trace.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/hda/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/hda/trace.c:6: In file included from ../sound/hda/trace.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/hda/trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/hda/trace.c:6: In file included from ../sound/hda/trace.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/hda/trace.h:33:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/hda/trace.c:6: In file included from ../sound/hda/trace.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/hda/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/hda/trace.c:6: In file included from ../sound/hda/trace.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/hda/trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/hda/trace.c:6: In file included from ../sound/hda/trace.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/hda/trace.h:49:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 49 | TRACE_EVENT(hda_unsol_event, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/hda/trace.c:6: In file included from ../sound/hda/trace.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/hda/trace.h:49:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/hda/trace.c:6: In file included from ../sound/hda/trace.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/hda/trace.h:49:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/hda/trace.c:6: In file included from ../sound/hda/trace.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/hda/trace.h:49:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/hda/trace.c:6: In file included from ../sound/hda/trace.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/hda/trace.h:49:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/hda/trace.c:6: In file included from ../sound/hda/trace.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/hda/trace.h:49:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/hda/trace.c:6: In file included from ../sound/hda/trace.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/hda/trace.h:66:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 66 | DECLARE_EVENT_CLASS(hdac_stream, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: sound/hda/trace.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: sound/hda] Error 2 In file included from ../arch/x86/xen/trace.c:21: In file included from ../include/trace/events/xen.h:459: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/xen.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 15 | DECLARE_EVENT_CLASS(xen_mc__batch, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/xen/trace.c:21: In file included from ../include/trace/events/xen.h:459: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/xen.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/xen/trace.c:21: In file included from ../include/trace/events/xen.h:459: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/xen.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/xen/trace.c:21: In file included from ../include/trace/events/xen.h:459: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/xen.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/xen/trace.c:21: In file included from ../include/trace/events/xen.h:459: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/xen.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/xen/trace.c:21: In file included from ../include/trace/events/xen.h:459: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/xen.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/xen/trace.c:21: In file included from ../include/trace/events/xen.h:459: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/xen.h:36:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 36 | TRACE_EVENT(xen_mc_entry, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/xen/trace.c:21: In file included from ../include/trace/events/xen.h:459: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/xen.h:36:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/xen/trace.c:21: In file included from ../include/trace/events/xen.h:459: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/xen.h:36:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/xen/trace.c:21: In file included from ../include/trace/events/xen.h:459: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/xen.h:36:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/xen/trace.c:21: In file included from ../include/trace/events/xen.h:459: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/xen.h:36:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/xen/trace.c:21: In file included from ../include/trace/events/xen.h:459: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/xen.h:36:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/xen/trace.c:21: In file included from ../include/trace/events/xen.h:459: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/xen.h:55:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 55 | TRACE_EVENT(xen_mc_entry_alloc, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/xen/trace.c:21: In file included from ../include/trace/events/xen.h:459: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/xen.h:55:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/xen/trace.c:21: In file included from ../include/trace/events/xen.h:459: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/xen.h:55:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/xen/trace.c:21: In file included from ../include/trace/events/xen.h:459: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/xen.h:55:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/xen/trace.c:21: In file included from ../include/trace/events/xen.h:459: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/xen.h:55:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/xen/trace.c:21: In file included from ../include/trace/events/xen.h:459: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/xen.h:55:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/xen/trace.c:21: In file included from ../include/trace/events/xen.h:459: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/xen.h:65:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 65 | TRACE_EVENT(xen_mc_callback, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: arch/x86/xen/trace.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: arch/x86/xen] Error 2 In file included from ../drivers/bus/mhi/host/init.c:24: In file included from ../drivers/bus/mhi/host/trace.h:282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/bus/mhi/host/trace.h:89:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 89 | TRACE_EVENT(mhi_gen_tre, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/bus/mhi/host/init.c:24: In file included from ../drivers/bus/mhi/host/trace.h:282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/bus/mhi/host/trace.h:89:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/bus/mhi/host/init.c:24: In file included from ../drivers/bus/mhi/host/trace.h:282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/bus/mhi/host/trace.h:89:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/bus/mhi/host/init.c:24: In file included from ../drivers/bus/mhi/host/trace.h:282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/bus/mhi/host/trace.h:89:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/bus/mhi/host/init.c:24: In file included from ../drivers/bus/mhi/host/trace.h:282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/bus/mhi/host/trace.h:89:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/bus/mhi/host/init.c:24: In file included from ../drivers/bus/mhi/host/trace.h:282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/bus/mhi/host/trace.h:89:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/bus/mhi/host/init.c:24: In file included from ../drivers/bus/mhi/host/trace.h:282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/bus/mhi/host/trace.h:119:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 119 | TRACE_EVENT(mhi_intvec_states, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/bus/mhi/host/init.c:24: In file included from ../drivers/bus/mhi/host/trace.h:282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/bus/mhi/host/trace.h:119:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/bus/mhi/host/init.c:24: In file included from ../drivers/bus/mhi/host/trace.h:282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/bus/mhi/host/trace.h:119:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/bus/mhi/host/init.c:24: In file included from ../drivers/bus/mhi/host/trace.h:282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/bus/mhi/host/trace.h:119:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/bus/mhi/host/init.c:24: In file included from ../drivers/bus/mhi/host/trace.h:282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/bus/mhi/host/trace.h:119:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/bus/mhi/host/init.c:24: In file included from ../drivers/bus/mhi/host/trace.h:282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/bus/mhi/host/trace.h:119:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/bus/mhi/host/init.c:24: In file included from ../drivers/bus/mhi/host/trace.h:282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/bus/mhi/host/trace.h:149:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 149 | TRACE_EVENT(mhi_tryset_pm_state, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/bus/mhi/host/init.c:24: In file included from ../drivers/bus/mhi/host/trace.h:282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/bus/mhi/host/trace.h:149:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/bus/mhi/host/init.c:24: In file included from ../drivers/bus/mhi/host/trace.h:282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/bus/mhi/host/trace.h:149:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/bus/mhi/host/init.c:24: In file included from ../drivers/bus/mhi/host/trace.h:282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/bus/mhi/host/trace.h:149:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/bus/mhi/host/init.c:24: In file included from ../drivers/bus/mhi/host/trace.h:282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/bus/mhi/host/trace.h:149:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/bus/mhi/host/init.c:24: In file included from ../drivers/bus/mhi/host/trace.h:282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/bus/mhi/host/trace.h:149:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/bus/mhi/host/init.c:24: In file included from ../drivers/bus/mhi/host/trace.h:282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/bus/mhi/host/trace.h:171:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 171 | DECLARE_EVENT_CLASS(mhi_process_event_ring, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[7]: *** [../scripts/Makefile.build:244: drivers/bus/mhi/host/init.o] Error 1 In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: In file included from ../include/trace/events/gpu_mem.h:57: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/gpu_mem.h:30:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 30 | TRACE_EVENT(gpu_mem_total, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: In file included from ../include/trace/events/gpu_mem.h:57: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/gpu_mem.h:30:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: In file included from ../include/trace/events/gpu_mem.h:57: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/gpu_mem.h:30:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: In file included from ../include/trace/events/gpu_mem.h:57: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/gpu_mem.h:30:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: In file included from ../include/trace/events/gpu_mem.h:57: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/gpu_mem.h:30:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: In file included from ../include/trace/events/gpu_mem.h:57: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/gpu_mem.h:30:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: In file included from ../include/trace/events/gpu_mem.h:57: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/gpu_mem.h:30:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 30 | TRACE_EVENT(gpu_mem_total, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: In file included from ../include/trace/events/gpu_mem.h:57: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/gpu_mem.h:30:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: In file included from ../include/trace/events/gpu_mem.h:57: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/gpu_mem.h:30:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: In file included from ../include/trace/events/gpu_mem.h:57: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/gpu_mem.h:30:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: In file included from ../include/trace/events/gpu_mem.h:57: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/gpu_mem.h:30:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: In file included from ../include/trace/events/gpu_mem.h:57: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/gpu_mem.h:30:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 12 errors generated. make[6]: *** [../scripts/Makefile.build:244: drivers/gpu/trace/trace_gpu_mem.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: drivers/gpu/trace] Error 2 make[5]: *** Waiting for unfinished jobs.... make[6]: *** [../scripts/Makefile.build:485: drivers/bus/mhi/host] Error 2 make[5]: *** [../scripts/Makefile.build:485: drivers/bus/mhi] Error 2 make[4]: *** [../scripts/Makefile.build:485: drivers/bus] Error 2 In file included from ../sound/firewire/motu/amdtp-motu.c:13: In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 21 | TRACE_EVENT(data_block_sph, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/firewire/motu/amdtp-motu.c:13: In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/firewire/motu/amdtp-motu.c:13: In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/firewire/motu/amdtp-motu.c:13: In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/firewire/motu/amdtp-motu.c:13: In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/firewire/motu/amdtp-motu.c:13: In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/firewire/motu/amdtp-motu.c:13: In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/firewire/motu/amdtp-motu-trace.h:50:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 50 | TRACE_EVENT(data_block_message, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/firewire/motu/amdtp-motu.c:13: In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/firewire/motu/amdtp-motu-trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/firewire/motu/amdtp-motu.c:13: In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/firewire/motu/amdtp-motu-trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/firewire/motu/amdtp-motu.c:13: In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/firewire/motu/amdtp-motu-trace.h:50:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/firewire/motu/amdtp-motu.c:13: In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/firewire/motu/amdtp-motu-trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/firewire/motu/amdtp-motu.c:13: In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/firewire/motu/amdtp-motu-trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/firewire/motu/amdtp-motu.c:13: In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 21 | TRACE_EVENT(data_block_sph, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../sound/firewire/motu/amdtp-motu.c:13: In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../sound/firewire/motu/amdtp-motu.c:13: In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../sound/firewire/motu/amdtp-motu.c:13: In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../sound/firewire/motu/amdtp-motu.c:13: In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../sound/firewire/motu/amdtp-motu.c:13: In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../sound/firewire/motu/amdtp-motu.c:13: In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../sound/firewire/motu/amdtp-motu-trace.h:50:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 50 | TRACE_EVENT(data_block_message, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[6]: *** [../scripts/Makefile.build:244: sound/firewire/motu/amdtp-motu.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: sound/firewire/motu] Error 2 make[4]: *** [../scripts/Makefile.build:485: sound/firewire] Error 2 In file included from ../init/main.c:113: In file included from ../include/trace/events/initcall.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/initcall.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | TRACE_EVENT(initcall_level, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../init/main.c:113: In file included from ../include/trace/events/initcall.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/initcall.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../init/main.c:113: In file included from ../include/trace/events/initcall.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/initcall.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../init/main.c:113: In file included from ../include/trace/events/initcall.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/initcall.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../init/main.c:113: In file included from ../include/trace/events/initcall.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/initcall.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../init/main.c:113: In file included from ../include/trace/events/initcall.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/initcall.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../init/main.c:113: In file included from ../include/trace/events/initcall.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/initcall.h:27:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 27 | TRACE_EVENT(initcall_start, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../init/main.c:113: In file included from ../include/trace/events/initcall.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/initcall.h:27:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../init/main.c:113: In file included from ../include/trace/events/initcall.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/initcall.h:27:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../init/main.c:113: In file included from ../include/trace/events/initcall.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/initcall.h:27:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../init/main.c:113: In file included from ../include/trace/events/initcall.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/initcall.h:27:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../init/main.c:113: In file included from ../include/trace/events/initcall.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/initcall.h:27:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../init/main.c:113: In file included from ../include/trace/events/initcall.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/initcall.h:48:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 48 | TRACE_EVENT(initcall_finish, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../init/main.c:113: In file included from ../include/trace/events/initcall.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/initcall.h:48:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../init/main.c:113: In file included from ../include/trace/events/initcall.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/initcall.h:48:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../init/main.c:113: In file included from ../include/trace/events/initcall.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/initcall.h:48:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../init/main.c:113: In file included from ../include/trace/events/initcall.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/initcall.h:48:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../init/main.c:113: In file included from ../include/trace/events/initcall.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/initcall.h:48:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../init/main.c:113: In file included from ../include/trace/events/initcall.h:74: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/initcall.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | TRACE_EVENT(initcall_level, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[4]: *** [../scripts/Makefile.build:244: init/main.o] Error 1 make[3]: *** [../scripts/Makefile.build:485: init] Error 2 In file included from ../block/blk-core.c:45: In file included from ../include/trace/events/block.h:609: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/block.h:24:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 24 | DECLARE_EVENT_CLASS(block_buffer, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../block/blk-core.c:45: In file included from ../include/trace/events/block.h:609: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/block.h:24:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../block/blk-core.c:45: In file included from ../include/trace/events/block.h:609: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/block.h:24:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../block/blk-core.c:45: In file included from ../include/trace/events/block.h:609: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/block.h:24:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../block/blk-core.c:45: In file included from ../include/trace/events/block.h:609: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/block.h:24:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../block/blk-core.c:45: In file included from ../include/trace/events/block.h:609: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/block.h:24:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../block/blk-core.c:45: In file included from ../include/trace/events/block.h:609: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/block.h:83:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 83 | TRACE_EVENT(block_rq_requeue, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../block/blk-core.c:45: In file included from ../include/trace/events/block.h:609: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/block.h:83:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../block/blk-core.c:45: In file included from ../include/trace/events/block.h:609: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/block.h:83:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../block/blk-core.c:45: In file included from ../include/trace/events/block.h:609: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/block.h:83:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../block/blk-core.c:45: In file included from ../include/trace/events/block.h:609: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/block.h:83:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../block/blk-core.c:45: In file included from ../include/trace/events/block.h:609: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/block.h:83:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../block/blk-core.c:45: In file included from ../include/trace/events/block.h:609: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/block.h:118:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 118 | DECLARE_EVENT_CLASS(block_rq_completion, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../block/blk-core.c:45: In file included from ../include/trace/events/block.h:609: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/block.h:118:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../block/blk-core.c:45: In file included from ../include/trace/events/block.h:609: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/block.h:118:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../block/blk-core.c:45: In file included from ../include/trace/events/block.h:609: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/block.h:118:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../block/blk-core.c:45: In file included from ../include/trace/events/block.h:609: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/block.h:118:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../block/blk-core.c:45: In file included from ../include/trace/events/block.h:609: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/block.h:118:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../block/blk-core.c:45: In file included from ../include/trace/events/block.h:609: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/block.h:190:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 190 | DECLARE_EVENT_CLASS(block_rq, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[4]: *** [../scripts/Makefile.build:244: block/blk-core.o] Error 1 make[3]: *** [../scripts/Makefile.build:485: block] Error 2 In file included from ../net/netlink/af_netlink.c:72: In file included from ../include/trace/events/netlink.h:29: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/netlink.h:9:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 9 | TRACE_EVENT(netlink_extack, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/netlink/af_netlink.c:72: In file included from ../include/trace/events/netlink.h:29: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/netlink.h:9:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/netlink/af_netlink.c:72: In file included from ../include/trace/events/netlink.h:29: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/netlink.h:9:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/netlink/af_netlink.c:72: In file included from ../include/trace/events/netlink.h:29: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/netlink.h:9:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/netlink/af_netlink.c:72: In file included from ../include/trace/events/netlink.h:29: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/netlink.h:9:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/netlink/af_netlink.c:72: In file included from ../include/trace/events/netlink.h:29: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/netlink.h:9:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/netlink/af_netlink.c:72: In file included from ../include/trace/events/netlink.h:29: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/netlink.h:9:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 9 | TRACE_EVENT(netlink_extack, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../net/netlink/af_netlink.c:72: In file included from ../include/trace/events/netlink.h:29: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/netlink.h:9:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../net/netlink/af_netlink.c:72: In file included from ../include/trace/events/netlink.h:29: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/netlink.h:9:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../net/netlink/af_netlink.c:72: In file included from ../include/trace/events/netlink.h:29: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/netlink.h:9:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../net/netlink/af_netlink.c:72: In file included from ../include/trace/events/netlink.h:29: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/netlink.h:9:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../net/netlink/af_netlink.c:72: In file included from ../include/trace/events/netlink.h:29: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/netlink.h:9:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 12 errors generated. make[5]: *** [../scripts/Makefile.build:244: net/netlink/af_netlink.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: net/netlink] Error 2 make[4]: *** Waiting for unfinished jobs.... In file included from ../sound/soc/soc-core.c:45: In file included from ../include/trace/events/asoc.h:279: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/asoc.h:22:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 22 | DECLARE_EVENT_CLASS(snd_soc_dapm, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/soc/soc-core.c:45: In file included from ../include/trace/events/asoc.h:279: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/asoc.h:22:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/soc/soc-core.c:45: In file included from ../include/trace/events/asoc.h:279: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/asoc.h:22:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/soc/soc-core.c:45: In file included from ../include/trace/events/asoc.h:279: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/asoc.h:22:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/soc/soc-core.c:45: In file included from ../include/trace/events/asoc.h:279: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/asoc.h:22:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/soc/soc-core.c:45: In file included from ../include/trace/events/asoc.h:279: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/asoc.h:22:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/soc/soc-core.c:45: In file included from ../include/trace/events/asoc.h:279: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/asoc.h:60:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 60 | DECLARE_EVENT_CLASS(snd_soc_dapm_basic, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/soc/soc-core.c:45: In file included from ../include/trace/events/asoc.h:279: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/asoc.h:60:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/soc/soc-core.c:45: In file included from ../include/trace/events/asoc.h:279: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/asoc.h:60:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/soc/soc-core.c:45: In file included from ../include/trace/events/asoc.h:279: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/asoc.h:60:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/soc/soc-core.c:45: In file included from ../include/trace/events/asoc.h:279: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/asoc.h:60:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/soc/soc-core.c:45: In file included from ../include/trace/events/asoc.h:279: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/asoc.h:60:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/soc/soc-core.c:45: In file included from ../include/trace/events/asoc.h:279: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/asoc.h:95:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 95 | DECLARE_EVENT_CLASS(snd_soc_dapm_widget, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/soc/soc-core.c:45: In file included from ../include/trace/events/asoc.h:279: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/asoc.h:95:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/soc/soc-core.c:45: In file included from ../include/trace/events/asoc.h:279: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/asoc.h:95:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/soc/soc-core.c:45: In file included from ../include/trace/events/asoc.h:279: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/asoc.h:95:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/soc/soc-core.c:45: In file included from ../include/trace/events/asoc.h:279: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/asoc.h:95:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/soc/soc-core.c:45: In file included from ../include/trace/events/asoc.h:279: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/asoc.h:95:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/soc/soc-core.c:45: In file included from ../include/trace/events/asoc.h:279: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/asoc.h:139:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 139 | TRACE_EVENT(snd_soc_dapm_walk_done, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: sound/soc/soc-core.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../security/selinux/avc.c:35: In file included from ../include/trace/events/avc.h:53: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/avc.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | TRACE_EVENT(selinux_audited, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../security/selinux/avc.c:35: In file included from ../include/trace/events/avc.h:53: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../security/selinux/avc.c:35: In file included from ../include/trace/events/avc.h:53: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../security/selinux/avc.c:35: In file included from ../include/trace/events/avc.h:53: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/avc.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../security/selinux/avc.c:35: In file included from ../include/trace/events/avc.h:53: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../security/selinux/avc.c:35: In file included from ../include/trace/events/avc.h:53: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../security/selinux/avc.c:35: In file included from ../include/trace/events/avc.h:53: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/avc.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | TRACE_EVENT(selinux_audited, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../security/selinux/avc.c:35: In file included from ../include/trace/events/avc.h:53: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../security/selinux/avc.c:35: In file included from ../include/trace/events/avc.h:53: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../security/selinux/avc.c:35: In file included from ../include/trace/events/avc.h:53: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/avc.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../security/selinux/avc.c:35: In file included from ../include/trace/events/avc.h:53: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../security/selinux/avc.c:35: In file included from ../include/trace/events/avc.h:53: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 12 errors generated. make[5]: *** [../scripts/Makefile.build:244: security/selinux/avc.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: security/selinux] Error 2 make[3]: *** [../scripts/Makefile.build:485: security] Error 2 In file included from ../drivers/clk/clk.c:100: In file included from ../include/trace/events/clk.h:313: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/clk.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 15 | DECLARE_EVENT_CLASS(clk, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/clk/clk.c:100: In file included from ../include/trace/events/clk.h:313: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/clk.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/clk/clk.c:100: In file included from ../include/trace/events/clk.h:313: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/clk.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/clk/clk.c:100: In file included from ../include/trace/events/clk.h:313: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/clk.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/clk/clk.c:100: In file included from ../include/trace/events/clk.h:313: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/clk.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/clk/clk.c:100: In file included from ../include/trace/events/clk.h:313: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/clk.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/clk/clk.c:100: In file included from ../include/trace/events/clk.h:313: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/clk.h:88:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 88 | DECLARE_EVENT_CLASS(clk_rate, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/clk/clk.c:100: In file included from ../include/trace/events/clk.h:313: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/clk.h:88:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/clk/clk.c:100: In file included from ../include/trace/events/clk.h:313: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/clk.h:88:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/clk/clk.c:100: In file included from ../include/trace/events/clk.h:313: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/clk.h:88:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/clk/clk.c:100: In file included from ../include/trace/events/clk.h:313: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/clk.h:88:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/clk/clk.c:100: In file included from ../include/trace/events/clk.h:313: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/clk.h:88:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/clk/clk.c:100: In file included from ../include/trace/events/clk.h:313: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/clk.h:135:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 135 | DECLARE_EVENT_CLASS(clk_rate_range, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/clk/clk.c:100: In file included from ../include/trace/events/clk.h:313: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/clk.h:135:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/clk/clk.c:100: In file included from ../include/trace/events/clk.h:313: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/clk.h:135:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/clk/clk.c:100: In file included from ../include/trace/events/clk.h:313: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/clk.h:135:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/clk/clk.c:100: In file included from ../include/trace/events/clk.h:313: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/clk.h:135:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/clk/clk.c:100: In file included from ../include/trace/events/clk.h:313: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/clk.h:135:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/clk/clk.c:100: In file included from ../include/trace/events/clk.h:313: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/clk.h:165:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 165 | DECLARE_EVENT_CLASS(clk_parent, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: drivers/clk/clk.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: drivers/clk] Error 2 In file included from ../arch/x86/kernel/nmi.c:41: In file included from ../include/trace/events/nmi.h:38: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/nmi.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 11 | TRACE_EVENT(nmi_handler, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kernel/nmi.c:41: In file included from ../include/trace/events/nmi.h:38: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/nmi.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kernel/nmi.c:41: In file included from ../include/trace/events/nmi.h:38: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/nmi.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kernel/nmi.c:41: In file included from ../include/trace/events/nmi.h:38: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/nmi.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kernel/nmi.c:41: In file included from ../include/trace/events/nmi.h:38: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/nmi.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kernel/nmi.c:41: In file included from ../include/trace/events/nmi.h:38: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/nmi.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kernel/nmi.c:41: In file included from ../include/trace/events/nmi.h:38: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/nmi.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 11 | TRACE_EVENT(nmi_handler, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../arch/x86/kernel/nmi.c:41: In file included from ../include/trace/events/nmi.h:38: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/nmi.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../arch/x86/kernel/nmi.c:41: In file included from ../include/trace/events/nmi.h:38: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/nmi.h:11:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../arch/x86/kernel/nmi.c:41: In file included from ../include/trace/events/nmi.h:38: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/nmi.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../arch/x86/kernel/nmi.c:41: In file included from ../include/trace/events/nmi.h:38: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/nmi.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../arch/x86/kernel/nmi.c:41: In file included from ../include/trace/events/nmi.h:38: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/nmi.h:11:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 12 errors generated. make[5]: *** [../scripts/Makefile.build:244: arch/x86/kernel/nmi.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../drivers/gpu/host1x/dev.c:23: In file included from ../include/trace/events/host1x.h:267: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/host1x.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 21 | DECLARE_EVENT_CLASS(host1x, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/host1x/dev.c:23: In file included from ../include/trace/events/host1x.h:267: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/host1x.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/host1x/dev.c:23: In file included from ../include/trace/events/host1x.h:267: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/host1x.h:21:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/host1x/dev.c:23: In file included from ../include/trace/events/host1x.h:267: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/host1x.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/host1x/dev.c:23: In file included from ../include/trace/events/host1x.h:267: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/host1x.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/host1x/dev.c:23: In file included from ../include/trace/events/host1x.h:267: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/host1x.h:21:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/host1x/dev.c:23: In file included from ../include/trace/events/host1x.h:267: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/host1x.h:49:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 49 | TRACE_EVENT(host1x_cdma_push, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/host1x/dev.c:23: In file included from ../include/trace/events/host1x.h:267: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/host1x.h:49:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/host1x/dev.c:23: In file included from ../include/trace/events/host1x.h:267: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/host1x.h:49:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/host1x/dev.c:23: In file included from ../include/trace/events/host1x.h:267: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/host1x.h:49:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/host1x/dev.c:23: In file included from ../include/trace/events/host1x.h:267: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/host1x.h:49:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/host1x/dev.c:23: In file included from ../include/trace/events/host1x.h:267: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/host1x.h:49:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/host1x/dev.c:23: In file included from ../include/trace/events/host1x.h:267: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/host1x.h:70:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 70 | TRACE_EVENT(host1x_cdma_push_wide, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/host1x/dev.c:23: In file included from ../include/trace/events/host1x.h:267: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/host1x.h:70:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/host1x/dev.c:23: In file included from ../include/trace/events/host1x.h:267: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/host1x.h:70:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/host1x/dev.c:23: In file included from ../include/trace/events/host1x.h:267: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/host1x.h:70:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/host1x/dev.c:23: In file included from ../include/trace/events/host1x.h:267: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/host1x.h:70:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/host1x/dev.c:23: In file included from ../include/trace/events/host1x.h:267: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/host1x.h:70:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/host1x/dev.c:23: In file included from ../include/trace/events/host1x.h:267: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/host1x.h:96:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 96 | TRACE_EVENT(host1x_cdma_push_gather, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[6]: *** [../scripts/Makefile.build:244: drivers/gpu/host1x/dev.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: drivers/gpu/host1x] Error 2 In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-aoss.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | TRACE_EVENT(aoss_send, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-aoss.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-aoss.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-aoss.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-aoss.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-aoss.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-aoss.h:26:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 26 | TRACE_EVENT(aoss_send_done, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-aoss.h:26:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-aoss.h:26:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-aoss.h:26:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-aoss.h:26:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-aoss.h:26:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/soc/qcom/trace-aoss.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | TRACE_EVENT(aoss_send, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/soc/qcom/trace-aoss.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/soc/qcom/trace-aoss.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/soc/qcom/trace-aoss.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/soc/qcom/trace-aoss.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/soc/qcom/trace-aoss.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/soc/qcom/trace-aoss.h:26:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 26 | TRACE_EVENT(aoss_send_done, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[6]: *** [../scripts/Makefile.build:244: drivers/soc/qcom/qcom_aoss.o] Error 1 make[6]: *** Waiting for unfinished jobs.... In file included from ../kernel/softirq.c:35: In file included from ../include/trace/events/irq.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq.h:53:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 53 | TRACE_EVENT(irq_handler_entry, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/softirq.c:35: In file included from ../include/trace/events/irq.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq.h:53:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/softirq.c:35: In file included from ../include/trace/events/irq.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq.h:53:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/softirq.c:35: In file included from ../include/trace/events/irq.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq.h:53:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/softirq.c:35: In file included from ../include/trace/events/irq.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq.h:53:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/softirq.c:35: In file included from ../include/trace/events/irq.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq.h:53:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/softirq.c:35: In file included from ../include/trace/events/irq.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq.h:83:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 83 | TRACE_EVENT(irq_handler_exit, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/softirq.c:35: In file included from ../include/trace/events/irq.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq.h:83:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/softirq.c:35: In file included from ../include/trace/events/irq.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq.h:83:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/softirq.c:35: In file included from ../include/trace/events/irq.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq.h:83:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/softirq.c:35: In file included from ../include/trace/events/irq.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq.h:83:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/softirq.c:35: In file included from ../include/trace/events/irq.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq.h:83:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/softirq.c:35: In file included from ../include/trace/events/irq.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq.h:103:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 103 | DECLARE_EVENT_CLASS(softirq, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/softirq.c:35: In file included from ../include/trace/events/irq.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq.h:103:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/softirq.c:35: In file included from ../include/trace/events/irq.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq.h:103:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/softirq.c:35: In file included from ../include/trace/events/irq.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq.h:103:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/softirq.c:35: In file included from ../include/trace/events/irq.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq.h:103:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/softirq.c:35: In file included from ../include/trace/events/irq.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq.h:103:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/softirq.c:35: In file included from ../include/trace/events/irq.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq.h:163:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 163 | DECLARE_EVENT_CLASS(tasklet, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[4]: *** [../scripts/Makefile.build:244: kernel/softirq.o] Error 1 make[4]: *** Waiting for unfinished jobs.... In file included from ../drivers/dma/fsl-edma-trace.c:4: In file included from ../drivers/dma/fsl-edma-common.h:342: In file included from ../drivers/dma/fsl-edma-trace.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/dma/fsl-edma-trace.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 15 | DECLARE_EVENT_CLASS(edma_log_io, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma/fsl-edma-trace.c:4: In file included from ../drivers/dma/fsl-edma-common.h:342: In file included from ../drivers/dma/fsl-edma-trace.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/dma/fsl-edma-trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma/fsl-edma-trace.c:4: In file included from ../drivers/dma/fsl-edma-common.h:342: In file included from ../drivers/dma/fsl-edma-trace.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/dma/fsl-edma-trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma/fsl-edma-trace.c:4: In file included from ../drivers/dma/fsl-edma-common.h:342: In file included from ../drivers/dma/fsl-edma-trace.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/dma/fsl-edma-trace.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma/fsl-edma-trace.c:4: In file included from ../drivers/dma/fsl-edma-common.h:342: In file included from ../drivers/dma/fsl-edma-trace.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/dma/fsl-edma-trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma/fsl-edma-trace.c:4: In file included from ../drivers/dma/fsl-edma-common.h:342: In file included from ../drivers/dma/fsl-edma-trace.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/dma/fsl-edma-trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma/fsl-edma-trace.c:4: In file included from ../drivers/dma/fsl-edma-common.h:342: In file included from ../drivers/dma/fsl-edma-trace.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/dma/fsl-edma-trace.h:62:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 62 | DECLARE_EVENT_CLASS(edma_log_tcd, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma/fsl-edma-trace.c:4: In file included from ../drivers/dma/fsl-edma-common.h:342: In file included from ../drivers/dma/fsl-edma-trace.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/dma/fsl-edma-trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma/fsl-edma-trace.c:4: In file included from ../drivers/dma/fsl-edma-common.h:342: In file included from ../drivers/dma/fsl-edma-trace.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/dma/fsl-edma-trace.h:62:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma/fsl-edma-trace.c:4: In file included from ../drivers/dma/fsl-edma-common.h:342: In file included from ../drivers/dma/fsl-edma-trace.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/dma/fsl-edma-trace.h:62:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma/fsl-edma-trace.c:4: In file included from ../drivers/dma/fsl-edma-common.h:342: In file included from ../drivers/dma/fsl-edma-trace.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/dma/fsl-edma-trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma/fsl-edma-trace.c:4: In file included from ../drivers/dma/fsl-edma-common.h:342: In file included from ../drivers/dma/fsl-edma-trace.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/dma/fsl-edma-trace.h:62:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma/fsl-edma-trace.c:4: In file included from ../drivers/dma/fsl-edma-common.h:342: In file included from ../drivers/dma/fsl-edma-trace.h:132: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/dma/fsl-edma-trace.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 15 | DECLARE_EVENT_CLASS(edma_log_io, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/dma/fsl-edma-trace.c:4: In file included from ../drivers/dma/fsl-edma-common.h:342: In file included from ../drivers/dma/fsl-edma-trace.h:132: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/dma/fsl-edma-trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/dma/fsl-edma-trace.c:4: In file included from ../drivers/dma/fsl-edma-common.h:342: In file included from ../drivers/dma/fsl-edma-trace.h:132: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/dma/fsl-edma-trace.h:15:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/dma/fsl-edma-trace.c:4: In file included from ../drivers/dma/fsl-edma-common.h:342: In file included from ../drivers/dma/fsl-edma-trace.h:132: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/dma/fsl-edma-trace.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/dma/fsl-edma-trace.c:4: In file included from ../drivers/dma/fsl-edma-common.h:342: In file included from ../drivers/dma/fsl-edma-trace.h:132: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/dma/fsl-edma-trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/dma/fsl-edma-trace.c:4: In file included from ../drivers/dma/fsl-edma-common.h:342: In file included from ../drivers/dma/fsl-edma-trace.h:132: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/dma/fsl-edma-trace.h:15:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/dma/fsl-edma-trace.c:4: In file included from ../drivers/dma/fsl-edma-common.h:342: In file included from ../drivers/dma/fsl-edma-trace.h:132: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/dma/fsl-edma-trace.h:62:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 62 | DECLARE_EVENT_CLASS(edma_log_tcd, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: drivers/dma/fsl-edma-trace.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../lib/maple_tree.c:65: In file included from ../include/trace/events/maple_tree.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/maple_tree.h:13:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 13 | TRACE_EVENT(ma_op, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../lib/maple_tree.c:65: In file included from ../include/trace/events/maple_tree.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/maple_tree.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../lib/maple_tree.c:65: In file included from ../include/trace/events/maple_tree.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/maple_tree.h:13:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../lib/maple_tree.c:65: In file included from ../include/trace/events/maple_tree.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/maple_tree.h:13:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../lib/maple_tree.c:65: In file included from ../include/trace/events/maple_tree.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/maple_tree.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../lib/maple_tree.c:65: In file included from ../include/trace/events/maple_tree.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/maple_tree.h:13:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../lib/maple_tree.c:65: In file included from ../include/trace/events/maple_tree.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/maple_tree.h:46:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 46 | TRACE_EVENT(ma_read, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../lib/maple_tree.c:65: In file included from ../include/trace/events/maple_tree.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/maple_tree.h:46:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../lib/maple_tree.c:65: In file included from ../include/trace/events/maple_tree.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/maple_tree.h:46:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../lib/maple_tree.c:65: In file included from ../include/trace/events/maple_tree.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/maple_tree.h:46:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../lib/maple_tree.c:65: In file included from ../include/trace/events/maple_tree.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/maple_tree.h:46:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../lib/maple_tree.c:65: In file included from ../include/trace/events/maple_tree.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/maple_tree.h:46:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../lib/maple_tree.c:65: In file included from ../include/trace/events/maple_tree.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/maple_tree.h:80:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 80 | TRACE_EVENT(ma_write, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../lib/maple_tree.c:65: In file included from ../include/trace/events/maple_tree.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/maple_tree.h:80:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../lib/maple_tree.c:65: In file included from ../include/trace/events/maple_tree.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/maple_tree.h:80:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../lib/maple_tree.c:65: In file included from ../include/trace/events/maple_tree.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/maple_tree.h:80:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../lib/maple_tree.c:65: In file included from ../include/trace/events/maple_tree.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/maple_tree.h:80:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../lib/maple_tree.c:65: In file included from ../include/trace/events/maple_tree.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/maple_tree.h:80:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../lib/maple_tree.c:65: In file included from ../include/trace/events/maple_tree.h:123: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/maple_tree.h:13:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 13 | TRACE_EVENT(ma_op, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[4]: *** [../scripts/Makefile.build:244: lib/maple_tree.o] Error 1 In file included from ../mm/filemap.c:54: In file included from ../include/trace/events/filemap.h:118: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/filemap.h:16:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 16 | DECLARE_EVENT_CLASS(mm_filemap_op_page_cache, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/filemap.c:54: In file included from ../include/trace/events/filemap.h:118: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/filemap.h:16:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/filemap.c:54: In file included from ../include/trace/events/filemap.h:118: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/filemap.h:16:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/filemap.c:54: In file included from ../include/trace/events/filemap.h:118: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/filemap.h:16:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/filemap.c:54: In file included from ../include/trace/events/filemap.h:118: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/filemap.h:16:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/filemap.c:54: In file included from ../include/trace/events/filemap.h:118: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/filemap.h:16:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/filemap.c:54: In file included from ../include/trace/events/filemap.h:118: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/filemap.h:59:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 59 | TRACE_EVENT(filemap_set_wb_err, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/filemap.c:54: In file included from ../include/trace/events/filemap.h:118: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/filemap.h:59:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/filemap.c:54: In file included from ../include/trace/events/filemap.h:118: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/filemap.h:59:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/filemap.c:54: In file included from ../include/trace/events/filemap.h:118: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/filemap.h:59:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/filemap.c:54: In file included from ../include/trace/events/filemap.h:118: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/filemap.h:59:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/filemap.c:54: In file included from ../include/trace/events/filemap.h:118: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/filemap.h:59:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/filemap.c:54: In file included from ../include/trace/events/filemap.h:118: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/filemap.h:84:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 84 | TRACE_EVENT(file_check_and_advance_wb_err, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/filemap.c:54: In file included from ../include/trace/events/filemap.h:118: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/filemap.h:84:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/filemap.c:54: In file included from ../include/trace/events/filemap.h:118: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/filemap.h:84:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/filemap.c:54: In file included from ../include/trace/events/filemap.h:118: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/filemap.h:84:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/filemap.c:54: In file included from ../include/trace/events/filemap.h:118: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/filemap.h:84:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/filemap.c:54: In file included from ../include/trace/events/filemap.h:118: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/filemap.h:84:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/filemap.c:54: In file included from ../include/trace/events/filemap.h:118: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/filemap.h:16:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 16 | DECLARE_EVENT_CLASS(mm_filemap_op_page_cache, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[4]: *** [../scripts/Makefile.build:244: mm/filemap.o] Error 1 make[3]: *** [../scripts/Makefile.build:485: lib] Error 2 make[4]: *** Waiting for unfinished jobs.... In file included from ../fs/fs-writeback.c:81: In file included from ../include/trace/events/writeback.h:861: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/writeback.h:55:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 55 | DECLARE_EVENT_CLASS(writeback_folio_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../fs/fs-writeback.c:81: In file included from ../include/trace/events/writeback.h:861: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/writeback.h:55:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../fs/fs-writeback.c:81: In file included from ../include/trace/events/writeback.h:861: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/writeback.h:55:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../fs/fs-writeback.c:81: In file included from ../include/trace/events/writeback.h:861: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/writeback.h:55:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../fs/fs-writeback.c:81: In file included from ../include/trace/events/writeback.h:861: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/writeback.h:55:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../fs/fs-writeback.c:81: In file included from ../include/trace/events/writeback.h:861: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/writeback.h:55:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../fs/fs-writeback.c:81: In file included from ../include/trace/events/writeback.h:861: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/writeback.h:96:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 96 | DECLARE_EVENT_CLASS(writeback_dirty_inode_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../fs/fs-writeback.c:81: In file included from ../include/trace/events/writeback.h:861: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/writeback.h:96:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../fs/fs-writeback.c:81: In file included from ../include/trace/events/writeback.h:861: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/writeback.h:96:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../fs/fs-writeback.c:81: In file included from ../include/trace/events/writeback.h:861: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/writeback.h:96:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../fs/fs-writeback.c:81: In file included from ../include/trace/events/writeback.h:861: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/writeback.h:96:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../fs/fs-writeback.c:81: In file included from ../include/trace/events/writeback.h:861: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/writeback.h:96:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../fs/fs-writeback.c:81: In file included from ../include/trace/events/writeback.h:861: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/writeback.h:179:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 179 | TRACE_EVENT(inode_foreign_history, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../fs/fs-writeback.c:81: In file included from ../include/trace/events/writeback.h:861: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/writeback.h:179:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../fs/fs-writeback.c:81: In file included from ../include/trace/events/writeback.h:861: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/writeback.h:179:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../fs/fs-writeback.c:81: In file included from ../include/trace/events/writeback.h:861: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/writeback.h:179:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../fs/fs-writeback.c:81: In file included from ../include/trace/events/writeback.h:861: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/writeback.h:179:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../fs/fs-writeback.c:81: In file included from ../include/trace/events/writeback.h:861: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/writeback.h:179:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../fs/fs-writeback.c:81: In file included from ../include/trace/events/writeback.h:861: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/writeback.h:208:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 208 | TRACE_EVENT(inode_switch_wbs, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[4]: *** [../scripts/Makefile.build:244: fs/fs-writeback.o] Error 1 make[4]: *** Waiting for unfinished jobs.... In file included from ../drivers/iommu/intel/trace.c:14: In file included from ../drivers/iommu/intel/trace.h:196: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/iommu/intel/trace.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 21 | TRACE_EVENT(qi_submit, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/iommu/intel/trace.c:14: In file included from ../drivers/iommu/intel/trace.h:196: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/iommu/intel/trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/iommu/intel/trace.c:14: In file included from ../drivers/iommu/intel/trace.h:196: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/iommu/intel/trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/iommu/intel/trace.c:14: In file included from ../drivers/iommu/intel/trace.h:196: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/iommu/intel/trace.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/iommu/intel/trace.c:14: In file included from ../drivers/iommu/intel/trace.h:196: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/iommu/intel/trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/iommu/intel/trace.c:14: In file included from ../drivers/iommu/intel/trace.h:196: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/iommu/intel/trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/iommu/intel/trace.c:14: In file included from ../drivers/iommu/intel/trace.h:196: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/iommu/intel/trace.h:58:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 58 | TRACE_EVENT(prq_report, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/iommu/intel/trace.c:14: In file included from ../drivers/iommu/intel/trace.h:196: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/iommu/intel/trace.h:58:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/iommu/intel/trace.c:14: In file included from ../drivers/iommu/intel/trace.h:196: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/iommu/intel/trace.h:58:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/iommu/intel/trace.c:14: In file included from ../drivers/iommu/intel/trace.h:196: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/iommu/intel/trace.h:58:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/iommu/intel/trace.c:14: In file included from ../drivers/iommu/intel/trace.h:196: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/iommu/intel/trace.h:58:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/iommu/intel/trace.c:14: In file included from ../drivers/iommu/intel/trace.h:196: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/iommu/intel/trace.h:58:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/iommu/intel/trace.c:14: In file included from ../drivers/iommu/intel/trace.h:196: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/iommu/intel/trace.h:93:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 93 | DECLARE_EVENT_CLASS(cache_tag_log, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/iommu/intel/trace.c:14: In file included from ../drivers/iommu/intel/trace.h:196: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/iommu/intel/trace.h:93:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/iommu/intel/trace.c:14: In file included from ../drivers/iommu/intel/trace.h:196: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/iommu/intel/trace.h:93:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/iommu/intel/trace.c:14: In file included from ../drivers/iommu/intel/trace.h:196: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/iommu/intel/trace.h:93:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/iommu/intel/trace.c:14: In file included from ../drivers/iommu/intel/trace.h:196: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/iommu/intel/trace.h:93:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/iommu/intel/trace.c:14: In file included from ../drivers/iommu/intel/trace.h:196: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/iommu/intel/trace.h:93:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/iommu/intel/trace.c:14: In file included from ../drivers/iommu/intel/trace.h:196: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/iommu/intel/trace.h:138:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 138 | DECLARE_EVENT_CLASS(cache_tag_flush, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[6]: *** [../scripts/Makefile.build:244: drivers/iommu/intel/trace.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: drivers/iommu/intel] Error 2 make[5]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:485: fs] Error 2 In file included from ../drivers/gpio/gpiolib.c:44: In file included from ../include/trace/events/gpio.h:57: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/gpio.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | TRACE_EVENT(gpio_direction, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpio/gpiolib.c:44: In file included from ../include/trace/events/gpio.h:57: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/gpio.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpio/gpiolib.c:44: In file included from ../include/trace/events/gpio.h:57: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/gpio.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpio/gpiolib.c:44: In file included from ../include/trace/events/gpio.h:57: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/gpio.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpio/gpiolib.c:44: In file included from ../include/trace/events/gpio.h:57: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/gpio.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpio/gpiolib.c:44: In file included from ../include/trace/events/gpio.h:57: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/gpio.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpio/gpiolib.c:44: In file included from ../include/trace/events/gpio.h:57: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/gpio.h:32:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 32 | TRACE_EVENT(gpio_value, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpio/gpiolib.c:44: In file included from ../include/trace/events/gpio.h:57: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/gpio.h:32:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpio/gpiolib.c:44: In file included from ../include/trace/events/gpio.h:57: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/gpio.h:32:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpio/gpiolib.c:44: In file included from ../include/trace/events/gpio.h:57: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/gpio.h:32:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpio/gpiolib.c:44: In file included from ../include/trace/events/gpio.h:57: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/gpio.h:32:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpio/gpiolib.c:44: In file included from ../include/trace/events/gpio.h:57: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/gpio.h:32:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpio/gpiolib.c:44: In file included from ../include/trace/events/gpio.h:57: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/gpio.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | TRACE_EVENT(gpio_direction, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/gpio/gpiolib.c:44: In file included from ../include/trace/events/gpio.h:57: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/gpio.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/gpio/gpiolib.c:44: In file included from ../include/trace/events/gpio.h:57: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/gpio.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/gpio/gpiolib.c:44: In file included from ../include/trace/events/gpio.h:57: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/gpio.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/gpio/gpiolib.c:44: In file included from ../include/trace/events/gpio.h:57: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/gpio.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/gpio/gpiolib.c:44: In file included from ../include/trace/events/gpio.h:57: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/gpio.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/gpio/gpiolib.c:44: In file included from ../include/trace/events/gpio.h:57: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/gpio.h:32:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 32 | TRACE_EVENT(gpio_value, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: drivers/gpio/gpiolib.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: drivers/gpio] Error 2 In file included from ../mm/oom_kill.c:54: In file included from ../include/trace/events/oom.h:223: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/oom.h:12:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 12 | TRACE_EVENT(oom_score_adj_update, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/oom_kill.c:54: In file included from ../include/trace/events/oom.h:223: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/oom.h:12:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/oom_kill.c:54: In file included from ../include/trace/events/oom.h:223: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/oom.h:12:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/oom_kill.c:54: In file included from ../include/trace/events/oom.h:223: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/oom.h:12:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/oom_kill.c:54: In file included from ../include/trace/events/oom.h:223: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/oom.h:12:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/oom_kill.c:54: In file included from ../include/trace/events/oom.h:223: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/oom.h:12:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/oom_kill.c:54: In file included from ../include/trace/events/oom.h:223: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/oom.h:34:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 34 | TRACE_EVENT(reclaim_retry_zone, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/oom_kill.c:54: In file included from ../include/trace/events/oom.h:223: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/oom.h:34:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/oom_kill.c:54: In file included from ../include/trace/events/oom.h:223: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/oom.h:34:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/oom_kill.c:54: In file included from ../include/trace/events/oom.h:223: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/oom.h:34:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/oom_kill.c:54: In file included from ../include/trace/events/oom.h:223: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/oom.h:34:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/oom_kill.c:54: In file included from ../include/trace/events/oom.h:223: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/oom.h:34:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/oom_kill.c:54: In file included from ../include/trace/events/oom.h:223: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/oom.h:76:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 76 | TRACE_EVENT(mark_victim, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/oom_kill.c:54: In file included from ../include/trace/events/oom.h:223: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/oom.h:76:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/oom_kill.c:54: In file included from ../include/trace/events/oom.h:223: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/oom.h:76:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/oom_kill.c:54: In file included from ../include/trace/events/oom.h:223: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/oom.h:76:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/oom_kill.c:54: In file included from ../include/trace/events/oom.h:223: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/oom.h:76:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/oom_kill.c:54: In file included from ../include/trace/events/oom.h:223: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/oom.h:76:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/oom_kill.c:54: In file included from ../include/trace/events/oom.h:223: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/oom.h:118:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 118 | TRACE_EVENT(wake_reaper, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[4]: *** [../scripts/Makefile.build:244: mm/oom_kill.o] Error 1 In file included from ../net/bpf/test_run.c:29: In file included from ../include/trace/events/bpf_test_run.h:67: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/bpf_test_run.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | TRACE_EVENT(bpf_trigger_tp, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/bpf/test_run.c:29: In file included from ../include/trace/events/bpf_test_run.h:67: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/bpf_test_run.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/bpf/test_run.c:29: In file included from ../include/trace/events/bpf_test_run.h:67: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/bpf_test_run.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/bpf/test_run.c:29: In file included from ../include/trace/events/bpf_test_run.h:67: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/bpf_test_run.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/bpf/test_run.c:29: In file included from ../include/trace/events/bpf_test_run.h:67: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/bpf_test_run.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/bpf/test_run.c:29: In file included from ../include/trace/events/bpf_test_run.h:67: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/bpf_test_run.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/bpf/test_run.c:29: In file included from ../include/trace/events/bpf_test_run.h:67: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/bpf_test_run.h:27:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 27 | DECLARE_EVENT_CLASS(bpf_test_finish, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/bpf/test_run.c:29: In file included from ../include/trace/events/bpf_test_run.h:67: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/bpf_test_run.h:27:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/bpf/test_run.c:29: In file included from ../include/trace/events/bpf_test_run.h:67: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/bpf_test_run.h:27:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/bpf/test_run.c:29: In file included from ../include/trace/events/bpf_test_run.h:67: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/bpf_test_run.h:27:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/bpf/test_run.c:29: In file included from ../include/trace/events/bpf_test_run.h:67: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/bpf_test_run.h:27:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/bpf/test_run.c:29: In file included from ../include/trace/events/bpf_test_run.h:67: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/bpf_test_run.h:27:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/bpf/test_run.c:29: In file included from ../include/trace/events/bpf_test_run.h:67: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/bpf_test_run.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | TRACE_EVENT(bpf_trigger_tp, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../net/bpf/test_run.c:29: In file included from ../include/trace/events/bpf_test_run.h:67: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/bpf_test_run.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../net/bpf/test_run.c:29: In file included from ../include/trace/events/bpf_test_run.h:67: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/bpf_test_run.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../net/bpf/test_run.c:29: In file included from ../include/trace/events/bpf_test_run.h:67: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/bpf_test_run.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../net/bpf/test_run.c:29: In file included from ../include/trace/events/bpf_test_run.h:67: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/bpf_test_run.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../net/bpf/test_run.c:29: In file included from ../include/trace/events/bpf_test_run.h:67: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/bpf_test_run.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../net/bpf/test_run.c:29: In file included from ../include/trace/events/bpf_test_run.h:67: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/bpf_test_run.h:27:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 27 | DECLARE_EVENT_CLASS(bpf_test_finish, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: net/bpf/test_run.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: net/bpf] Error 2 In file included from ../drivers/cxl/core/trace.c:8: In file included from ../drivers/cxl/core/trace.h:737: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/cxl/core/trace.h:51:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 51 | TRACE_EVENT(cxl_aer_uncorrectable_error, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/cxl/core/trace.c:8: In file included from ../drivers/cxl/core/trace.h:737: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/cxl/core/trace.h:51:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/cxl/core/trace.c:8: In file included from ../drivers/cxl/core/trace.h:737: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/cxl/core/trace.h:51:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/cxl/core/trace.c:8: In file included from ../drivers/cxl/core/trace.h:737: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/cxl/core/trace.h:51:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/cxl/core/trace.c:8: In file included from ../drivers/cxl/core/trace.h:737: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/cxl/core/trace.h:51:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/cxl/core/trace.c:8: In file included from ../drivers/cxl/core/trace.h:737: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/cxl/core/trace.h:51:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/cxl/core/trace.c:8: In file included from ../drivers/cxl/core/trace.h:737: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/cxl/core/trace.h:99:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 99 | TRACE_EVENT(cxl_aer_correctable_error, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/cxl/core/trace.c:8: In file included from ../drivers/cxl/core/trace.h:737: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/cxl/core/trace.h:99:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/cxl/core/trace.c:8: In file included from ../drivers/cxl/core/trace.h:737: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/cxl/core/trace.h:99:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/cxl/core/trace.c:8: In file included from ../drivers/cxl/core/trace.h:737: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/cxl/core/trace.h:99:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/cxl/core/trace.c:8: In file included from ../drivers/cxl/core/trace.h:737: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/cxl/core/trace.h:99:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/cxl/core/trace.c:8: In file included from ../drivers/cxl/core/trace.h:737: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/cxl/core/trace.h:99:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/cxl/core/trace.c:8: In file included from ../drivers/cxl/core/trace.h:737: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/cxl/core/trace.h:127:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 127 | TRACE_EVENT(cxl_overflow, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/cxl/core/trace.c:8: In file included from ../drivers/cxl/core/trace.h:737: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/cxl/core/trace.h:127:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/cxl/core/trace.c:8: In file included from ../drivers/cxl/core/trace.h:737: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/cxl/core/trace.h:127:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/cxl/core/trace.c:8: In file included from ../drivers/cxl/core/trace.h:737: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/cxl/core/trace.h:127:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/cxl/core/trace.c:8: In file included from ../drivers/cxl/core/trace.h:737: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/cxl/core/trace.h:127:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/cxl/core/trace.c:8: In file included from ../drivers/cxl/core/trace.h:737: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/cxl/core/trace.h:127:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/cxl/core/trace.c:8: In file included from ../drivers/cxl/core/trace.h:737: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/cxl/core/trace.h:225:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 225 | TRACE_EVENT(cxl_generic_event, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[6]: *** [../scripts/Makefile.build:244: drivers/cxl/core/trace.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: drivers/cxl/core] Error 2 make[4]: *** [../scripts/Makefile.build:485: drivers/cxl] Error 2 In file included from ../arch/x86/kvm/../../../virt/kvm/kvm_main.c:65: In file included from ../include/trace/events/kvm.h:495: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kvm.h:22:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 22 | TRACE_EVENT(kvm_userspace_exit, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/../../../virt/kvm/kvm_main.c:65: In file included from ../include/trace/events/kvm.h:495: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kvm.h:22:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/../../../virt/kvm/kvm_main.c:65: In file included from ../include/trace/events/kvm.h:495: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kvm.h:22:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/../../../virt/kvm/kvm_main.c:65: In file included from ../include/trace/events/kvm.h:495: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kvm.h:22:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/../../../virt/kvm/kvm_main.c:65: In file included from ../include/trace/events/kvm.h:495: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kvm.h:22:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/../../../virt/kvm/kvm_main.c:65: In file included from ../include/trace/events/kvm.h:495: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kvm.h:22:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/../../../virt/kvm/kvm_main.c:65: In file included from ../include/trace/events/kvm.h:495: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kvm.h:43:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 43 | TRACE_EVENT(kvm_vcpu_wakeup, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/../../../virt/kvm/kvm_main.c:65: In file included from ../include/trace/events/kvm.h:495: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kvm.h:43:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/../../../virt/kvm/kvm_main.c:65: In file included from ../include/trace/events/kvm.h:495: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kvm.h:43:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/../../../virt/kvm/kvm_main.c:65: In file included from ../include/trace/events/kvm.h:495: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kvm.h:43:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/../../../virt/kvm/kvm_main.c:65: In file included from ../include/trace/events/kvm.h:495: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kvm.h:43:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/../../../virt/kvm/kvm_main.c:65: In file included from ../include/trace/events/kvm.h:495: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kvm.h:43:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/../../../virt/kvm/kvm_main.c:65: In file included from ../include/trace/events/kvm.h:495: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kvm.h:66:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 66 | TRACE_EVENT(kvm_set_irq, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/../../../virt/kvm/kvm_main.c:65: In file included from ../include/trace/events/kvm.h:495: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kvm.h:66:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/../../../virt/kvm/kvm_main.c:65: In file included from ../include/trace/events/kvm.h:495: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kvm.h:66:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/../../../virt/kvm/kvm_main.c:65: In file included from ../include/trace/events/kvm.h:495: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kvm.h:66:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/../../../virt/kvm/kvm_main.c:65: In file included from ../include/trace/events/kvm.h:495: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kvm.h:66:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/../../../virt/kvm/kvm_main.c:65: In file included from ../include/trace/events/kvm.h:495: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kvm.h:66:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/../../../virt/kvm/kvm_main.c:65: In file included from ../include/trace/events/kvm.h:495: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kvm.h:98:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 98 | TRACE_EVENT(kvm_ioapic_set_irq, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: arch/x86/kvm/../../../virt/kvm/kvm_main.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../drivers/dma-buf/sw_sync.c:17: In file included from ../drivers/dma-buf/sync_trace.h:33: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/dma-buf/sync_trace.h:12:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 12 | TRACE_EVENT(sync_timeline, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma-buf/sw_sync.c:17: In file included from ../drivers/dma-buf/sync_trace.h:33: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/dma-buf/sync_trace.h:12:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma-buf/sw_sync.c:17: In file included from ../drivers/dma-buf/sync_trace.h:33: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/dma-buf/sync_trace.h:12:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma-buf/sw_sync.c:17: In file included from ../drivers/dma-buf/sync_trace.h:33: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/dma-buf/sync_trace.h:12:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma-buf/sw_sync.c:17: In file included from ../drivers/dma-buf/sync_trace.h:33: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/dma-buf/sync_trace.h:12:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma-buf/sw_sync.c:17: In file included from ../drivers/dma-buf/sync_trace.h:33: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/dma-buf/sync_trace.h:12:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma-buf/sw_sync.c:17: In file included from ../drivers/dma-buf/sync_trace.h:33: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/dma-buf/sync_trace.h:12:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 12 | TRACE_EVENT(sync_timeline, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/dma-buf/sw_sync.c:17: In file included from ../drivers/dma-buf/sync_trace.h:33: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/dma-buf/sync_trace.h:12:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/dma-buf/sw_sync.c:17: In file included from ../drivers/dma-buf/sync_trace.h:33: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/dma-buf/sync_trace.h:12:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/dma-buf/sw_sync.c:17: In file included from ../drivers/dma-buf/sync_trace.h:33: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/dma-buf/sync_trace.h:12:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/dma-buf/sw_sync.c:17: In file included from ../drivers/dma-buf/sync_trace.h:33: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/dma-buf/sync_trace.h:12:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/dma-buf/sw_sync.c:17: In file included from ../drivers/dma-buf/sync_trace.h:33: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/dma-buf/sync_trace.h:12:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 12 errors generated. make[5]: *** [../scripts/Makefile.build:244: drivers/dma-buf/sw_sync.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: drivers/dma-buf] Error 2 In file included from ../kernel/cpu.c:43: In file included from ../include/trace/events/cpuhp.h:95: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/cpuhp.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | TRACE_EVENT(cpuhp_enter, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/cpu.c:43: In file included from ../include/trace/events/cpuhp.h:95: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/cpuhp.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/cpu.c:43: In file included from ../include/trace/events/cpuhp.h:95: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/cpuhp.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/cpu.c:43: In file included from ../include/trace/events/cpuhp.h:95: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/cpuhp.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/cpu.c:43: In file included from ../include/trace/events/cpuhp.h:95: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/cpuhp.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/cpu.c:43: In file included from ../include/trace/events/cpuhp.h:95: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/cpuhp.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/cpu.c:43: In file included from ../include/trace/events/cpuhp.h:95: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/cpuhp.h:37:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 37 | TRACE_EVENT(cpuhp_multi_enter, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/cpu.c:43: In file included from ../include/trace/events/cpuhp.h:95: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/cpuhp.h:37:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/cpu.c:43: In file included from ../include/trace/events/cpuhp.h:95: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/cpuhp.h:37:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/cpu.c:43: In file included from ../include/trace/events/cpuhp.h:95: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/cpuhp.h:37:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/cpu.c:43: In file included from ../include/trace/events/cpuhp.h:95: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/cpuhp.h:37:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/cpu.c:43: In file included from ../include/trace/events/cpuhp.h:95: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/cpuhp.h:37:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/cpu.c:43: In file included from ../include/trace/events/cpuhp.h:95: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/cpuhp.h:65:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 65 | TRACE_EVENT(cpuhp_exit, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/cpu.c:43: In file included from ../include/trace/events/cpuhp.h:95: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/cpuhp.h:65:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/cpu.c:43: In file included from ../include/trace/events/cpuhp.h:95: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/cpuhp.h:65:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/cpu.c:43: In file included from ../include/trace/events/cpuhp.h:95: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/cpuhp.h:65:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/cpu.c:43: In file included from ../include/trace/events/cpuhp.h:95: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/cpuhp.h:65:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/cpu.c:43: In file included from ../include/trace/events/cpuhp.h:95: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/cpuhp.h:65:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/cpu.c:43: In file included from ../include/trace/events/cpuhp.h:95: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/cpuhp.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | TRACE_EVENT(cpuhp_enter, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[4]: *** [../scripts/Makefile.build:244: kernel/cpu.o] Error 1 In file included from ../drivers/iommu/iommu-traces.c:13: In file included from ../include/trace/events/iommu.h:162: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iommu.h:18:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 18 | DECLARE_EVENT_CLASS(iommu_group_event, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/iommu/iommu-traces.c:13: In file included from ../include/trace/events/iommu.h:162: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iommu.h:18:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/iommu/iommu-traces.c:13: In file included from ../include/trace/events/iommu.h:162: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iommu.h:18:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/iommu/iommu-traces.c:13: In file included from ../include/trace/events/iommu.h:162: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iommu.h:18:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/iommu/iommu-traces.c:13: In file included from ../include/trace/events/iommu.h:162: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iommu.h:18:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/iommu/iommu-traces.c:13: In file included from ../include/trace/events/iommu.h:162: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iommu.h:18:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/iommu/iommu-traces.c:13: In file included from ../include/trace/events/iommu.h:162: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iommu.h:54:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 54 | DECLARE_EVENT_CLASS(iommu_device_event, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/iommu/iommu-traces.c:13: In file included from ../include/trace/events/iommu.h:162: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iommu.h:54:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/iommu/iommu-traces.c:13: In file included from ../include/trace/events/iommu.h:162: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iommu.h:54:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/iommu/iommu-traces.c:13: In file included from ../include/trace/events/iommu.h:162: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iommu.h:54:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/iommu/iommu-traces.c:13: In file included from ../include/trace/events/iommu.h:162: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iommu.h:54:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/iommu/iommu-traces.c:13: In file included from ../include/trace/events/iommu.h:162: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iommu.h:54:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/iommu/iommu-traces.c:13: In file included from ../include/trace/events/iommu.h:162: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iommu.h:79:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 79 | TRACE_EVENT(map, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/iommu/iommu-traces.c:13: In file included from ../include/trace/events/iommu.h:162: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iommu.h:79:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/iommu/iommu-traces.c:13: In file included from ../include/trace/events/iommu.h:162: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iommu.h:79:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/iommu/iommu-traces.c:13: In file included from ../include/trace/events/iommu.h:162: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iommu.h:79:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/iommu/iommu-traces.c:13: In file included from ../include/trace/events/iommu.h:162: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iommu.h:79:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/iommu/iommu-traces.c:13: In file included from ../include/trace/events/iommu.h:162: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iommu.h:79:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/iommu/iommu-traces.c:13: In file included from ../include/trace/events/iommu.h:162: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iommu.h:103:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 103 | TRACE_EVENT(unmap, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: drivers/iommu/iommu-traces.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: drivers/iommu] Error 2 In file included from ../arch/x86/kernel/irq.c:29: In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/irq_vectors.h:13:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 13 | DECLARE_EVENT_CLASS(x86_irq_vector, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kernel/irq.c:29: In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/irq_vectors.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kernel/irq.c:29: In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/irq_vectors.h:13:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kernel/irq.c:29: In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/irq_vectors.h:13:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kernel/irq.c:29: In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/irq_vectors.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kernel/irq.c:29: In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/irq_vectors.h:13:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kernel/irq.c:29: In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/irq_vectors.h:126:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 126 | TRACE_EVENT(vector_config, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kernel/irq.c:29: In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/irq_vectors.h:126:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kernel/irq.c:29: In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/irq_vectors.h:126:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kernel/irq.c:29: In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/irq_vectors.h:126:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kernel/irq.c:29: In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/irq_vectors.h:126:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kernel/irq.c:29: In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/irq_vectors.h:126:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kernel/irq.c:29: In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/irq_vectors.h:152:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 152 | DECLARE_EVENT_CLASS(vector_mod, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kernel/irq.c:29: In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/irq_vectors.h:152:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kernel/irq.c:29: In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/irq_vectors.h:152:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kernel/irq.c:29: In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/irq_vectors.h:152:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kernel/irq.c:29: In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/irq_vectors.h:152:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kernel/irq.c:29: In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/irq_vectors.h:152:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kernel/irq.c:29: In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/irq_vectors.h:192:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 192 | DECLARE_EVENT_CLASS(vector_reserve, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: arch/x86/kernel/irq.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: arch/x86/kernel] Error 2 In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:16:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 16 | DECLARE_EVENT_CLASS(regmap_reg, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:16:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:16:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:16:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:16:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:16:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:62:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 62 | DECLARE_EVENT_CLASS(regmap_bulk, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:62:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:62:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:62:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:103:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 103 | DECLARE_EVENT_CLASS(regmap_block, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:103:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:103:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:103:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:103:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:103:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:152:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 152 | TRACE_EVENT(regcache_sync, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[6]: *** [../scripts/Makefile.build:244: drivers/base/regmap/regmap.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: drivers/base/regmap] Error 2 make[5]: *** Waiting for unfinished jobs.... In file included from ../drivers/nvme/target/core.c:16: In file included from ../drivers/nvme/target/trace.h:170: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/target/trace.h:66:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 66 | TRACE_EVENT(nvmet_req_init, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/nvme/target/core.c:16: In file included from ../drivers/nvme/target/trace.h:170: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/target/trace.h:66:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/nvme/target/core.c:16: In file included from ../drivers/nvme/target/trace.h:170: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/target/trace.h:66:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/nvme/target/core.c:16: In file included from ../drivers/nvme/target/trace.h:170: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/target/trace.h:66:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/nvme/target/core.c:16: In file included from ../drivers/nvme/target/trace.h:170: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/target/trace.h:66:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/nvme/target/core.c:16: In file included from ../drivers/nvme/target/trace.h:170: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/target/trace.h:66:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/nvme/target/core.c:16: In file included from ../drivers/nvme/target/trace.h:170: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/target/trace.h:108:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 108 | TRACE_EVENT(nvmet_req_complete, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/nvme/target/core.c:16: In file included from ../drivers/nvme/target/trace.h:170: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/target/trace.h:108:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/nvme/target/core.c:16: In file included from ../drivers/nvme/target/trace.h:170: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/target/trace.h:108:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/nvme/target/core.c:16: In file included from ../drivers/nvme/target/trace.h:170: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/target/trace.h:108:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/nvme/target/core.c:16: In file included from ../drivers/nvme/target/trace.h:170: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/target/trace.h:108:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/nvme/target/core.c:16: In file included from ../drivers/nvme/target/trace.h:170: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/target/trace.h:108:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/nvme/target/core.c:16: In file included from ../drivers/nvme/target/trace.h:170: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/target/trace.h:136:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 136 | TRACE_EVENT(nvmet_async_event, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/nvme/target/core.c:16: In file included from ../drivers/nvme/target/trace.h:170: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/target/trace.h:136:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/nvme/target/core.c:16: In file included from ../drivers/nvme/target/trace.h:170: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/target/trace.h:136:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/nvme/target/core.c:16: In file included from ../drivers/nvme/target/trace.h:170: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/target/trace.h:136:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/nvme/target/core.c:16: In file included from ../drivers/nvme/target/trace.h:170: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/target/trace.h:136:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/nvme/target/core.c:16: In file included from ../drivers/nvme/target/trace.h:170: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/target/trace.h:136:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/nvme/target/core.c:16: In file included from ../drivers/nvme/target/trace.h:170: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/nvme/target/trace.h:66:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 66 | TRACE_EVENT(nvmet_req_init, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[6]: *** [../scripts/Makefile.build:244: drivers/nvme/target/core.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: drivers/nvme/target] Error 2 make[5]: *** Waiting for unfinished jobs.... In file included from ../net/devlink/core.c:9: In file included from ../include/trace/events/devlink.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/devlink.h:17:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 17 | TRACE_EVENT(devlink_hwmsg, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/devlink/core.c:9: In file included from ../include/trace/events/devlink.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/devlink.h:17:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/devlink/core.c:9: In file included from ../include/trace/events/devlink.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/devlink.h:17:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/devlink/core.c:9: In file included from ../include/trace/events/devlink.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/devlink.h:17:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/devlink/core.c:9: In file included from ../include/trace/events/devlink.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/devlink.h:17:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/devlink/core.c:9: In file included from ../include/trace/events/devlink.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/devlink.h:17:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/devlink/core.c:9: In file included from ../include/trace/events/devlink.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/devlink.h:52:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 52 | TRACE_EVENT(devlink_hwerr, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/devlink/core.c:9: In file included from ../include/trace/events/devlink.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/devlink.h:52:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/devlink/core.c:9: In file included from ../include/trace/events/devlink.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/devlink.h:52:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/devlink/core.c:9: In file included from ../include/trace/events/devlink.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/devlink.h:52:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/devlink/core.c:9: In file included from ../include/trace/events/devlink.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/devlink.h:52:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/devlink/core.c:9: In file included from ../include/trace/events/devlink.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/devlink.h:52:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/devlink/core.c:9: In file included from ../include/trace/events/devlink.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/devlink.h:81:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 81 | TRACE_EVENT(devlink_health_report, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/devlink/core.c:9: In file included from ../include/trace/events/devlink.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/devlink.h:81:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/devlink/core.c:9: In file included from ../include/trace/events/devlink.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/devlink.h:81:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/devlink/core.c:9: In file included from ../include/trace/events/devlink.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/devlink.h:81:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/devlink/core.c:9: In file included from ../include/trace/events/devlink.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/devlink.h:81:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/devlink/core.c:9: In file included from ../include/trace/events/devlink.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/devlink.h:81:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/devlink/core.c:9: In file included from ../include/trace/events/devlink.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/devlink.h:112:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 112 | TRACE_EVENT(devlink_health_recover_aborted, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: net/devlink/core.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: net/devlink] Error 2 In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/task.h:9:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 9 | TRACE_EVENT(task_newtask, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/task.h:9:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/task.h:9:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/task.h:9:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/task.h:9:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/task.h:9:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/task.h:34:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 34 | TRACE_EVENT(task_rename, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/task.h:34:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/task.h:34:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/task.h:34:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/task.h:34:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/task.h:34:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/task.h:9:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 9 | TRACE_EVENT(task_newtask, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/task.h:9:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/task.h:9:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/task.h:9:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/task.h:9:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/task.h:9:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/task.h:34:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 34 | TRACE_EVENT(task_rename, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[4]: *** [../scripts/Makefile.build:244: kernel/fork.o] Error 1 In file included from ../drivers/misc/mei/mei-trace.c:11: In file included from ../drivers/misc/mei/mei-trace.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/misc/mei/mei-trace.h:19:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 19 | TRACE_EVENT(mei_reg_read, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/misc/mei/mei-trace.c:11: In file included from ../drivers/misc/mei/mei-trace.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/misc/mei/mei-trace.h:19:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/misc/mei/mei-trace.c:11: In file included from ../drivers/misc/mei/mei-trace.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/misc/mei/mei-trace.h:19:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/misc/mei/mei-trace.c:11: In file included from ../drivers/misc/mei/mei-trace.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/misc/mei/mei-trace.h:19:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/misc/mei/mei-trace.c:11: In file included from ../drivers/misc/mei/mei-trace.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/misc/mei/mei-trace.h:19:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/misc/mei/mei-trace.c:11: In file included from ../drivers/misc/mei/mei-trace.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/misc/mei/mei-trace.h:19:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/misc/mei/mei-trace.c:11: In file included from ../drivers/misc/mei/mei-trace.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/misc/mei/mei-trace.h:38:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 38 | TRACE_EVENT(mei_reg_write, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/misc/mei/mei-trace.c:11: In file included from ../drivers/misc/mei/mei-trace.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/misc/mei/mei-trace.h:38:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/misc/mei/mei-trace.c:11: In file included from ../drivers/misc/mei/mei-trace.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/misc/mei/mei-trace.h:38:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/misc/mei/mei-trace.c:11: In file included from ../drivers/misc/mei/mei-trace.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/misc/mei/mei-trace.h:38:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/misc/mei/mei-trace.c:11: In file included from ../drivers/misc/mei/mei-trace.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/misc/mei/mei-trace.h:38:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/misc/mei/mei-trace.c:11: In file included from ../drivers/misc/mei/mei-trace.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/misc/mei/mei-trace.h:38:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/misc/mei/mei-trace.c:11: In file included from ../drivers/misc/mei/mei-trace.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/misc/mei/mei-trace.h:57:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 57 | TRACE_EVENT(mei_pci_cfg_read, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/misc/mei/mei-trace.c:11: In file included from ../drivers/misc/mei/mei-trace.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/misc/mei/mei-trace.h:57:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/misc/mei/mei-trace.c:11: In file included from ../drivers/misc/mei/mei-trace.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/misc/mei/mei-trace.h:57:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/misc/mei/mei-trace.c:11: In file included from ../drivers/misc/mei/mei-trace.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/misc/mei/mei-trace.h:57:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/misc/mei/mei-trace.c:11: In file included from ../drivers/misc/mei/mei-trace.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/misc/mei/mei-trace.h:57:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/misc/mei/mei-trace.c:11: In file included from ../drivers/misc/mei/mei-trace.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/misc/mei/mei-trace.h:57:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/misc/mei/mei-trace.c:11: In file included from ../drivers/misc/mei/mei-trace.h:83: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/misc/mei/mei-trace.h:19:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 19 | TRACE_EVENT(mei_reg_read, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[6]: *** [../scripts/Makefile.build:244: drivers/misc/mei/mei-trace.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: drivers/misc/mei] Error 2 make[4]: *** [../scripts/Makefile.build:485: drivers/misc] Error 2 In file included from ../io_uring/io_uring.c:76: In file included from ../include/trace/events/io_uring.h:683: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/io_uring.h:27:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 27 | TRACE_EVENT(io_uring_create, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../io_uring/io_uring.c:76: In file included from ../include/trace/events/io_uring.h:683: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/io_uring.h:27:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../io_uring/io_uring.c:76: In file included from ../include/trace/events/io_uring.h:683: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/io_uring.h:27:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../io_uring/io_uring.c:76: In file included from ../include/trace/events/io_uring.h:683: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/io_uring.h:27:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../io_uring/io_uring.c:76: In file included from ../include/trace/events/io_uring.h:683: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/io_uring.h:27:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../io_uring/io_uring.c:76: In file included from ../include/trace/events/io_uring.h:683: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/io_uring.h:27:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../io_uring/io_uring.c:76: In file included from ../include/trace/events/io_uring.h:683: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/io_uring.h:69:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 69 | TRACE_EVENT(io_uring_register, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../io_uring/io_uring.c:76: In file included from ../include/trace/events/io_uring.h:683: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/io_uring.h:69:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../io_uring/io_uring.c:76: In file included from ../include/trace/events/io_uring.h:683: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/io_uring.h:69:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../io_uring/io_uring.c:76: In file included from ../include/trace/events/io_uring.h:683: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/io_uring.h:69:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../io_uring/io_uring.c:76: In file included from ../include/trace/events/io_uring.h:683: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/io_uring.h:69:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../io_uring/io_uring.c:76: In file included from ../include/trace/events/io_uring.h:683: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/io_uring.h:69:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../io_uring/io_uring.c:76: In file included from ../include/trace/events/io_uring.h:683: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/io_uring.h:108:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 108 | TRACE_EVENT(io_uring_file_get, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../io_uring/io_uring.c:76: In file included from ../include/trace/events/io_uring.h:683: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/io_uring.h:108:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../io_uring/io_uring.c:76: In file included from ../include/trace/events/io_uring.h:683: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/io_uring.h:108:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../io_uring/io_uring.c:76: In file included from ../include/trace/events/io_uring.h:683: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/io_uring.h:108:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../io_uring/io_uring.c:76: In file included from ../include/trace/events/io_uring.h:683: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/io_uring.h:108:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../io_uring/io_uring.c:76: In file included from ../include/trace/events/io_uring.h:683: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/io_uring.h:108:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../io_uring/io_uring.c:76: In file included from ../include/trace/events/io_uring.h:683: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/io_uring.h:140:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 140 | TRACE_EVENT(io_uring_queue_async_work, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[4]: *** [../scripts/Makefile.build:244: io_uring/io_uring.o] Error 1 make[3]: *** [../scripts/Makefile.build:485: io_uring] Error 2 In file included from ../drivers/base/trace.c:10: In file included from ../drivers/base/trace.h:56: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/trace.h:19:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 19 | DECLARE_EVENT_CLASS(devres, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/base/trace.c:10: In file included from ../drivers/base/trace.h:56: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/trace.h:19:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/base/trace.c:10: In file included from ../drivers/base/trace.h:56: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/trace.h:19:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/base/trace.c:10: In file included from ../drivers/base/trace.h:56: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/trace.h:19:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/base/trace.c:10: In file included from ../drivers/base/trace.h:56: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/trace.h:19:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/base/trace.c:10: In file included from ../drivers/base/trace.h:56: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/trace.h:19:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/base/trace.c:10: In file included from ../drivers/base/trace.h:56: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/base/trace.h:19:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 19 | DECLARE_EVENT_CLASS(devres, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/base/trace.c:10: In file included from ../drivers/base/trace.h:56: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/base/trace.h:19:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/base/trace.c:10: In file included from ../drivers/base/trace.h:56: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/base/trace.h:19:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/base/trace.c:10: In file included from ../drivers/base/trace.h:56: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/base/trace.h:19:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/base/trace.c:10: In file included from ../drivers/base/trace.h:56: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/base/trace.h:19:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/base/trace.c:10: In file included from ../drivers/base/trace.h:56: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/base/trace.h:19:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 12 errors generated. make[5]: *** [../scripts/Makefile.build:244: drivers/base/trace.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: drivers/base] Error 2 In file included from ../drivers/scsi/scsi.c:73: In file included from ../include/trace/events/scsi.h:351: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/scsi.h:157:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 157 | TRACE_EVENT(scsi_dispatch_cmd_start, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/scsi/scsi.c:73: In file included from ../include/trace/events/scsi.h:351: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/scsi.h:157:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/scsi/scsi.c:73: In file included from ../include/trace/events/scsi.h:351: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/scsi.h:157:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/scsi/scsi.c:73: In file included from ../include/trace/events/scsi.h:351: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/scsi.h:157:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/scsi/scsi.c:73: In file included from ../include/trace/events/scsi.h:351: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/scsi.h:157:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/scsi/scsi.c:73: In file included from ../include/trace/events/scsi.h:351: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/scsi.h:157:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/scsi/scsi.c:73: In file included from ../include/trace/events/scsi.h:351: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/scsi.h:203:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 203 | TRACE_EVENT(scsi_dispatch_cmd_error, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/scsi/scsi.c:73: In file included from ../include/trace/events/scsi.h:351: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/scsi.h:203:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/scsi/scsi.c:73: In file included from ../include/trace/events/scsi.h:351: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/scsi.h:203:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/scsi/scsi.c:73: In file included from ../include/trace/events/scsi.h:351: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/scsi.h:203:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/scsi/scsi.c:73: In file included from ../include/trace/events/scsi.h:351: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/scsi.h:203:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/scsi/scsi.c:73: In file included from ../include/trace/events/scsi.h:351: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/scsi.h:203:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/scsi/scsi.c:73: In file included from ../include/trace/events/scsi.h:351: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/scsi.h:253:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 253 | DECLARE_EVENT_CLASS(scsi_cmd_done_timeout_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/scsi/scsi.c:73: In file included from ../include/trace/events/scsi.h:351: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/scsi.h:253:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/scsi/scsi.c:73: In file included from ../include/trace/events/scsi.h:351: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/scsi.h:253:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/scsi/scsi.c:73: In file included from ../include/trace/events/scsi.h:351: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/scsi.h:253:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/scsi/scsi.c:73: In file included from ../include/trace/events/scsi.h:351: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/scsi.h:253:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/scsi/scsi.c:73: In file included from ../include/trace/events/scsi.h:351: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/scsi.h:253:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/scsi/scsi.c:73: In file included from ../include/trace/events/scsi.h:351: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/scsi.h:331:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 331 | TRACE_EVENT(scsi_eh_wakeup, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: drivers/scsi/scsi.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/rnbd/rnbd-srv-trace.h:18:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 18 | DECLARE_EVENT_CLASS(rnbd_srv_link_class, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/rnbd/rnbd-srv-trace.h:18:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/rnbd/rnbd-srv-trace.h:18:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/rnbd/rnbd-srv-trace.h:18:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/rnbd/rnbd-srv-trace.h:18:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/rnbd/rnbd-srv-trace.h:18:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/rnbd/rnbd-srv-trace.h:65:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 65 | TRACE_EVENT(process_rdma, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/rnbd/rnbd-srv-trace.h:65:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/rnbd/rnbd-srv-trace.h:65:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/rnbd/rnbd-srv-trace.h:65:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/rnbd/rnbd-srv-trace.h:65:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/rnbd/rnbd-srv-trace.h:65:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/rnbd/rnbd-srv-trace.h:116:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 116 | TRACE_EVENT(process_msg_sess_info, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/rnbd/rnbd-srv-trace.h:116:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/rnbd/rnbd-srv-trace.h:116:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/rnbd/rnbd-srv-trace.h:116:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/rnbd/rnbd-srv-trace.h:116:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/rnbd/rnbd-srv-trace.h:116:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/rnbd/rnbd-srv-trace.h:154:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 154 | TRACE_EVENT(process_msg_open, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[6]: *** [../scripts/Makefile.build:244: drivers/block/rnbd/rnbd-srv-trace.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: drivers/block/rnbd] Error 2 make[5]: *** Waiting for unfinished jobs.... In file included from ../drivers/regulator/core.c:32: In file included from ../include/trace/events/regulator.h:174: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/regulator.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 15 | DECLARE_EVENT_CLASS(regulator_basic, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/regulator/core.c:32: In file included from ../include/trace/events/regulator.h:174: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/regulator.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/regulator/core.c:32: In file included from ../include/trace/events/regulator.h:174: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/regulator.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/regulator/core.c:32: In file included from ../include/trace/events/regulator.h:174: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/regulator.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/regulator/core.c:32: In file included from ../include/trace/events/regulator.h:174: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/regulator.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/regulator/core.c:32: In file included from ../include/trace/events/regulator.h:174: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/regulator.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/regulator/core.c:32: In file included from ../include/trace/events/regulator.h:174: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/regulator.h:109:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 109 | DECLARE_EVENT_CLASS(regulator_range, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/regulator/core.c:32: In file included from ../include/trace/events/regulator.h:174: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/regulator.h:109:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/regulator/core.c:32: In file included from ../include/trace/events/regulator.h:174: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/regulator.h:109:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/regulator/core.c:32: In file included from ../include/trace/events/regulator.h:174: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/regulator.h:109:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/regulator/core.c:32: In file included from ../include/trace/events/regulator.h:174: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/regulator.h:109:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/regulator/core.c:32: In file included from ../include/trace/events/regulator.h:174: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/regulator.h:109:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/regulator/core.c:32: In file included from ../include/trace/events/regulator.h:174: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/regulator.h:143:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 143 | DECLARE_EVENT_CLASS(regulator_value, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/regulator/core.c:32: In file included from ../include/trace/events/regulator.h:174: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/regulator.h:143:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/regulator/core.c:32: In file included from ../include/trace/events/regulator.h:174: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/regulator.h:143:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/regulator/core.c:32: In file included from ../include/trace/events/regulator.h:174: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/regulator.h:143:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/regulator/core.c:32: In file included from ../include/trace/events/regulator.h:174: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/regulator.h:143:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/regulator/core.c:32: In file included from ../include/trace/events/regulator.h:174: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/regulator.h:143:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/regulator/core.c:32: In file included from ../include/trace/events/regulator.h:174: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/regulator.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 15 | DECLARE_EVENT_CLASS(regulator_basic, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: drivers/regulator/core.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: drivers/regulator] Error 2 In file included from ../mm/swap.c:44: In file included from ../include/trace/events/pagemap.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/pagemap.h:28:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 28 | TRACE_EVENT(mm_lru_insertion, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/swap.c:44: In file included from ../include/trace/events/pagemap.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/pagemap.h:28:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/swap.c:44: In file included from ../include/trace/events/pagemap.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/pagemap.h:28:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/swap.c:44: In file included from ../include/trace/events/pagemap.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/pagemap.h:28:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/swap.c:44: In file included from ../include/trace/events/pagemap.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/pagemap.h:28:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/swap.c:44: In file included from ../include/trace/events/pagemap.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/pagemap.h:28:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/swap.c:44: In file included from ../include/trace/events/pagemap.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/pagemap.h:61:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 61 | TRACE_EVENT(mm_lru_activate, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/swap.c:44: In file included from ../include/trace/events/pagemap.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/pagemap.h:61:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/swap.c:44: In file included from ../include/trace/events/pagemap.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/pagemap.h:61:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/swap.c:44: In file included from ../include/trace/events/pagemap.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/pagemap.h:61:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/swap.c:44: In file included from ../include/trace/events/pagemap.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/pagemap.h:61:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/swap.c:44: In file included from ../include/trace/events/pagemap.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/pagemap.h:61:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/swap.c:44: In file included from ../include/trace/events/pagemap.h:83: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/pagemap.h:28:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 28 | TRACE_EVENT(mm_lru_insertion, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../mm/swap.c:44: In file included from ../include/trace/events/pagemap.h:83: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/pagemap.h:28:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../mm/swap.c:44: In file included from ../include/trace/events/pagemap.h:83: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/pagemap.h:28:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../mm/swap.c:44: In file included from ../include/trace/events/pagemap.h:83: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/pagemap.h:28:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../mm/swap.c:44: In file included from ../include/trace/events/pagemap.h:83: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/pagemap.h:28:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../mm/swap.c:44: In file included from ../include/trace/events/pagemap.h:83: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/pagemap.h:28:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../mm/swap.c:44: In file included from ../include/trace/events/pagemap.h:83: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/pagemap.h:61:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 61 | TRACE_EVENT(mm_lru_activate, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[4]: *** [../scripts/Makefile.build:244: mm/swap.o] Error 1 In file included from ../sound/pci/hda/hda_controller.c:32: In file included from ../sound/pci/hda/hda_controller_trace.h:99: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/pci/hda/hda_controller_trace.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | TRACE_EVENT(azx_pcm_trigger, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/pci/hda/hda_controller.c:32: In file included from ../sound/pci/hda/hda_controller_trace.h:99: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/pci/hda/hda_controller_trace.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/pci/hda/hda_controller.c:32: In file included from ../sound/pci/hda/hda_controller_trace.h:99: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/pci/hda/hda_controller_trace.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/pci/hda/hda_controller.c:32: In file included from ../sound/pci/hda/hda_controller_trace.h:99: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/pci/hda/hda_controller_trace.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/pci/hda/hda_controller.c:32: In file included from ../sound/pci/hda/hda_controller_trace.h:99: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/pci/hda/hda_controller_trace.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/pci/hda/hda_controller.c:32: In file included from ../sound/pci/hda/hda_controller_trace.h:99: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/pci/hda/hda_controller_trace.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/pci/hda/hda_controller.c:32: In file included from ../sound/pci/hda/hda_controller_trace.h:99: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/pci/hda/hda_controller_trace.h:35:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 35 | TRACE_EVENT(azx_get_position, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/pci/hda/hda_controller.c:32: In file included from ../sound/pci/hda/hda_controller_trace.h:99: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/pci/hda/hda_controller_trace.h:35:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/pci/hda/hda_controller.c:32: In file included from ../sound/pci/hda/hda_controller_trace.h:99: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/pci/hda/hda_controller_trace.h:35:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/pci/hda/hda_controller.c:32: In file included from ../sound/pci/hda/hda_controller_trace.h:99: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/pci/hda/hda_controller_trace.h:35:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/pci/hda/hda_controller.c:32: In file included from ../sound/pci/hda/hda_controller_trace.h:99: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/pci/hda/hda_controller_trace.h:35:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/pci/hda/hda_controller.c:32: In file included from ../sound/pci/hda/hda_controller_trace.h:99: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/pci/hda/hda_controller_trace.h:35:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/pci/hda/hda_controller.c:32: In file included from ../sound/pci/hda/hda_controller_trace.h:99: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/pci/hda/hda_controller_trace.h:58:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 58 | DECLARE_EVENT_CLASS(azx_pcm, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/pci/hda/hda_controller.c:32: In file included from ../sound/pci/hda/hda_controller_trace.h:99: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/pci/hda/hda_controller_trace.h:58:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/pci/hda/hda_controller.c:32: In file included from ../sound/pci/hda/hda_controller_trace.h:99: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/pci/hda/hda_controller_trace.h:58:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/pci/hda/hda_controller.c:32: In file included from ../sound/pci/hda/hda_controller_trace.h:99: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/pci/hda/hda_controller_trace.h:58:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/pci/hda/hda_controller.c:32: In file included from ../sound/pci/hda/hda_controller_trace.h:99: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/pci/hda/hda_controller_trace.h:58:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/pci/hda/hda_controller.c:32: In file included from ../sound/pci/hda/hda_controller_trace.h:99: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/pci/hda/hda_controller_trace.h:58:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/pci/hda/hda_controller.c:32: In file included from ../sound/pci/hda/hda_controller_trace.h:99: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../sound/pci/hda/hda_controller_trace.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | TRACE_EVENT(azx_pcm_trigger, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[6]: *** [../scripts/Makefile.build:244: sound/pci/hda/hda_controller.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: sound/pci/hda] Error 2 make[4]: *** [../scripts/Makefile.build:485: sound/pci] Error 2 In file included from ../net/dsa/trace.c:6: In file included from ../net/dsa/trace.h:447: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/dsa/trace.h:24:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 24 | DECLARE_EVENT_CLASS(dsa_port_addr_op_hw, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/dsa/trace.c:6: In file included from ../net/dsa/trace.h:447: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/dsa/trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/dsa/trace.c:6: In file included from ../net/dsa/trace.h:447: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/dsa/trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/dsa/trace.c:6: In file included from ../net/dsa/trace.h:447: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/dsa/trace.h:24:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/dsa/trace.c:6: In file included from ../net/dsa/trace.h:447: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/dsa/trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/dsa/trace.c:6: In file included from ../net/dsa/trace.h:447: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/dsa/trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/dsa/trace.c:6: In file included from ../net/dsa/trace.h:447: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/dsa/trace.h:83:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 83 | DECLARE_EVENT_CLASS(dsa_port_addr_op_refcount, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/dsa/trace.c:6: In file included from ../net/dsa/trace.h:447: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/dsa/trace.h:83:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/dsa/trace.c:6: In file included from ../net/dsa/trace.h:447: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/dsa/trace.h:83:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/dsa/trace.c:6: In file included from ../net/dsa/trace.h:447: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/dsa/trace.h:83:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/dsa/trace.c:6: In file included from ../net/dsa/trace.h:447: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/dsa/trace.h:83:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/dsa/trace.c:6: In file included from ../net/dsa/trace.h:447: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/dsa/trace.h:83:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/dsa/trace.c:6: In file included from ../net/dsa/trace.h:447: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/dsa/trace.h:143:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 143 | DECLARE_EVENT_CLASS(dsa_port_addr_del_not_found, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/dsa/trace.c:6: In file included from ../net/dsa/trace.h:447: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/dsa/trace.h:143:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/dsa/trace.c:6: In file included from ../net/dsa/trace.h:447: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/dsa/trace.h:143:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/dsa/trace.c:6: In file included from ../net/dsa/trace.h:447: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/dsa/trace.h:143:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/dsa/trace.c:6: In file included from ../net/dsa/trace.h:447: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/dsa/trace.h:143:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/dsa/trace.c:6: In file included from ../net/dsa/trace.h:447: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/dsa/trace.h:143:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/dsa/trace.c:6: In file included from ../net/dsa/trace.h:447: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/dsa/trace.h:186:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 186 | TRACE_EVENT(dsa_lag_fdb_add_hw, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: net/dsa/trace.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: net/dsa] Error 2 In file included from ../net/ipv4/icmp.c:97: In file included from ../include/trace/events/icmp.h:66: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/icmp.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 11 | TRACE_EVENT(icmp_send, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/ipv4/icmp.c:97: In file included from ../include/trace/events/icmp.h:66: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/icmp.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/ipv4/icmp.c:97: In file included from ../include/trace/events/icmp.h:66: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/icmp.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/ipv4/icmp.c:97: In file included from ../include/trace/events/icmp.h:66: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/icmp.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/ipv4/icmp.c:97: In file included from ../include/trace/events/icmp.h:66: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/icmp.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/ipv4/icmp.c:97: In file included from ../include/trace/events/icmp.h:66: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/icmp.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/ipv4/icmp.c:97: In file included from ../include/trace/events/icmp.h:66: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/icmp.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 11 | TRACE_EVENT(icmp_send, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../net/ipv4/icmp.c:97: In file included from ../include/trace/events/icmp.h:66: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/icmp.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../net/ipv4/icmp.c:97: In file included from ../include/trace/events/icmp.h:66: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/icmp.h:11:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../net/ipv4/icmp.c:97: In file included from ../include/trace/events/icmp.h:66: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/icmp.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../net/ipv4/icmp.c:97: In file included from ../include/trace/events/icmp.h:66: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/icmp.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../net/ipv4/icmp.c:97: In file included from ../include/trace/events/icmp.h:66: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/icmp.h:11:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 12 errors generated. make[5]: *** [../scripts/Makefile.build:244: net/ipv4/icmp.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: net/ipv4] Error 2 In file included from ../drivers/block/nbd.c:50: In file included from ../include/trace/events/nbd.h:107: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/nbd.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | DECLARE_EVENT_CLASS(nbd_transport_event, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/block/nbd.c:50: In file included from ../include/trace/events/nbd.h:107: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/nbd.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/block/nbd.c:50: In file included from ../include/trace/events/nbd.h:107: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/nbd.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/block/nbd.c:50: In file included from ../include/trace/events/nbd.h:107: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/nbd.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/block/nbd.c:50: In file included from ../include/trace/events/nbd.h:107: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/nbd.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/block/nbd.c:50: In file included from ../include/trace/events/nbd.h:107: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/nbd.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/block/nbd.c:50: In file included from ../include/trace/events/nbd.h:107: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/nbd.h:61:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 61 | DECLARE_EVENT_CLASS(nbd_send_request, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/block/nbd.c:50: In file included from ../include/trace/events/nbd.h:107: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/nbd.h:61:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/block/nbd.c:50: In file included from ../include/trace/events/nbd.h:107: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/nbd.h:61:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/block/nbd.c:50: In file included from ../include/trace/events/nbd.h:107: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/nbd.h:61:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/block/nbd.c:50: In file included from ../include/trace/events/nbd.h:107: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/nbd.h:61:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/block/nbd.c:50: In file included from ../include/trace/events/nbd.h:107: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/nbd.h:61:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/block/nbd.c:50: In file included from ../include/trace/events/nbd.h:107: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/nbd.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | DECLARE_EVENT_CLASS(nbd_transport_event, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/block/nbd.c:50: In file included from ../include/trace/events/nbd.h:107: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/nbd.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/block/nbd.c:50: In file included from ../include/trace/events/nbd.h:107: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/nbd.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/block/nbd.c:50: In file included from ../include/trace/events/nbd.h:107: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/nbd.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/block/nbd.c:50: In file included from ../include/trace/events/nbd.h:107: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/nbd.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/block/nbd.c:50: In file included from ../include/trace/events/nbd.h:107: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/nbd.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/block/nbd.c:50: In file included from ../include/trace/events/nbd.h:107: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/nbd.h:61:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 61 | DECLARE_EVENT_CLASS(nbd_send_request, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: drivers/block/nbd.o] Error 1 In file included from ../net/ipv6/route.c:74: In file included from ../include/trace/events/fib6.h:89: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/fib6.h:13:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 13 | TRACE_EVENT(fib6_table_lookup, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/ipv6/route.c:74: In file included from ../include/trace/events/fib6.h:89: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/fib6.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/ipv6/route.c:74: In file included from ../include/trace/events/fib6.h:89: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/fib6.h:13:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/ipv6/route.c:74: In file included from ../include/trace/events/fib6.h:89: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/fib6.h:13:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/ipv6/route.c:74: In file included from ../include/trace/events/fib6.h:89: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/fib6.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/ipv6/route.c:74: In file included from ../include/trace/events/fib6.h:89: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/fib6.h:13:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/ipv6/route.c:74: In file included from ../include/trace/events/fib6.h:89: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/fib6.h:13:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 13 | TRACE_EVENT(fib6_table_lookup, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../net/ipv6/route.c:74: In file included from ../include/trace/events/fib6.h:89: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/fib6.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../net/ipv6/route.c:74: In file included from ../include/trace/events/fib6.h:89: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/fib6.h:13:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../net/ipv6/route.c:74: In file included from ../include/trace/events/fib6.h:89: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/fib6.h:13:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../net/ipv6/route.c:74: In file included from ../include/trace/events/fib6.h:89: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/fib6.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../net/ipv6/route.c:74: In file included from ../include/trace/events/fib6.h:89: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/fib6.h:13:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 12 errors generated. make[5]: *** [../scripts/Makefile.build:244: net/ipv6/route.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: net/ipv6] Error 2 In file included from ../drivers/nvme/host/core.c:31: In file included from ../drivers/nvme/host/trace.h:172: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/host/trace.h:47:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 47 | TRACE_EVENT(nvme_setup_cmd, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/nvme/host/core.c:31: In file included from ../drivers/nvme/host/trace.h:172: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/host/trace.h:47:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/nvme/host/core.c:31: In file included from ../drivers/nvme/host/trace.h:172: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/host/trace.h:47:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/nvme/host/core.c:31: In file included from ../drivers/nvme/host/trace.h:172: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/host/trace.h:47:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/nvme/host/core.c:31: In file included from ../drivers/nvme/host/trace.h:172: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/host/trace.h:47:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/nvme/host/core.c:31: In file included from ../drivers/nvme/host/trace.h:172: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/host/trace.h:47:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/nvme/host/core.c:31: In file included from ../drivers/nvme/host/trace.h:172: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/host/trace.h:85:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 85 | TRACE_EVENT(nvme_complete_rq, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/nvme/host/core.c:31: In file included from ../drivers/nvme/host/trace.h:172: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/host/trace.h:85:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/nvme/host/core.c:31: In file included from ../drivers/nvme/host/trace.h:172: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/host/trace.h:85:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/nvme/host/core.c:31: In file included from ../drivers/nvme/host/trace.h:172: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/host/trace.h:85:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/nvme/host/core.c:31: In file included from ../drivers/nvme/host/trace.h:172: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/host/trace.h:85:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/nvme/host/core.c:31: In file included from ../drivers/nvme/host/trace.h:172: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/host/trace.h:85:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/nvme/host/core.c:31: In file included from ../drivers/nvme/host/trace.h:172: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/host/trace.h:117:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 117 | TRACE_EVENT(nvme_async_event, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/nvme/host/core.c:31: In file included from ../drivers/nvme/host/trace.h:172: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/host/trace.h:117:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/nvme/host/core.c:31: In file included from ../drivers/nvme/host/trace.h:172: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/host/trace.h:117:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/nvme/host/core.c:31: In file included from ../drivers/nvme/host/trace.h:172: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/host/trace.h:117:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/nvme/host/core.c:31: In file included from ../drivers/nvme/host/trace.h:172: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/host/trace.h:117:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/nvme/host/core.c:31: In file included from ../drivers/nvme/host/trace.h:172: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/host/trace.h:117:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/nvme/host/core.c:31: In file included from ../drivers/nvme/host/trace.h:172: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/host/trace.h:141:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 141 | TRACE_EVENT(nvme_sq, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[6]: *** [../scripts/Makefile.build:244: drivers/nvme/host/core.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: drivers/nvme/host] Error 2 make[4]: *** [../scripts/Makefile.build:485: drivers/nvme] Error 2 In file included from ../drivers/spi/spi.c:39: In file included from ../include/trace/events/spi.h:239: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/spi.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 11 | DECLARE_EVENT_CLASS(spi_controller, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/spi/spi.c:39: In file included from ../include/trace/events/spi.h:239: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/spi.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/spi/spi.c:39: In file included from ../include/trace/events/spi.h:239: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/spi.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/spi/spi.c:39: In file included from ../include/trace/events/spi.h:239: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/spi.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/spi/spi.c:39: In file included from ../include/trace/events/spi.h:239: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/spi.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/spi/spi.c:39: In file included from ../include/trace/events/spi.h:239: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/spi.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/spi/spi.c:39: In file included from ../include/trace/events/spi.h:239: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/spi.h:45:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 45 | TRACE_EVENT(spi_setup, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/spi/spi.c:39: In file included from ../include/trace/events/spi.h:239: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/spi.h:45:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/spi/spi.c:39: In file included from ../include/trace/events/spi.h:239: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/spi.h:45:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/spi/spi.c:39: In file included from ../include/trace/events/spi.h:239: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/spi.h:45:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/spi/spi.c:39: In file included from ../include/trace/events/spi.h:239: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/spi.h:45:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/spi/spi.c:39: In file included from ../include/trace/events/spi.h:239: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/spi.h:45:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/spi/spi.c:39: In file included from ../include/trace/events/spi.h:239: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/spi.h:78:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 78 | TRACE_EVENT(spi_set_cs, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/spi/spi.c:39: In file included from ../include/trace/events/spi.h:239: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/spi.h:78:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/spi/spi.c:39: In file included from ../include/trace/events/spi.h:239: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/spi.h:78:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/spi/spi.c:39: In file included from ../include/trace/events/spi.h:239: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/spi.h:78:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/spi/spi.c:39: In file included from ../include/trace/events/spi.h:239: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/spi.h:78:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/spi/spi.c:39: In file included from ../include/trace/events/spi.h:239: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/spi.h:78:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/spi/spi.c:39: In file included from ../include/trace/events/spi.h:239: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/spi.h:102:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 102 | DECLARE_EVENT_CLASS(spi_message, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: drivers/spi/spi.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: drivers/spi] Error 2 In file included from ../net/tls/trace.c:8: In file included from ../net/tls/trace.h:202: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/tls/trace.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 15 | TRACE_EVENT(tls_device_offload_set, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/tls/trace.c:8: In file included from ../net/tls/trace.h:202: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/tls/trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/tls/trace.c:8: In file included from ../net/tls/trace.h:202: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/tls/trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/tls/trace.c:8: In file included from ../net/tls/trace.h:202: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/tls/trace.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/tls/trace.c:8: In file included from ../net/tls/trace.h:202: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/tls/trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/tls/trace.c:8: In file included from ../net/tls/trace.h:202: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/tls/trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/tls/trace.c:8: In file included from ../net/tls/trace.h:202: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/tls/trace.h:44:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 44 | TRACE_EVENT(tls_device_decrypted, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/tls/trace.c:8: In file included from ../net/tls/trace.h:202: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/tls/trace.h:44:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/tls/trace.c:8: In file included from ../net/tls/trace.h:202: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/tls/trace.h:44:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/tls/trace.c:8: In file included from ../net/tls/trace.h:202: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/tls/trace.h:44:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/tls/trace.c:8: In file included from ../net/tls/trace.h:202: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/tls/trace.h:44:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/tls/trace.c:8: In file included from ../net/tls/trace.h:202: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/tls/trace.h:44:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/tls/trace.c:8: In file included from ../net/tls/trace.h:202: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/tls/trace.h:77:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 77 | TRACE_EVENT(tls_device_rx_resync_send, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/tls/trace.c:8: In file included from ../net/tls/trace.h:202: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/tls/trace.h:77:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/tls/trace.c:8: In file included from ../net/tls/trace.h:202: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/tls/trace.h:77:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/tls/trace.c:8: In file included from ../net/tls/trace.h:202: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/tls/trace.h:77:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/tls/trace.c:8: In file included from ../net/tls/trace.h:202: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/tls/trace.h:77:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/tls/trace.c:8: In file included from ../net/tls/trace.h:202: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/tls/trace.h:77:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/tls/trace.c:8: In file included from ../net/tls/trace.h:202: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/tls/trace.h:104:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 104 | TRACE_EVENT(tls_device_rx_resync_nh_schedule, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: net/tls/trace.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: net/tls] Error 2 In file included from ../net/mctp/af_mctp.c:21: In file included from ../include/trace/events/mctp.h:78: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mctp.h:28:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 28 | TRACE_EVENT(mctp_key_acquire, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/mctp/af_mctp.c:21: In file included from ../include/trace/events/mctp.h:78: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mctp.h:28:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/mctp/af_mctp.c:21: In file included from ../include/trace/events/mctp.h:78: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mctp.h:28:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/mctp/af_mctp.c:21: In file included from ../include/trace/events/mctp.h:78: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mctp.h:28:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/mctp/af_mctp.c:21: In file included from ../include/trace/events/mctp.h:78: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mctp.h:28:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/mctp/af_mctp.c:21: In file included from ../include/trace/events/mctp.h:78: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mctp.h:28:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/mctp/af_mctp.c:21: In file included from ../include/trace/events/mctp.h:78: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mctp.h:48:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 48 | TRACE_EVENT(mctp_key_release, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/mctp/af_mctp.c:21: In file included from ../include/trace/events/mctp.h:78: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mctp.h:48:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/mctp/af_mctp.c:21: In file included from ../include/trace/events/mctp.h:78: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mctp.h:48:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/mctp/af_mctp.c:21: In file included from ../include/trace/events/mctp.h:78: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mctp.h:48:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/mctp/af_mctp.c:21: In file included from ../include/trace/events/mctp.h:78: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mctp.h:48:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/mctp/af_mctp.c:21: In file included from ../include/trace/events/mctp.h:78: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mctp.h:48:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/mctp/af_mctp.c:21: In file included from ../include/trace/events/mctp.h:78: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/mctp.h:28:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 28 | TRACE_EVENT(mctp_key_acquire, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../net/mctp/af_mctp.c:21: In file included from ../include/trace/events/mctp.h:78: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/mctp.h:28:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../net/mctp/af_mctp.c:21: In file included from ../include/trace/events/mctp.h:78: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/mctp.h:28:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../net/mctp/af_mctp.c:21: In file included from ../include/trace/events/mctp.h:78: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/mctp.h:28:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../net/mctp/af_mctp.c:21: In file included from ../include/trace/events/mctp.h:78: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/mctp.h:28:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../net/mctp/af_mctp.c:21: In file included from ../include/trace/events/mctp.h:78: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/mctp.h:28:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../net/mctp/af_mctp.c:21: In file included from ../include/trace/events/mctp.h:78: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/mctp.h:48:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 48 | TRACE_EVENT(mctp_key_release, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: net/mctp/af_mctp.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: net/mctp] Error 2 In file included from ../drivers/firewire/core-trace.c:10: In file included from ../include/trace/events/firewire.h:912: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/firewire.h:39:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 39 | DECLARE_EVENT_CLASS(async_outbound_initiate_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/firewire/core-trace.c:10: In file included from ../include/trace/events/firewire.h:912: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/firewire.h:39:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/firewire/core-trace.c:10: In file included from ../include/trace/events/firewire.h:912: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/firewire.h:39:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/firewire/core-trace.c:10: In file included from ../include/trace/events/firewire.h:912: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/firewire.h:39:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/firewire/core-trace.c:10: In file included from ../include/trace/events/firewire.h:912: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/firewire.h:39:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/firewire/core-trace.c:10: In file included from ../include/trace/events/firewire.h:912: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/firewire.h:39:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/firewire/core-trace.c:10: In file included from ../include/trace/events/firewire.h:912: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/firewire.h:77:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 77 | DECLARE_EVENT_CLASS(async_outbound_complete_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/firewire/core-trace.c:10: In file included from ../include/trace/events/firewire.h:912: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/firewire.h:77:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/firewire/core-trace.c:10: In file included from ../include/trace/events/firewire.h:912: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/firewire.h:77:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/firewire/core-trace.c:10: In file included from ../include/trace/events/firewire.h:912: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/firewire.h:77:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/firewire/core-trace.c:10: In file included from ../include/trace/events/firewire.h:912: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/firewire.h:77:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/firewire/core-trace.c:10: In file included from ../include/trace/events/firewire.h:912: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/firewire.h:77:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/firewire/core-trace.c:10: In file included from ../include/trace/events/firewire.h:912: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/firewire.h:108:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 108 | DECLARE_EVENT_CLASS(async_inbound_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/firewire/core-trace.c:10: In file included from ../include/trace/events/firewire.h:912: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/firewire.h:108:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/firewire/core-trace.c:10: In file included from ../include/trace/events/firewire.h:912: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/firewire.h:108:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/firewire/core-trace.c:10: In file included from ../include/trace/events/firewire.h:912: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/firewire.h:108:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/firewire/core-trace.c:10: In file included from ../include/trace/events/firewire.h:912: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/firewire.h:108:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/firewire/core-trace.c:10: In file included from ../include/trace/events/firewire.h:912: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/firewire.h:108:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/firewire/core-trace.c:10: In file included from ../include/trace/events/firewire.h:912: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/firewire.h:220:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 220 | TRACE_EVENT(async_phy_outbound_initiate, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: drivers/firewire/core-trace.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | TRACE_EVENT(pmic_pdcharger_ulog_msg, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | TRACE_EVENT(pmic_pdcharger_ulog_msg, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 12 errors generated. make[6]: *** [../scripts/Makefile.build:244: drivers/soc/qcom/pmic_pdcharger_ulog.o] Error 1 In file included from ../drivers/net/phy/mdio_bus.c:38: In file included from ../include/trace/events/mdio.h:43: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mdio.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | TRACE_EVENT_CONDITION(mdio_access, | ^ ../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' 32 | TRACE_EVENT(name, \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/phy/mdio_bus.c:38: In file included from ../include/trace/events/mdio.h:43: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mdio.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' 32 | TRACE_EVENT(name, \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/phy/mdio_bus.c:38: In file included from ../include/trace/events/mdio.h:43: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mdio.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' 32 | TRACE_EVENT(name, \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/phy/mdio_bus.c:38: In file included from ../include/trace/events/mdio.h:43: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mdio.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' 32 | TRACE_EVENT(name, \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/phy/mdio_bus.c:38: In file included from ../include/trace/events/mdio.h:43: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mdio.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' 32 | TRACE_EVENT(name, \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/phy/mdio_bus.c:38: In file included from ../include/trace/events/mdio.h:43: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mdio.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' 32 | TRACE_EVENT(name, \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/phy/mdio_bus.c:38: In file included from ../include/trace/events/mdio.h:43: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/mdio.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | TRACE_EVENT_CONDITION(mdio_access, | ^ ../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' 32 | TRACE_EVENT(name, \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/phy/mdio_bus.c:38: In file included from ../include/trace/events/mdio.h:43: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/mdio.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' 32 | TRACE_EVENT(name, \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/phy/mdio_bus.c:38: In file included from ../include/trace/events/mdio.h:43: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/mdio.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' 32 | TRACE_EVENT(name, \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/phy/mdio_bus.c:38: In file included from ../include/trace/events/mdio.h:43: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/mdio.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' 32 | TRACE_EVENT(name, \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/phy/mdio_bus.c:38: In file included from ../include/trace/events/mdio.h:43: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/mdio.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' 32 | TRACE_EVENT(name, \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/phy/mdio_bus.c:38: In file included from ../include/trace/events/mdio.h:43: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/mdio.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' 32 | TRACE_EVENT(name, \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 12 errors generated. make[6]: *** [../scripts/Makefile.build:244: drivers/net/phy/mdio_bus.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: drivers/net/phy] Error 2 make[5]: *** Waiting for unfinished jobs.... In file included from ../mm/vmscan.c:71: In file included from ../include/trace/events/vmscan.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/vmscan.h:49:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 49 | TRACE_EVENT(mm_vmscan_kswapd_sleep, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/vmscan.c:71: In file included from ../include/trace/events/vmscan.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/vmscan.h:49:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/vmscan.c:71: In file included from ../include/trace/events/vmscan.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/vmscan.h:49:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/vmscan.c:71: In file included from ../include/trace/events/vmscan.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/vmscan.h:49:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/vmscan.c:71: In file included from ../include/trace/events/vmscan.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/vmscan.h:49:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/vmscan.c:71: In file included from ../include/trace/events/vmscan.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/vmscan.h:49:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/vmscan.c:71: In file included from ../include/trace/events/vmscan.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/vmscan.h:66:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 66 | TRACE_EVENT(mm_vmscan_kswapd_wake, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/vmscan.c:71: In file included from ../include/trace/events/vmscan.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/vmscan.h:66:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/vmscan.c:71: In file included from ../include/trace/events/vmscan.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/vmscan.h:66:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/vmscan.c:71: In file included from ../include/trace/events/vmscan.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/vmscan.h:66:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/vmscan.c:71: In file included from ../include/trace/events/vmscan.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/vmscan.h:66:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/vmscan.c:71: In file included from ../include/trace/events/vmscan.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/vmscan.h:66:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/vmscan.c:71: In file included from ../include/trace/events/vmscan.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/vmscan.h:89:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 89 | TRACE_EVENT(mm_vmscan_wakeup_kswapd, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/vmscan.c:71: In file included from ../include/trace/events/vmscan.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/vmscan.h:89:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/vmscan.c:71: In file included from ../include/trace/events/vmscan.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/vmscan.h:89:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/vmscan.c:71: In file included from ../include/trace/events/vmscan.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/vmscan.h:89:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/vmscan.c:71: In file included from ../include/trace/events/vmscan.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/vmscan.h:89:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/vmscan.c:71: In file included from ../include/trace/events/vmscan.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/vmscan.h:89:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/vmscan.c:71: In file included from ../include/trace/events/vmscan.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/vmscan.h:115:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 115 | DECLARE_EVENT_CLASS(mm_vmscan_direct_reclaim_begin_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[4]: *** [../scripts/Makefile.build:244: mm/vmscan.o] Error 1 In file included from ../net/core/net-traces.c:30: In file included from ../include/trace/events/skb.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/skb.h:24:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 24 | TRACE_EVENT(kfree_skb, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/core/net-traces.c:30: In file included from ../include/trace/events/skb.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/skb.h:24:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/core/net-traces.c:30: In file included from ../include/trace/events/skb.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/skb.h:24:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/core/net-traces.c:30: In file included from ../include/trace/events/skb.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/skb.h:24:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/core/net-traces.c:30: In file included from ../include/trace/events/skb.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/skb.h:24:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/core/net-traces.c:30: In file included from ../include/trace/events/skb.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/skb.h:24:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/core/net-traces.c:30: In file included from ../include/trace/events/skb.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/skb.h:57:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 57 | TRACE_EVENT(consume_skb, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/core/net-traces.c:30: In file included from ../include/trace/events/skb.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/skb.h:57:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/core/net-traces.c:30: In file included from ../include/trace/events/skb.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/skb.h:57:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/core/net-traces.c:30: In file included from ../include/trace/events/skb.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/skb.h:57:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/core/net-traces.c:30: In file included from ../include/trace/events/skb.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/skb.h:57:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/core/net-traces.c:30: In file included from ../include/trace/events/skb.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/skb.h:57:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/core/net-traces.c:30: In file included from ../include/trace/events/skb.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/skb.h:76:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 76 | TRACE_EVENT(skb_copy_datagram_iovec, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/core/net-traces.c:30: In file included from ../include/trace/events/skb.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/skb.h:76:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/core/net-traces.c:30: In file included from ../include/trace/events/skb.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/skb.h:76:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/core/net-traces.c:30: In file included from ../include/trace/events/skb.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/skb.h:76:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/core/net-traces.c:30: In file included from ../include/trace/events/skb.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/skb.h:76:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/core/net-traces.c:30: In file included from ../include/trace/events/skb.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/skb.h:76:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/core/net-traces.c:30: In file included from ../include/trace/events/skb.h:98: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/skb.h:24:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 24 | TRACE_EVENT(kfree_skb, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: net/core/net-traces.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: net/core] Error 2 In file included from ../kernel/signal.c:53: In file included from ../include/trace/events/signal.h:125: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/signal.h:50:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 50 | TRACE_EVENT(signal_generate, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/signal.c:53: In file included from ../include/trace/events/signal.h:125: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/signal.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/signal.c:53: In file included from ../include/trace/events/signal.h:125: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/signal.h:50:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/signal.c:53: In file included from ../include/trace/events/signal.h:125: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/signal.h:50:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/signal.c:53: In file included from ../include/trace/events/signal.h:125: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/signal.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/signal.c:53: In file included from ../include/trace/events/signal.h:125: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/signal.h:50:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/signal.c:53: In file included from ../include/trace/events/signal.h:125: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/signal.h:96:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 96 | TRACE_EVENT(signal_deliver, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/signal.c:53: In file included from ../include/trace/events/signal.h:125: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/signal.h:96:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/signal.c:53: In file included from ../include/trace/events/signal.h:125: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/signal.h:96:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/signal.c:53: In file included from ../include/trace/events/signal.h:125: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/signal.h:96:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/signal.c:53: In file included from ../include/trace/events/signal.h:125: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/signal.h:96:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/signal.c:53: In file included from ../include/trace/events/signal.h:125: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/signal.h:96:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/signal.c:53: In file included from ../include/trace/events/signal.h:125: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/signal.h:50:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 50 | TRACE_EVENT(signal_generate, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../kernel/signal.c:53: In file included from ../include/trace/events/signal.h:125: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/signal.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../kernel/signal.c:53: In file included from ../include/trace/events/signal.h:125: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/signal.h:50:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../kernel/signal.c:53: In file included from ../include/trace/events/signal.h:125: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/signal.h:50:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../kernel/signal.c:53: In file included from ../include/trace/events/signal.h:125: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/signal.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../kernel/signal.c:53: In file included from ../include/trace/events/signal.h:125: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/signal.h:50:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../kernel/signal.c:53: In file included from ../include/trace/events/signal.h:125: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/signal.h:96:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 96 | TRACE_EVENT(signal_deliver, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[4]: *** [../scripts/Makefile.build:244: kernel/signal.o] Error 1 In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 15 | DECLARE_EVENT_CLASS(mv88e6xxx_atu_violation, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/dsa/mv88e6xxx/trace.h:58:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 58 | DECLARE_EVENT_CLASS(mv88e6xxx_vtu_violation, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/dsa/mv88e6xxx/trace.h:58:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/dsa/mv88e6xxx/trace.h:58:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/dsa/mv88e6xxx/trace.h:58:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/dsa/mv88e6xxx/trace.h:58:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/dsa/mv88e6xxx/trace.h:58:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 15 | DECLARE_EVENT_CLASS(mv88e6xxx_atu_violation, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/dsa/mv88e6xxx/trace.h:58:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 58 | DECLARE_EVENT_CLASS(mv88e6xxx_vtu_violation, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[7]: *** [../scripts/Makefile.build:244: drivers/net/dsa/mv88e6xxx/trace.o] Error 1 make[6]: *** [../scripts/Makefile.build:485: drivers/net/dsa/mv88e6xxx] Error 2 In file included from ../net/handshake/trace.c:22: In file included from ../include/trace/events/handshake.h:319: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/handshake.h:90:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 90 | DECLARE_EVENT_CLASS(handshake_event_class, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/handshake/trace.c:22: In file included from ../include/trace/events/handshake.h:319: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/handshake.h:90:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/handshake/trace.c:22: In file included from ../include/trace/events/handshake.h:319: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/handshake.h:90:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/handshake/trace.c:22: In file included from ../include/trace/events/handshake.h:319: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/handshake.h:90:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/handshake/trace.c:22: In file included from ../include/trace/events/handshake.h:319: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/handshake.h:90:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/handshake/trace.c:22: In file included from ../include/trace/events/handshake.h:319: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/handshake.h:90:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/handshake/trace.c:22: In file included from ../include/trace/events/handshake.h:319: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/handshake.h:120:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 120 | DECLARE_EVENT_CLASS(handshake_fd_class, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/handshake/trace.c:22: In file included from ../include/trace/events/handshake.h:319: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/handshake.h:120:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/handshake/trace.c:22: In file included from ../include/trace/events/handshake.h:319: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/handshake.h:120:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/handshake/trace.c:22: In file included from ../include/trace/events/handshake.h:319: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/handshake.h:120:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/handshake/trace.c:22: In file included from ../include/trace/events/handshake.h:319: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/handshake.h:120:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/handshake/trace.c:22: In file included from ../include/trace/events/handshake.h:319: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/handshake.h:120:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/handshake/trace.c:22: In file included from ../include/trace/events/handshake.h:319: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/handshake.h:154:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 154 | DECLARE_EVENT_CLASS(handshake_error_class, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/handshake/trace.c:22: In file included from ../include/trace/events/handshake.h:319: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/handshake.h:154:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/handshake/trace.c:22: In file included from ../include/trace/events/handshake.h:319: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/handshake.h:154:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/handshake/trace.c:22: In file included from ../include/trace/events/handshake.h:319: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/handshake.h:154:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/handshake/trace.c:22: In file included from ../include/trace/events/handshake.h:319: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/handshake.h:154:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/handshake/trace.c:22: In file included from ../include/trace/events/handshake.h:319: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/handshake.h:154:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/handshake/trace.c:22: In file included from ../include/trace/events/handshake.h:319: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/handshake.h:188:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 188 | DECLARE_EVENT_CLASS(handshake_alert_class, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: net/handshake/trace.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: net/handshake] Error 2 make[5]: *** [../scripts/Makefile.build:485: drivers/net/dsa] Error 2 In file included from ../drivers/dma/tegra20-apb-dma.c:31: In file included from ../include/trace/events/tegra_apb_dma.h:61: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/tegra_apb_dma.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | TRACE_EVENT(tegra_dma_tx_status, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma/tegra20-apb-dma.c:31: In file included from ../include/trace/events/tegra_apb_dma.h:61: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/tegra_apb_dma.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma/tegra20-apb-dma.c:31: In file included from ../include/trace/events/tegra_apb_dma.h:61: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/tegra_apb_dma.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma/tegra20-apb-dma.c:31: In file included from ../include/trace/events/tegra_apb_dma.h:61: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/tegra_apb_dma.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma/tegra20-apb-dma.c:31: In file included from ../include/trace/events/tegra_apb_dma.h:61: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/tegra_apb_dma.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma/tegra20-apb-dma.c:31: In file included from ../include/trace/events/tegra_apb_dma.h:61: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/tegra_apb_dma.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma/tegra20-apb-dma.c:31: In file included from ../include/trace/events/tegra_apb_dma.h:61: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/tegra_apb_dma.h:27:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 27 | TRACE_EVENT(tegra_dma_complete_cb, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma/tegra20-apb-dma.c:31: In file included from ../include/trace/events/tegra_apb_dma.h:61: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/tegra_apb_dma.h:27:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma/tegra20-apb-dma.c:31: In file included from ../include/trace/events/tegra_apb_dma.h:61: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/tegra_apb_dma.h:27:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma/tegra20-apb-dma.c:31: In file included from ../include/trace/events/tegra_apb_dma.h:61: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/tegra_apb_dma.h:27:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma/tegra20-apb-dma.c:31: In file included from ../include/trace/events/tegra_apb_dma.h:61: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/tegra_apb_dma.h:27:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma/tegra20-apb-dma.c:31: In file included from ../include/trace/events/tegra_apb_dma.h:61: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/tegra_apb_dma.h:27:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma/tegra20-apb-dma.c:31: In file included from ../include/trace/events/tegra_apb_dma.h:61: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/tegra_apb_dma.h:44:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 44 | TRACE_EVENT(tegra_dma_isr, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma/tegra20-apb-dma.c:31: In file included from ../include/trace/events/tegra_apb_dma.h:61: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/tegra_apb_dma.h:44:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma/tegra20-apb-dma.c:31: In file included from ../include/trace/events/tegra_apb_dma.h:61: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/tegra_apb_dma.h:44:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma/tegra20-apb-dma.c:31: In file included from ../include/trace/events/tegra_apb_dma.h:61: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/tegra_apb_dma.h:44:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma/tegra20-apb-dma.c:31: In file included from ../include/trace/events/tegra_apb_dma.h:61: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/tegra_apb_dma.h:44:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma/tegra20-apb-dma.c:31: In file included from ../include/trace/events/tegra_apb_dma.h:61: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/tegra_apb_dma.h:44:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma/tegra20-apb-dma.c:31: In file included from ../include/trace/events/tegra_apb_dma.h:61: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/tegra_apb_dma.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | TRACE_EVENT(tegra_dma_tx_status, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: drivers/dma/tegra20-apb-dma.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: drivers/dma] Error 2 In file included from ../drivers/gpu/drm/drm_trace_points.c:5: In file included from ../drivers/gpu/drm/drm_trace.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/drm_trace.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 15 | TRACE_EVENT(drm_vblank_event, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/drm_trace_points.c:5: In file included from ../drivers/gpu/drm/drm_trace.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/drm_trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/drm_trace_points.c:5: In file included from ../drivers/gpu/drm/drm_trace.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/drm_trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/drm_trace_points.c:5: In file included from ../drivers/gpu/drm/drm_trace.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/drm_trace.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/drm_trace_points.c:5: In file included from ../drivers/gpu/drm/drm_trace.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/drm_trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/drm_trace_points.c:5: In file included from ../drivers/gpu/drm/drm_trace.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/drm_trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/drm_trace_points.c:5: In file included from ../drivers/gpu/drm/drm_trace.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/drm_trace.h:35:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 35 | TRACE_EVENT(drm_vblank_event_queued, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/drm_trace_points.c:5: In file included from ../drivers/gpu/drm/drm_trace.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/drm_trace.h:35:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/drm_trace_points.c:5: In file included from ../drivers/gpu/drm/drm_trace.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/drm_trace.h:35:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/drm_trace_points.c:5: In file included from ../drivers/gpu/drm/drm_trace.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/drm_trace.h:35:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/drm_trace_points.c:5: In file included from ../drivers/gpu/drm/drm_trace.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/drm_trace.h:35:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/drm_trace_points.c:5: In file included from ../drivers/gpu/drm/drm_trace.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/drm_trace.h:35:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/drm_trace_points.c:5: In file included from ../drivers/gpu/drm/drm_trace.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/drm_trace.h:52:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 52 | TRACE_EVENT(drm_vblank_event_delivered, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/drm_trace_points.c:5: In file included from ../drivers/gpu/drm/drm_trace.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/drm_trace.h:52:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/drm_trace_points.c:5: In file included from ../drivers/gpu/drm/drm_trace.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/drm_trace.h:52:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/drm_trace_points.c:5: In file included from ../drivers/gpu/drm/drm_trace.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/drm_trace.h:52:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/drm_trace_points.c:5: In file included from ../drivers/gpu/drm/drm_trace.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/drm_trace.h:52:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/drm_trace_points.c:5: In file included from ../drivers/gpu/drm/drm_trace.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/drm_trace.h:52:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/drm_trace_points.c:5: In file included from ../drivers/gpu/drm/drm_trace.h:74: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/drm_trace.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 15 | TRACE_EVENT(drm_vblank_event, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[6]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/drm_trace_points.o] Error 1 make[6]: *** Waiting for unfinished jobs.... In file included from ../drivers/soc/qcom/rpmh-rsc.c:38: In file included from ../drivers/soc/qcom/trace-rpmh.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-rpmh.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 15 | TRACE_EVENT(rpmh_tx_done, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/soc/qcom/rpmh-rsc.c:38: In file included from ../drivers/soc/qcom/trace-rpmh.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-rpmh.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/soc/qcom/rpmh-rsc.c:38: In file included from ../drivers/soc/qcom/trace-rpmh.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-rpmh.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/soc/qcom/rpmh-rsc.c:38: In file included from ../drivers/soc/qcom/trace-rpmh.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-rpmh.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/soc/qcom/rpmh-rsc.c:38: In file included from ../drivers/soc/qcom/trace-rpmh.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-rpmh.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/soc/qcom/rpmh-rsc.c:38: In file included from ../drivers/soc/qcom/trace-rpmh.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-rpmh.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/soc/qcom/rpmh-rsc.c:38: In file included from ../drivers/soc/qcom/trace-rpmh.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-rpmh.h:39:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 39 | TRACE_EVENT(rpmh_send_msg, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/soc/qcom/rpmh-rsc.c:38: In file included from ../drivers/soc/qcom/trace-rpmh.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-rpmh.h:39:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/soc/qcom/rpmh-rsc.c:38: In file included from ../drivers/soc/qcom/trace-rpmh.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-rpmh.h:39:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/soc/qcom/rpmh-rsc.c:38: In file included from ../drivers/soc/qcom/trace-rpmh.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-rpmh.h:39:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/soc/qcom/rpmh-rsc.c:38: In file included from ../drivers/soc/qcom/trace-rpmh.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-rpmh.h:39:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/soc/qcom/rpmh-rsc.c:38: In file included from ../drivers/soc/qcom/trace-rpmh.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-rpmh.h:39:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/soc/qcom/rpmh-rsc.c:38: In file included from ../drivers/soc/qcom/trace-rpmh.h:87: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/soc/qcom/trace-rpmh.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 15 | TRACE_EVENT(rpmh_tx_done, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/soc/qcom/rpmh-rsc.c:38: In file included from ../drivers/soc/qcom/trace-rpmh.h:87: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/soc/qcom/trace-rpmh.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/soc/qcom/rpmh-rsc.c:38: In file included from ../drivers/soc/qcom/trace-rpmh.h:87: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/soc/qcom/trace-rpmh.h:15:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/soc/qcom/rpmh-rsc.c:38: In file included from ../drivers/soc/qcom/trace-rpmh.h:87: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/soc/qcom/trace-rpmh.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/soc/qcom/rpmh-rsc.c:38: In file included from ../drivers/soc/qcom/trace-rpmh.h:87: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/soc/qcom/trace-rpmh.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/soc/qcom/rpmh-rsc.c:38: In file included from ../drivers/soc/qcom/trace-rpmh.h:87: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/soc/qcom/trace-rpmh.h:15:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/soc/qcom/rpmh-rsc.c:38: In file included from ../drivers/soc/qcom/trace-rpmh.h:87: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/soc/qcom/trace-rpmh.h:39:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 39 | TRACE_EVENT(rpmh_send_msg, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[6]: *** [../scripts/Makefile.build:244: drivers/soc/qcom/rpmh-rsc.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: drivers/soc/qcom] Error 2 make[4]: *** [../scripts/Makefile.build:485: drivers/soc] Error 2 In file included from ../drivers/firewire/ohci.c:51: In file included from ../include/trace/events/firewire_ohci.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/firewire_ohci.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | TRACE_EVENT(irqs, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/firewire/ohci.c:51: In file included from ../include/trace/events/firewire_ohci.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/firewire_ohci.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/firewire/ohci.c:51: In file included from ../include/trace/events/firewire_ohci.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/firewire_ohci.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/firewire/ohci.c:51: In file included from ../include/trace/events/firewire_ohci.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/firewire_ohci.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/firewire/ohci.c:51: In file included from ../include/trace/events/firewire_ohci.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/firewire_ohci.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/firewire/ohci.c:51: In file included from ../include/trace/events/firewire_ohci.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/firewire_ohci.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/firewire/ohci.c:51: In file included from ../include/trace/events/firewire_ohci.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/firewire_ohci.h:61:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 61 | TRACE_EVENT(self_id_complete, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/firewire/ohci.c:51: In file included from ../include/trace/events/firewire_ohci.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/firewire_ohci.h:61:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/firewire/ohci.c:51: In file included from ../include/trace/events/firewire_ohci.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/firewire_ohci.h:61:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/firewire/ohci.c:51: In file included from ../include/trace/events/firewire_ohci.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/firewire_ohci.h:61:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/firewire/ohci.c:51: In file included from ../include/trace/events/firewire_ohci.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/firewire_ohci.h:61:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/firewire/ohci.c:51: In file included from ../include/trace/events/firewire_ohci.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/firewire_ohci.h:61:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/firewire/ohci.c:51: In file included from ../include/trace/events/firewire_ohci.h:101: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/firewire_ohci.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | TRACE_EVENT(irqs, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/firewire/ohci.c:51: In file included from ../include/trace/events/firewire_ohci.h:101: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/firewire_ohci.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/firewire/ohci.c:51: In file included from ../include/trace/events/firewire_ohci.h:101: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/firewire_ohci.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/firewire/ohci.c:51: In file included from ../include/trace/events/firewire_ohci.h:101: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/firewire_ohci.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/firewire/ohci.c:51: In file included from ../include/trace/events/firewire_ohci.h:101: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/firewire_ohci.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/firewire/ohci.c:51: In file included from ../include/trace/events/firewire_ohci.h:101: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/firewire_ohci.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/firewire/ohci.c:51: In file included from ../include/trace/events/firewire_ohci.h:101: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/firewire_ohci.h:61:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 61 | TRACE_EVENT(self_id_complete, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: drivers/firewire/ohci.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: drivers/firewire] Error 2 In file included from ../net/mptcp/protocol.c:30: In file included from ../include/trace/events/mptcp.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mptcp.h:18:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 18 | TRACE_EVENT(mptcp_subflow_get_send, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/mptcp/protocol.c:30: In file included from ../include/trace/events/mptcp.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mptcp.h:18:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/mptcp/protocol.c:30: In file included from ../include/trace/events/mptcp.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mptcp.h:18:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/mptcp/protocol.c:30: In file included from ../include/trace/events/mptcp.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mptcp.h:18:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/mptcp/protocol.c:30: In file included from ../include/trace/events/mptcp.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mptcp.h:18:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/mptcp/protocol.c:30: In file included from ../include/trace/events/mptcp.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mptcp.h:18:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/mptcp/protocol.c:30: In file included from ../include/trace/events/mptcp.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mptcp.h:65:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 65 | DECLARE_EVENT_CLASS(mptcp_dump_mpext, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/mptcp/protocol.c:30: In file included from ../include/trace/events/mptcp.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mptcp.h:65:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/mptcp/protocol.c:30: In file included from ../include/trace/events/mptcp.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mptcp.h:65:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/mptcp/protocol.c:30: In file included from ../include/trace/events/mptcp.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mptcp.h:65:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/mptcp/protocol.c:30: In file included from ../include/trace/events/mptcp.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mptcp.h:65:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/mptcp/protocol.c:30: In file included from ../include/trace/events/mptcp.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mptcp.h:65:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/mptcp/protocol.c:30: In file included from ../include/trace/events/mptcp.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mptcp.h:128:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 128 | TRACE_EVENT(ack_update_msk, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/mptcp/protocol.c:30: In file included from ../include/trace/events/mptcp.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mptcp.h:128:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/mptcp/protocol.c:30: In file included from ../include/trace/events/mptcp.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mptcp.h:128:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/mptcp/protocol.c:30: In file included from ../include/trace/events/mptcp.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mptcp.h:128:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/mptcp/protocol.c:30: In file included from ../include/trace/events/mptcp.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mptcp.h:128:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/mptcp/protocol.c:30: In file included from ../include/trace/events/mptcp.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mptcp.h:128:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/mptcp/protocol.c:30: In file included from ../include/trace/events/mptcp.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mptcp.h:160:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 160 | TRACE_EVENT(subflow_check_data_avail, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: net/mptcp/protocol.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: net/mptcp] Error 2 In file included from ../drivers/net/wireless/ath/trace.c:20: In file included from ../drivers/net/wireless/ath/trace.h:68: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/trace.h:33:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 33 | TRACE_EVENT(ath_log, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/trace.c:20: In file included from ../drivers/net/wireless/ath/trace.h:68: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/trace.c:20: In file included from ../drivers/net/wireless/ath/trace.h:68: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/trace.c:20: In file included from ../drivers/net/wireless/ath/trace.h:68: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/trace.h:33:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/trace.c:20: In file included from ../drivers/net/wireless/ath/trace.h:68: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/trace.c:20: In file included from ../drivers/net/wireless/ath/trace.h:68: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/trace.c:20: In file included from ../drivers/net/wireless/ath/trace.h:68: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/ath/trace.h:33:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 33 | TRACE_EVENT(ath_log, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/wireless/ath/trace.c:20: In file included from ../drivers/net/wireless/ath/trace.h:68: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/ath/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/wireless/ath/trace.c:20: In file included from ../drivers/net/wireless/ath/trace.h:68: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/ath/trace.h:33:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/wireless/ath/trace.c:20: In file included from ../drivers/net/wireless/ath/trace.h:68: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/ath/trace.h:33:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/trace.c:20: In file included from ../drivers/net/wireless/ath/trace.h:68: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/ath/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/trace.c:20: In file included from ../drivers/net/wireless/ath/trace.h:68: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/ath/trace.h:33:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 12 errors generated. make[7]: *** [../scripts/Makefile.build:244: drivers/net/wireless/ath/trace.o] Error 1 make[7]: *** Waiting for unfinished jobs.... In file included from ../mm/percpu.c:97: In file included from ../include/trace/events/percpu.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/percpu.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 11 | TRACE_EVENT(percpu_alloc_percpu, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/percpu.c:97: In file included from ../include/trace/events/percpu.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/percpu.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/percpu.c:97: In file included from ../include/trace/events/percpu.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/percpu.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/percpu.c:97: In file included from ../include/trace/events/percpu.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/percpu.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/percpu.c:97: In file included from ../include/trace/events/percpu.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/percpu.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/percpu.c:97: In file included from ../include/trace/events/percpu.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/percpu.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/percpu.c:97: In file included from ../include/trace/events/percpu.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/percpu.h:54:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 54 | TRACE_EVENT(percpu_free_percpu, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/percpu.c:97: In file included from ../include/trace/events/percpu.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/percpu.h:54:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/percpu.c:97: In file included from ../include/trace/events/percpu.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/percpu.h:54:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/percpu.c:97: In file included from ../include/trace/events/percpu.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/percpu.h:54:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/percpu.c:97: In file included from ../include/trace/events/percpu.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/percpu.h:54:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/percpu.c:97: In file included from ../include/trace/events/percpu.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/percpu.h:54:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/percpu.c:97: In file included from ../include/trace/events/percpu.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/percpu.h:76:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 76 | TRACE_EVENT(percpu_alloc_percpu_fail, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/percpu.c:97: In file included from ../include/trace/events/percpu.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/percpu.h:76:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/percpu.c:97: In file included from ../include/trace/events/percpu.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/percpu.h:76:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/percpu.c:97: In file included from ../include/trace/events/percpu.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/percpu.h:76:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/percpu.c:97: In file included from ../include/trace/events/percpu.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/percpu.h:76:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/percpu.c:97: In file included from ../include/trace/events/percpu.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/percpu.h:76:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/percpu.c:97: In file included from ../include/trace/events/percpu.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/percpu.h:101:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 101 | TRACE_EVENT(percpu_create_chunk, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[4]: *** [../scripts/Makefile.build:244: mm/percpu.o] Error 1 In file included from ../drivers/block/null_blk/zoned.c:7: In file included from ../drivers/block/null_blk/trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/null_blk/trace.h:33:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 33 | TRACE_EVENT(nullb_zone_op, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/block/null_blk/zoned.c:7: In file included from ../drivers/block/null_blk/trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/null_blk/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/block/null_blk/zoned.c:7: In file included from ../drivers/block/null_blk/trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/null_blk/trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/block/null_blk/zoned.c:7: In file included from ../drivers/block/null_blk/trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/null_blk/trace.h:33:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/block/null_blk/zoned.c:7: In file included from ../drivers/block/null_blk/trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/null_blk/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/block/null_blk/zoned.c:7: In file included from ../drivers/block/null_blk/trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/null_blk/trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/block/null_blk/zoned.c:7: In file included from ../drivers/block/null_blk/trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/null_blk/trace.h:62:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 62 | TRACE_EVENT(nullb_report_zones, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/block/null_blk/zoned.c:7: In file included from ../drivers/block/null_blk/trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/null_blk/trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/block/null_blk/zoned.c:7: In file included from ../drivers/block/null_blk/trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/null_blk/trace.h:62:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/block/null_blk/zoned.c:7: In file included from ../drivers/block/null_blk/trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/null_blk/trace.h:62:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/block/null_blk/zoned.c:7: In file included from ../drivers/block/null_blk/trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/null_blk/trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/block/null_blk/zoned.c:7: In file included from ../drivers/block/null_blk/trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/null_blk/trace.h:62:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/block/null_blk/zoned.c:7: In file included from ../drivers/block/null_blk/trace.h:85: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/block/null_blk/trace.h:33:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 33 | TRACE_EVENT(nullb_zone_op, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/block/null_blk/zoned.c:7: In file included from ../drivers/block/null_blk/trace.h:85: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/block/null_blk/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/block/null_blk/zoned.c:7: In file included from ../drivers/block/null_blk/trace.h:85: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/block/null_blk/trace.h:33:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/block/null_blk/zoned.c:7: In file included from ../drivers/block/null_blk/trace.h:85: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/block/null_blk/trace.h:33:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/block/null_blk/zoned.c:7: In file included from ../drivers/block/null_blk/trace.h:85: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/block/null_blk/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/block/null_blk/zoned.c:7: In file included from ../drivers/block/null_blk/trace.h:85: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/block/null_blk/trace.h:33:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/block/null_blk/zoned.c:7: In file included from ../drivers/block/null_blk/trace.h:85: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/block/null_blk/trace.h:62:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 62 | TRACE_EVENT(nullb_report_zones, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[6]: *** [../scripts/Makefile.build:244: drivers/block/null_blk/zoned.o] Error 1 In file included from ../mm/slab_common.c:36: In file included from ../include/trace/events/kmem.h:415: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kmem.h:12:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 12 | TRACE_EVENT(kmem_cache_alloc, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/slab_common.c:36: In file included from ../include/trace/events/kmem.h:415: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kmem.h:12:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/slab_common.c:36: In file included from ../include/trace/events/kmem.h:415: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kmem.h:12:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/slab_common.c:36: In file included from ../include/trace/events/kmem.h:415: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kmem.h:12:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/slab_common.c:36: In file included from ../include/trace/events/kmem.h:415: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kmem.h:12:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/slab_common.c:36: In file included from ../include/trace/events/kmem.h:415: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kmem.h:12:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/slab_common.c:36: In file included from ../include/trace/events/kmem.h:415: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kmem.h:54:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 54 | TRACE_EVENT(kmalloc, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/slab_common.c:36: In file included from ../include/trace/events/kmem.h:415: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kmem.h:54:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/slab_common.c:36: In file included from ../include/trace/events/kmem.h:415: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kmem.h:54:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/slab_common.c:36: In file included from ../include/trace/events/kmem.h:415: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kmem.h:54:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/slab_common.c:36: In file included from ../include/trace/events/kmem.h:415: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kmem.h:54:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/slab_common.c:36: In file included from ../include/trace/events/kmem.h:415: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kmem.h:54:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/slab_common.c:36: In file included from ../include/trace/events/kmem.h:415: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kmem.h:94:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 94 | TRACE_EVENT(kfree, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/slab_common.c:36: In file included from ../include/trace/events/kmem.h:415: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kmem.h:94:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/slab_common.c:36: In file included from ../include/trace/events/kmem.h:415: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kmem.h:94:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/slab_common.c:36: In file included from ../include/trace/events/kmem.h:415: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kmem.h:94:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/slab_common.c:36: In file included from ../include/trace/events/kmem.h:415: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kmem.h:94:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/slab_common.c:36: In file included from ../include/trace/events/kmem.h:415: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kmem.h:94:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/slab_common.c:36: In file included from ../include/trace/events/kmem.h:415: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kmem.h:114:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 114 | TRACE_EVENT(kmem_cache_free, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[4]: *** [../scripts/Makefile.build:244: mm/slab_common.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: drivers/block/null_blk] Error 2 make[4]: *** [../scripts/Makefile.build:485: drivers/block] Error 2 In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:36:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 36 | TRACE_EVENT(brcmf_err, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:36:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:36:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:36:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:36:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:36:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:50:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 50 | TRACE_EVENT(brcmf_dbg, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:50:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:50:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:50:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:66:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 66 | TRACE_EVENT(brcmf_hexdump, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:66:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:66:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:66:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:66:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:66:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:82:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 82 | TRACE_EVENT(brcmf_bcdchdr, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[9]: *** [../scripts/Makefile.build:244: drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.o] Error 1 In file included from ../kernel/workqueue.c:533: In file included from ../include/trace/events/workqueue.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/workqueue.h:23:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 23 | TRACE_EVENT(workqueue_queue_work, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/workqueue.c:533: In file included from ../include/trace/events/workqueue.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/workqueue.h:23:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/workqueue.c:533: In file included from ../include/trace/events/workqueue.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/workqueue.h:23:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/workqueue.c:533: In file included from ../include/trace/events/workqueue.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/workqueue.h:23:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/workqueue.c:533: In file included from ../include/trace/events/workqueue.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/workqueue.h:23:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/workqueue.c:533: In file included from ../include/trace/events/workqueue.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/workqueue.h:23:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/workqueue.c:533: In file included from ../include/trace/events/workqueue.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/workqueue.h:59:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 59 | TRACE_EVENT(workqueue_activate_work, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/workqueue.c:533: In file included from ../include/trace/events/workqueue.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/workqueue.h:59:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/workqueue.c:533: In file included from ../include/trace/events/workqueue.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/workqueue.h:59:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/workqueue.c:533: In file included from ../include/trace/events/workqueue.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/workqueue.h:59:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/workqueue.c:533: In file included from ../include/trace/events/workqueue.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/workqueue.h:59:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/workqueue.c:533: In file included from ../include/trace/events/workqueue.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/workqueue.h:59:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/workqueue.c:533: In file included from ../include/trace/events/workqueue.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/workqueue.h:84:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 84 | TRACE_EVENT(workqueue_execute_start, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/workqueue.c:533: In file included from ../include/trace/events/workqueue.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/workqueue.h:84:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/workqueue.c:533: In file included from ../include/trace/events/workqueue.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/workqueue.h:84:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/workqueue.c:533: In file included from ../include/trace/events/workqueue.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/workqueue.h:84:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/workqueue.c:533: In file included from ../include/trace/events/workqueue.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/workqueue.h:84:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/workqueue.c:533: In file included from ../include/trace/events/workqueue.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/workqueue.h:84:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/workqueue.c:533: In file included from ../include/trace/events/workqueue.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/workqueue.h:110:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 110 | TRACE_EVENT(workqueue_execute_end, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[4]: *** [../scripts/Makefile.build:244: kernel/workqueue.o] Error 1 make[8]: *** [../scripts/Makefile.build:485: drivers/net/wireless/broadcom/brcm80211/brcmfmac] Error 2 make[8]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:485: kernel] Error 2 In file included from ../arch/x86/kvm/x86.c:90: In file included from ../arch/x86/kvm/trace.h:1882: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/trace.h:17:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 17 | TRACE_EVENT(kvm_entry, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/x86.c:90: In file included from ../arch/x86/kvm/trace.h:1882: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/trace.h:17:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/x86.c:90: In file included from ../arch/x86/kvm/trace.h:1882: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/trace.h:17:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/x86.c:90: In file included from ../arch/x86/kvm/trace.h:1882: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/trace.h:17:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/x86.c:90: In file included from ../arch/x86/kvm/trace.h:1882: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/trace.h:17:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/x86.c:90: In file included from ../arch/x86/kvm/trace.h:1882: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/trace.h:17:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/x86.c:90: In file included from ../arch/x86/kvm/trace.h:1882: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/trace.h:40:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 40 | TRACE_EVENT(kvm_hypercall, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/x86.c:90: In file included from ../arch/x86/kvm/trace.h:1882: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/trace.h:40:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/x86.c:90: In file included from ../arch/x86/kvm/trace.h:1882: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/trace.h:40:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/x86.c:90: In file included from ../arch/x86/kvm/trace.h:1882: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/trace.h:40:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/x86.c:90: In file included from ../arch/x86/kvm/trace.h:1882: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/trace.h:40:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/x86.c:90: In file included from ../arch/x86/kvm/trace.h:1882: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/trace.h:40:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/x86.c:90: In file included from ../arch/x86/kvm/trace.h:1882: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/trace.h:69:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 69 | TRACE_EVENT(kvm_hv_hypercall, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/x86.c:90: In file included from ../arch/x86/kvm/trace.h:1882: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/trace.h:69:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/x86.c:90: In file included from ../arch/x86/kvm/trace.h:1882: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/trace.h:69:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/x86.c:90: In file included from ../arch/x86/kvm/trace.h:1882: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/trace.h:69:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/x86.c:90: In file included from ../arch/x86/kvm/trace.h:1882: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/trace.h:69:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/x86.c:90: In file included from ../arch/x86/kvm/trace.h:1882: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/trace.h:69:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/x86.c:90: In file included from ../arch/x86/kvm/trace.h:1882: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/trace.h:100:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 100 | TRACE_EVENT(kvm_hv_hypercall_done, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: arch/x86/kvm/x86.o] Error 1 In file included from ../mm/compaction.c:64: In file included from ../include/trace/events/compaction.h:356: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/compaction.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | DECLARE_EVENT_CLASS(mm_compaction_isolate_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/compaction.c:64: In file included from ../include/trace/events/compaction.h:356: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/compaction.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/compaction.c:64: In file included from ../include/trace/events/compaction.h:356: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/compaction.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/compaction.c:64: In file included from ../include/trace/events/compaction.h:356: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/compaction.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/compaction.c:64: In file included from ../include/trace/events/compaction.h:356: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/compaction.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/compaction.c:64: In file included from ../include/trace/events/compaction.h:356: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/compaction.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/compaction.c:64: In file included from ../include/trace/events/compaction.h:356: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/compaction.h:79:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 79 | TRACE_EVENT(mm_compaction_migratepages, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/compaction.c:64: In file included from ../include/trace/events/compaction.h:356: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/compaction.h:79:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/compaction.c:64: In file included from ../include/trace/events/compaction.h:356: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/compaction.h:79:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/compaction.c:64: In file included from ../include/trace/events/compaction.h:356: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/compaction.h:79:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/compaction.c:64: In file included from ../include/trace/events/compaction.h:356: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/compaction.h:79:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/compaction.c:64: In file included from ../include/trace/events/compaction.h:356: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/compaction.h:79:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/compaction.c:64: In file included from ../include/trace/events/compaction.h:356: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/compaction.h:101:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 101 | TRACE_EVENT(mm_compaction_begin, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/compaction.c:64: In file included from ../include/trace/events/compaction.h:356: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/compaction.h:101:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/compaction.c:64: In file included from ../include/trace/events/compaction.h:356: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/compaction.h:101:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/compaction.c:64: In file included from ../include/trace/events/compaction.h:356: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/compaction.h:101:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/compaction.c:64: In file included from ../include/trace/events/compaction.h:356: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/compaction.h:101:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/compaction.c:64: In file included from ../include/trace/events/compaction.h:356: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/compaction.h:101:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/compaction.c:64: In file included from ../include/trace/events/compaction.h:356: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/compaction.h:131:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 131 | TRACE_EVENT(mm_compaction_end, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[4]: *** [../scripts/Makefile.build:244: mm/compaction.o] Error 1 make[3]: *** [../scripts/Makefile.build:485: mm] Error 2 In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:29:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 29 | TRACE_EVENT(brcms_timer, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:29:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:29:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:29:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:29:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:29:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:58:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 58 | TRACE_EVENT(brcms_dpc, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:58:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:58:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:58:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:58:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:58:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:73:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 73 | TRACE_EVENT(brcms_macintstatus, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:73:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:73:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:73:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:73:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:73:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:29:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 29 | TRACE_EVENT(brcms_timer, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[9]: *** [../scripts/Makefile.build:244: drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.o] Error 1 make[8]: *** [../scripts/Makefile.build:485: drivers/net/wireless/broadcom/brcm80211/brcmsmac] Error 2 make[7]: *** [../scripts/Makefile.build:485: drivers/net/wireless/broadcom/brcm80211] Error 2 make[6]: *** [../scripts/Makefile.build:485: drivers/net/wireless/broadcom] Error 2 make[6]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath5k/trace.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 21 | TRACE_EVENT(ath5k_rx, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath5k/trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath5k/trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath5k/trace.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath5k/trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath5k/trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath5k/trace.h:39:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 39 | TRACE_EVENT(ath5k_tx, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath5k/trace.h:39:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath5k/trace.h:39:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath5k/trace.h:39:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath5k/trace.h:39:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath5k/trace.h:39:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath5k/trace.h:65:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 65 | TRACE_EVENT(ath5k_tx_complete, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath5k/trace.h:65:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath5k/trace.h:65:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath5k/trace.h:65:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath5k/trace.h:65:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath5k/trace.h:65:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/ath/ath5k/trace.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 21 | TRACE_EVENT(ath5k_rx, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/ath/ath5k/base.o] Error 1 make[7]: *** [../scripts/Makefile.build:485: drivers/net/wireless/ath/ath5k] Error 2 In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/wil6210/trace.h:29:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 29 | DECLARE_EVENT_CLASS(wil6210_wmi, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/wil6210/trace.h:29:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/wil6210/trace.h:29:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/wil6210/trace.h:29:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/wil6210/trace.h:29:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/wil6210/trace.h:29:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/wil6210/trace.h:69:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 69 | DECLARE_EVENT_CLASS(wil6210_log_event, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/wil6210/trace.h:69:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/wil6210/trace.h:69:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/wil6210/trace.h:69:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/wil6210/trace.h:69:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/wil6210/trace.h:69:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/wil6210/trace.h:101:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 101 | TRACE_EVENT(wil6210_irq_pseudo, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/wil6210/trace.h:101:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/wil6210/trace.h:101:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/wil6210/trace.h:101:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/wil6210/trace.h:101:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/wil6210/trace.h:101:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/wil6210/trace.h:114:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 114 | DECLARE_EVENT_CLASS(wil6210_irq, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/ath/wil6210/trace.o] Error 1 make[7]: *** [../scripts/Makefile.build:485: drivers/net/wireless/ath/wil6210] Error 2 In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath6kl/trace.h:39:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 39 | TRACE_EVENT(ath6kl_wmi_cmd, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath6kl/trace.h:39:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath6kl/trace.h:39:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath6kl/trace.h:39:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath6kl/trace.h:39:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath6kl/trace.h:39:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath6kl/trace.h:62:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 62 | TRACE_EVENT(ath6kl_wmi_event, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath6kl/trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath6kl/trace.h:62:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath6kl/trace.h:62:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath6kl/trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath6kl/trace.h:62:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath6kl/trace.h:85:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 85 | TRACE_EVENT(ath6kl_sdio, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath6kl/trace.h:85:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath6kl/trace.h:85:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath6kl/trace.h:85:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath6kl/trace.h:85:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath6kl/trace.h:85:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath6kl/trace.h:120:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 120 | TRACE_EVENT(ath6kl_sdio_scat, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/ath/ath6kl/trace.o] Error 1 make[7]: *** [../scripts/Makefile.build:485: drivers/net/wireless/ath/ath6kl] Error 2 In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: In file included from ../include/trace/events/iscsi.h:107: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iscsi.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 21 | DECLARE_EVENT_CLASS(iscsi_log_msg, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: In file included from ../include/trace/events/iscsi.h:107: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: In file included from ../include/trace/events/iscsi.h:107: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: In file included from ../include/trace/events/iscsi.h:107: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iscsi.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: In file included from ../include/trace/events/iscsi.h:107: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: In file included from ../include/trace/events/iscsi.h:107: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: In file included from ../include/trace/events/iscsi.h:107: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/iscsi.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 21 | DECLARE_EVENT_CLASS(iscsi_log_msg, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: In file included from ../include/trace/events/iscsi.h:107: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: In file included from ../include/trace/events/iscsi.h:107: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: In file included from ../include/trace/events/iscsi.h:107: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/iscsi.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: In file included from ../include/trace/events/iscsi.h:107: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: In file included from ../include/trace/events/iscsi.h:107: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 12 errors generated. make[5]: *** [../scripts/Makefile.build:244: drivers/scsi/scsi_transport_iscsi.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: drivers/scsi] Error 2 In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 27 | DECLARE_EVENT_CLASS(dev_reg_evt, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/usb_trace.h:54:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 54 | DECLARE_EVENT_CLASS(urb_transfer, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/usb_trace.h:54:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/usb_trace.h:54:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/usb_trace.h:54:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/usb_trace.h:54:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/usb_trace.h:54:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 27 | DECLARE_EVENT_CLASS(dev_reg_evt, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/usb_trace.h:54:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 54 | DECLARE_EVENT_CLASS(urb_transfer, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/mediatek/mt76/usb_trace.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../arch/x86/kvm/mmu/mmu.c:193: In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/mmu/mmutrace.h:67:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 67 | TRACE_EVENT( | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/mmu/mmu.c:193: In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/mmu/mmutrace.h:67:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/mmu/mmu.c:193: In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/mmu/mmutrace.h:67:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/mmu/mmu.c:193: In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/mmu/mmutrace.h:67:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/mmu/mmu.c:193: In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/mmu/mmutrace.h:67:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/mmu/mmu.c:193: In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/mmu/mmutrace.h:67:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/mmu/mmu.c:193: In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/mmu/mmutrace.h:88:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 88 | TRACE_EVENT( | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/mmu/mmu.c:193: In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/mmu/mmutrace.h:88:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/mmu/mmu.c:193: In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/mmu/mmutrace.h:88:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/mmu/mmu.c:193: In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/mmu/mmutrace.h:88:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/mmu/mmu.c:193: In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/mmu/mmutrace.h:88:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/mmu/mmu.c:193: In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/mmu/mmutrace.h:88:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/mmu/mmu.c:193: In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/mmu/mmutrace.h:106:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 106 | DECLARE_EVENT_CLASS(kvm_mmu_set_bit_class, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/mmu/mmu.c:193: In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/mmu/mmutrace.h:106:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/mmu/mmu.c:193: In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/mmu/mmutrace.h:106:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/mmu/mmu.c:193: In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/mmu/mmutrace.h:106:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/mmu/mmu.c:193: In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/mmu/mmutrace.h:106:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/mmu/mmu.c:193: In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/mmu/mmutrace.h:106:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/mmu/mmu.c:193: In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/mmu/mmutrace.h:140:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 140 | TRACE_EVENT( | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: arch/x86/kvm/mmu/mmu.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: arch/x86/kvm] Error 2 make[3]: *** [../scripts/Makefile.build:485: arch/x86] Error 2 In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:13:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 13 | TRACE_EVENT(funeth_tx, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:13:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:13:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:13:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:43:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 43 | TRACE_EVENT(funeth_tx_free, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:43:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:43:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:43:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:43:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:43:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:73:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 73 | TRACE_EVENT(funeth_rx, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:73:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:73:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:73:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:73:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:73:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:13:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 13 | TRACE_EVENT(funeth_tx, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/fungible/funeth/funeth_rx.o] Error 1 make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/fungible/funeth] Error 2 make[6]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/fungible] Error 2 make[6]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt7601u/trace.h:29:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 29 | DECLARE_EVENT_CLASS(dev_reg_evtu, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt7601u/trace.h:29:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt7601u/trace.h:29:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt7601u/trace.h:29:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt7601u/trace.h:29:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt7601u/trace.h:29:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt7601u/trace.h:56:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 56 | TRACE_EVENT(mt_submit_urb, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt7601u/trace.h:56:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt7601u/trace.h:56:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt7601u/trace.h:56:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt7601u/trace.h:56:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt7601u/trace.h:56:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt7601u/trace.h:78:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 78 | TRACE_EVENT(mt_mcu_msg_send, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt7601u/trace.h:78:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt7601u/trace.h:78:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt7601u/trace.h:78:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt7601u/trace.h:78:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt7601u/trace.h:78:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt7601u/trace.h:98:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 98 | TRACE_EVENT(mt_vend_req, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/mediatek/mt7601u/trace.o] Error 1 make[7]: *** [../scripts/Makefile.build:485: drivers/net/wireless/mediatek/mt7601u] Error 2 make[7]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:20:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 20 | TRACE_EVENT(otx2_msg_alloc, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:20:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:20:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:20:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:20:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:20:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:35:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 35 | TRACE_EVENT(otx2_msg_send, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:35:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:35:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:35:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:35:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:35:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:50:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 50 | TRACE_EVENT(otx2_msg_check, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:50:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:68:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 68 | TRACE_EVENT(otx2_msg_interrupt, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[9]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.o] Error 1 make[8]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/marvell/octeontx2/af] Error 2 make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/marvell/octeontx2] Error 2 make[6]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/marvell] Error 2 In file included from ../drivers/gpu/drm/scheduler/sched_main.c:88: In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:35:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 35 | DECLARE_EVENT_CLASS(drm_sched_job, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/scheduler/sched_main.c:88: In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:35:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/scheduler/sched_main.c:88: In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:35:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/scheduler/sched_main.c:88: In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:35:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/scheduler/sched_main.c:88: In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:35:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/scheduler/sched_main.c:88: In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:35:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/scheduler/sched_main.c:88: In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:72:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 72 | TRACE_EVENT(drm_sched_process_job, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/scheduler/sched_main.c:88: In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:72:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/scheduler/sched_main.c:88: In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:72:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/scheduler/sched_main.c:88: In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:72:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/scheduler/sched_main.c:88: In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:72:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/scheduler/sched_main.c:88: In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:72:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/scheduler/sched_main.c:88: In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:85:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 85 | TRACE_EVENT(drm_sched_job_wait_dep, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/scheduler/sched_main.c:88: In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:85:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/scheduler/sched_main.c:88: In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:85:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/scheduler/sched_main.c:88: In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:85:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/scheduler/sched_main.c:88: In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:85:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/scheduler/sched_main.c:88: In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:85:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/scheduler/sched_main.c:88: In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:35:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 35 | DECLARE_EVENT_CLASS(drm_sched_job, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/scheduler/sched_main.o] Error 1 make[6]: *** [../scripts/Makefile.build:485: drivers/gpu/drm/scheduler] Error 2 In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/trace.h:32:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 32 | DECLARE_EVENT_CLASS(dev_reg_evt, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/trace.h:32:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/trace.h:32:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/trace.h:32:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/trace.h:32:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/trace.h:32:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/trace.h:59:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 59 | TRACE_EVENT(dev_irq, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/trace.h:59:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/trace.h:59:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/trace.h:59:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/trace.h:59:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/trace.h:59:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/trace.h:82:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 82 | DECLARE_EVENT_CLASS(dev_txid_evt, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/trace.h:82:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/trace.h:82:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/trace.h:82:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/trace.h:82:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/trace.h:82:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/trace.h:32:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 32 | DECLARE_EVENT_CLASS(dev_reg_evt, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/mediatek/mt76/trace.o] Error 1 In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 26 | DECLARE_EVENT_CLASS(dev_evt, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:43:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 43 | TRACE_EVENT(mac_txstat_fetch, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:43:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:43:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:43:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:43:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:43:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 26 | DECLARE_EVENT_CLASS(dev_evt, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:43:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 43 | TRACE_EVENT(mac_txstat_fetch, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/mediatek/mt76/mt76x02_trace.o] Error 1 In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:17:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 17 | TRACE_EVENT(iwlwifi_dev_ioread32, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:17:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:17:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:17:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:17:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:17:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:34:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 34 | TRACE_EVENT(iwlwifi_dev_iowrite8, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:34:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:34:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:34:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:34:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:34:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:51:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 51 | TRACE_EVENT(iwlwifi_dev_iowrite32, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:51:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:51:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:51:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:51:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:51:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:68:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 68 | TRACE_EVENT(iwlwifi_dev_iowrite64, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/intel/iwlwifi/iwl-devtrace.o] Error 1 make[7]: *** [../scripts/Makefile.build:485: drivers/net/wireless/intel/iwlwifi] Error 2 make[6]: *** [../scripts/Makefile.build:485: drivers/net/wireless/intel] Error 2 In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath10k/trace.h:49:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 49 | DECLARE_EVENT_CLASS(ath10k_log_event, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath10k/trace.h:49:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath10k/trace.h:49:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath10k/trace.h:49:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath10k/trace.h:49:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath10k/trace.h:49:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath10k/trace.h:85:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 85 | TRACE_EVENT(ath10k_log_dbg, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath10k/trace.h:85:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath10k/trace.h:85:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath10k/trace.h:85:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath10k/trace.h:85:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath10k/trace.h:85:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath10k/trace.h:108:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 108 | TRACE_EVENT(ath10k_log_dbg_dump, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath10k/trace.h:108:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath10k/trace.h:108:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath10k/trace.h:108:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath10k/trace.h:108:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath10k/trace.h:108:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath10k/trace.h:141:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 141 | TRACE_EVENT(ath10k_wmi_cmd, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/ath/ath10k/trace.o] Error 1 make[7]: *** [../scripts/Makefile.build:485: drivers/net/wireless/ath/ath10k] Error 2 In file included from ../drivers/net/wireless/ath/ath12k/trace.c:10: In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath12k/trace.h:24:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 24 | TRACE_EVENT(ath12k_htt_pktlog, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath12k/trace.c:10: In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath12k/trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath12k/trace.c:10: In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath12k/trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath12k/trace.c:10: In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath12k/trace.h:24:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath12k/trace.c:10: In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath12k/trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath12k/trace.c:10: In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath12k/trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath12k/trace.c:10: In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath12k/trace.h:55:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 55 | TRACE_EVENT(ath12k_htt_ppdu_stats, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath12k/trace.c:10: In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath12k/trace.h:55:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath12k/trace.c:10: In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath12k/trace.h:55:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath12k/trace.c:10: In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath12k/trace.h:55:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath12k/trace.c:10: In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath12k/trace.h:55:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath12k/trace.c:10: In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath12k/trace.h:55:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath12k/trace.c:10: In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath12k/trace.h:98:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 98 | TRACE_EVENT(ath12k_htt_rxdesc, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath12k/trace.c:10: In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath12k/trace.h:98:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath12k/trace.c:10: In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath12k/trace.h:98:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath12k/trace.c:10: In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath12k/trace.h:98:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath12k/trace.c:10: In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath12k/trace.h:98:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath12k/trace.c:10: In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath12k/trace.h:98:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath12k/trace.c:10: In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath12k/trace.h:143:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 143 | TRACE_EVENT(ath12k_wmi_diag, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/ath/ath12k/trace.o] Error 1 make[7]: *** [../scripts/Makefile.build:485: drivers/net/wireless/ath/ath12k] Error 2 In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 29 | DECLARE_EVENT_CLASS(dpaa_eth_fd, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 29 | DECLARE_EVENT_CLASS(dpaa_eth_fd, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 12 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/freescale/dpaa/dpaa_eth.o] Error 1 In file included from ../drivers/gpu/drm/lima/lima_trace.c:7: In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/lima/lima_trace.h:13:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 13 | DECLARE_EVENT_CLASS(lima_task, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/lima/lima_trace.c:7: In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/lima/lima_trace.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/lima/lima_trace.c:7: In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/lima/lima_trace.h:13:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/lima/lima_trace.c:7: In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/lima/lima_trace.h:13:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/lima/lima_trace.c:7: In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/lima/lima_trace.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/lima/lima_trace.c:7: In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/lima/lima_trace.h:13:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/lima/lima_trace.c:7: In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/lima/lima_trace.h:13:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 13 | DECLARE_EVENT_CLASS(lima_task, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/gpu/drm/lima/lima_trace.c:7: In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/lima/lima_trace.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/gpu/drm/lima/lima_trace.c:7: In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/lima/lima_trace.h:13:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/gpu/drm/lima/lima_trace.c:7: In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/lima/lima_trace.h:13:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/gpu/drm/lima/lima_trace.c:7: In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/lima/lima_trace.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/gpu/drm/lima/lima_trace.c:7: In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/lima/lima_trace.h:13:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 12 errors generated. make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/lima/lima_trace.o] Error 1 make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/freescale/dpaa] Error 2 make[7]: *** Waiting for unfinished jobs.... make[6]: *** [../scripts/Makefile.build:485: drivers/gpu/drm/lima] Error 2 In file included from ../drivers/net/thunderbolt/trace.c:10: In file included from ../drivers/net/thunderbolt/trace.h:141: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/thunderbolt/trace.h:25:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 25 | DECLARE_EVENT_CLASS(tbnet_frame, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/thunderbolt/trace.c:10: In file included from ../drivers/net/thunderbolt/trace.h:141: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/thunderbolt/trace.h:25:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/thunderbolt/trace.c:10: In file included from ../drivers/net/thunderbolt/trace.h:141: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/thunderbolt/trace.h:25:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/thunderbolt/trace.c:10: In file included from ../drivers/net/thunderbolt/trace.h:141: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/thunderbolt/trace.h:25:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/thunderbolt/trace.c:10: In file included from ../drivers/net/thunderbolt/trace.h:141: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/thunderbolt/trace.h:25:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/thunderbolt/trace.c:10: In file included from ../drivers/net/thunderbolt/trace.h:141: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/thunderbolt/trace.h:25:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/thunderbolt/trace.c:10: In file included from ../drivers/net/thunderbolt/trace.h:141: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/thunderbolt/trace.h:64:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 64 | DECLARE_EVENT_CLASS(tbnet_ip_frame, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/thunderbolt/trace.c:10: In file included from ../drivers/net/thunderbolt/trace.h:141: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/thunderbolt/trace.h:64:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/thunderbolt/trace.c:10: In file included from ../drivers/net/thunderbolt/trace.h:141: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/thunderbolt/trace.h:64:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/thunderbolt/trace.c:10: In file included from ../drivers/net/thunderbolt/trace.h:141: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/thunderbolt/trace.h:64:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/thunderbolt/trace.c:10: In file included from ../drivers/net/thunderbolt/trace.h:141: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/thunderbolt/trace.h:64:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/thunderbolt/trace.c:10: In file included from ../drivers/net/thunderbolt/trace.h:141: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/thunderbolt/trace.h:64:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/thunderbolt/trace.c:10: In file included from ../drivers/net/thunderbolt/trace.h:141: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/thunderbolt/trace.h:98:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 98 | DECLARE_EVENT_CLASS(tbnet_skb, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/thunderbolt/trace.c:10: In file included from ../drivers/net/thunderbolt/trace.h:141: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/thunderbolt/trace.h:98:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/thunderbolt/trace.c:10: In file included from ../drivers/net/thunderbolt/trace.h:141: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/thunderbolt/trace.h:98:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/thunderbolt/trace.c:10: In file included from ../drivers/net/thunderbolt/trace.h:141: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/thunderbolt/trace.h:98:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/thunderbolt/trace.c:10: In file included from ../drivers/net/thunderbolt/trace.h:141: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/thunderbolt/trace.h:98:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/thunderbolt/trace.c:10: In file included from ../drivers/net/thunderbolt/trace.h:141: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/thunderbolt/trace.h:98:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/thunderbolt/trace.c:10: In file included from ../drivers/net/thunderbolt/trace.h:141: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/thunderbolt/trace.h:25:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 25 | DECLARE_EVENT_CLASS(tbnet_frame, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[6]: *** [../scripts/Makefile.build:244: drivers/net/thunderbolt/trace.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: drivers/net/thunderbolt] Error 2 In file included from ../drivers/net/wireless/silabs/wfx/debug.c:20: In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/silabs/wfx/traces.h:159:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 159 | DECLARE_EVENT_CLASS(hif_data, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/silabs/wfx/debug.c:20: In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/silabs/wfx/traces.h:159:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/silabs/wfx/debug.c:20: In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/silabs/wfx/traces.h:159:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/silabs/wfx/debug.c:20: In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/silabs/wfx/traces.h:159:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/silabs/wfx/debug.c:20: In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/silabs/wfx/traces.h:159:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/silabs/wfx/debug.c:20: In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/silabs/wfx/traces.h:159:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/silabs/wfx/debug.c:20: In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/silabs/wfx/traces.h:236:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 236 | DECLARE_EVENT_CLASS(io_data, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/silabs/wfx/debug.c:20: In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/silabs/wfx/traces.h:236:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/silabs/wfx/debug.c:20: In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/silabs/wfx/traces.h:236:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/silabs/wfx/debug.c:20: In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/silabs/wfx/traces.h:236:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/silabs/wfx/debug.c:20: In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/silabs/wfx/traces.h:236:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/silabs/wfx/debug.c:20: In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/silabs/wfx/traces.h:236:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/silabs/wfx/debug.c:20: In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/silabs/wfx/traces.h:279:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 279 | DECLARE_EVENT_CLASS(io_data32, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/silabs/wfx/debug.c:20: In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/silabs/wfx/traces.h:279:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/silabs/wfx/debug.c:20: In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/silabs/wfx/traces.h:279:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/silabs/wfx/debug.c:20: In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/silabs/wfx/traces.h:279:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/silabs/wfx/debug.c:20: In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/silabs/wfx/traces.h:279:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/silabs/wfx/debug.c:20: In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/silabs/wfx/traces.h:279:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/silabs/wfx/debug.c:20: In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/silabs/wfx/traces.h:314:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 314 | DECLARE_EVENT_CLASS(piggyback, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/silabs/wfx/debug.o] Error 1 make[7]: *** [../scripts/Makefile.build:485: drivers/net/wireless/silabs/wfx] Error 2 make[6]: *** [../scripts/Makefile.build:485: drivers/net/wireless/silabs] Error 2 In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath11k/trace.h:36:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 36 | TRACE_EVENT(ath11k_htt_pktlog, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath11k/trace.h:36:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath11k/trace.h:36:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath11k/trace.h:36:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath11k/trace.h:36:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath11k/trace.h:36:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath11k/trace.h:67:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 67 | TRACE_EVENT(ath11k_htt_ppdu_stats, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath11k/trace.h:67:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath11k/trace.h:67:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath11k/trace.h:67:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath11k/trace.h:67:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath11k/trace.h:67:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath11k/trace.h:94:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 94 | TRACE_EVENT(ath11k_htt_rxdesc, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath11k/trace.h:94:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath11k/trace.h:94:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath11k/trace.h:94:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath11k/trace.h:94:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath11k/trace.h:94:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath11k/trace.h:124:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 124 | DECLARE_EVENT_CLASS(ath11k_log_event, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/ath/ath11k/trace.o] Error 1 make[7]: *** [../scripts/Makefile.build:485: drivers/net/wireless/ath/ath11k] Error 2 make[6]: *** [../scripts/Makefile.build:485: drivers/net/wireless/ath] Error 2 In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/iavf/iavf_trace.h:59:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 59 | DECLARE_EVENT_CLASS( | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/iavf/iavf_trace.h:59:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/iavf/iavf_trace.h:59:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/iavf/iavf_trace.h:59:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/iavf/iavf_trace.h:59:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/iavf/iavf_trace.h:59:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/iavf/iavf_trace.h:111:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 111 | DECLARE_EVENT_CLASS( | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/iavf/iavf_trace.h:111:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/iavf/iavf_trace.h:111:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/iavf/iavf_trace.h:111:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/iavf/iavf_trace.h:111:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/iavf/iavf_trace.h:111:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/iavf/iavf_trace.h:156:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 156 | DECLARE_EVENT_CLASS( | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/iavf/iavf_trace.h:156:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/iavf/iavf_trace.h:156:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/iavf/iavf_trace.h:156:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/iavf/iavf_trace.h:156:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/iavf/iavf_trace.h:156:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/intel/iavf/iavf_trace.h:59:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 59 | DECLARE_EVENT_CLASS( | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/intel/iavf/iavf_main.o] Error 1 make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/intel/iavf] Error 2 make[7]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 21 | TRACE_EVENT(e1000e_trace_mac_register, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 21 | TRACE_EVENT(e1000e_trace_mac_register, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ ../drivers/net/ethernet/intel/e1000e/netdev.c:4460:22: warning: shift count >= width of type [-Wshift-count-overflow] 4460 | adapter->cc.mask = CYCLECOUNTER_MASK(64); | ^~~~~~~~~~~~~~~~~~~~~ ../include/linux/timecounter.h:14:59: note: expanded from macro 'CYCLECOUNTER_MASK' 14 | #define CYCLECOUNTER_MASK(bits) (u64)((bits) < 64 ? ((1ULL<<(bits))-1) : -1) | ^ ~~~~~~ ../drivers/net/ethernet/intel/e1000e/netdev.c:7383:46: warning: shift count >= width of type [-Wshift-count-overflow] 7383 | err = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64)); | ^~~~~~~~~~~~~~~~ ../include/linux/dma-mapping.h:77:54: note: expanded from macro 'DMA_BIT_MASK' 77 | #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) | ^ ~~~ 2 warnings and 12 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/intel/e1000e/netdev.o] Error 1 make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/intel/e1000e] Error 2 In file included from ../net/sunrpc/auth_gss/trace.c:14: In file included from ../include/trace/events/rpcgss.h:688: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/rpcgss.h:83:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 83 | DECLARE_EVENT_CLASS(rpcgss_gssapi_event, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/sunrpc/auth_gss/trace.c:14: In file included from ../include/trace/events/rpcgss.h:688: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/rpcgss.h:83:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/sunrpc/auth_gss/trace.c:14: In file included from ../include/trace/events/rpcgss.h:688: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/rpcgss.h:83:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/sunrpc/auth_gss/trace.c:14: In file included from ../include/trace/events/rpcgss.h:688: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/rpcgss.h:83:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/sunrpc/auth_gss/trace.c:14: In file included from ../include/trace/events/rpcgss.h:688: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/rpcgss.h:83:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/sunrpc/auth_gss/trace.c:14: In file included from ../include/trace/events/rpcgss.h:688: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/rpcgss.h:83:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/sunrpc/auth_gss/trace.c:14: In file included from ../include/trace/events/rpcgss.h:688: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/rpcgss.h:118:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 118 | TRACE_EVENT(rpcgss_import_ctx, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/sunrpc/auth_gss/trace.c:14: In file included from ../include/trace/events/rpcgss.h:688: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/rpcgss.h:118:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/sunrpc/auth_gss/trace.c:14: In file included from ../include/trace/events/rpcgss.h:688: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/rpcgss.h:118:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/sunrpc/auth_gss/trace.c:14: In file included from ../include/trace/events/rpcgss.h:688: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/rpcgss.h:118:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/sunrpc/auth_gss/trace.c:14: In file included from ../include/trace/events/rpcgss.h:688: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/rpcgss.h:118:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/sunrpc/auth_gss/trace.c:14: In file included from ../include/trace/events/rpcgss.h:688: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/rpcgss.h:118:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/sunrpc/auth_gss/trace.c:14: In file included from ../include/trace/events/rpcgss.h:688: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/rpcgss.h:141:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 141 | DECLARE_EVENT_CLASS(rpcgss_ctx_class, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/sunrpc/auth_gss/trace.c:14: In file included from ../include/trace/events/rpcgss.h:688: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/rpcgss.h:141:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/sunrpc/auth_gss/trace.c:14: In file included from ../include/trace/events/rpcgss.h:688: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/rpcgss.h:141:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/sunrpc/auth_gss/trace.c:14: In file included from ../include/trace/events/rpcgss.h:688: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/rpcgss.h:141:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/sunrpc/auth_gss/trace.c:14: In file included from ../include/trace/events/rpcgss.h:688: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/rpcgss.h:141:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/sunrpc/auth_gss/trace.c:14: In file included from ../include/trace/events/rpcgss.h:688: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/rpcgss.h:141:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/sunrpc/auth_gss/trace.c:14: In file included from ../include/trace/events/rpcgss.h:688: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/rpcgss.h:175:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 175 | DECLARE_EVENT_CLASS(rpcgss_svc_gssapi_class, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[6]: *** [../scripts/Makefile.build:244: net/sunrpc/auth_gss/trace.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: net/sunrpc/auth_gss] Error 2 make[5]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:16:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 16 | TRACE_EVENT(hclge_vf_mbx_get, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:16:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:16:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:16:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:16:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:16:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:47:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 47 | TRACE_EVENT(hclge_vf_mbx_send, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:47:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:47:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:47:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:47:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:47:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:80:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 80 | DECLARE_EVENT_CLASS(hclge_vf_cmd_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:80:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:80:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:80:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:80:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:80:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:16:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 16 | TRACE_EVENT(hclge_vf_mbx_get, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/hyperv/netvsc_trace.c:7: In file included from ../drivers/net/hyperv/netvsc_trace.h:182: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/hyperv/netvsc_trace.h:42:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 42 | DECLARE_EVENT_CLASS(rndis_msg_class, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/hyperv/netvsc_trace.c:7: In file included from ../drivers/net/hyperv/netvsc_trace.h:182: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/hyperv/netvsc_trace.h:42:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/hyperv/netvsc_trace.c:7: In file included from ../drivers/net/hyperv/netvsc_trace.h:182: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/hyperv/netvsc_trace.h:42:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/hyperv/netvsc_trace.c:7: In file included from ../drivers/net/hyperv/netvsc_trace.h:182: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/hyperv/netvsc_trace.h:42:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/hyperv/netvsc_trace.c:7: In file included from ../drivers/net/hyperv/netvsc_trace.h:182: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/hyperv/netvsc_trace.h:42:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/hyperv/netvsc_trace.c:7: In file included from ../drivers/net/hyperv/netvsc_trace.h:182: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/hyperv/netvsc_trace.h:42:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/hyperv/netvsc_trace.c:7: In file included from ../drivers/net/hyperv/netvsc_trace.h:182: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/hyperv/netvsc_trace.h:115:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 115 | TRACE_EVENT(nvsp_send, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/hyperv/netvsc_trace.c:7: In file included from ../drivers/net/hyperv/netvsc_trace.h:182: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/hyperv/netvsc_trace.h:115:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/hyperv/netvsc_trace.c:7: In file included from ../drivers/net/hyperv/netvsc_trace.h:182: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/hyperv/netvsc_trace.h:115:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/hyperv/netvsc_trace.c:7: In file included from ../drivers/net/hyperv/netvsc_trace.h:182: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/hyperv/netvsc_trace.h:115:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/hyperv/netvsc_trace.c:7: In file included from ../drivers/net/hyperv/netvsc_trace.h:182: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/hyperv/netvsc_trace.h:115:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/hyperv/netvsc_trace.c:7: In file included from ../drivers/net/hyperv/netvsc_trace.h:182: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/hyperv/netvsc_trace.h:115:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/hyperv/netvsc_trace.c:7: In file included from ../drivers/net/hyperv/netvsc_trace.h:182: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/hyperv/netvsc_trace.h:132:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 132 | TRACE_EVENT(nvsp_send_pkt, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/hyperv/netvsc_trace.c:7: In file included from ../drivers/net/hyperv/netvsc_trace.h:182: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/hyperv/netvsc_trace.h:132:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/hyperv/netvsc_trace.c:7: In file included from ../drivers/net/hyperv/netvsc_trace.h:182: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/hyperv/netvsc_trace.h:132:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/hyperv/netvsc_trace.c:7: In file included from ../drivers/net/hyperv/netvsc_trace.h:182: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/hyperv/netvsc_trace.h:132:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/hyperv/netvsc_trace.c:7: In file included from ../drivers/net/hyperv/netvsc_trace.h:182: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/hyperv/netvsc_trace.h:132:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/hyperv/netvsc_trace.c:7: In file included from ../drivers/net/hyperv/netvsc_trace.h:182: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/hyperv/netvsc_trace.h:132:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/hyperv/netvsc_trace.c:7: In file included from ../drivers/net/hyperv/netvsc_trace.h:182: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/hyperv/netvsc_trace.h:157:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 157 | TRACE_EVENT(nvsp_recv, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[6]: *** [../scripts/Makefile.build:244: drivers/net/hyperv/netvsc_trace.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: drivers/net/hyperv] Error 2 In file included from ../net/sunrpc/sched.c:31: In file included from ../include/trace/events/sunrpc.h:2518: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/sunrpc.h:52:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 52 | DECLARE_EVENT_CLASS(rpc_xdr_buf_class, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/sunrpc/sched.c:31: In file included from ../include/trace/events/sunrpc.h:2518: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/sunrpc.h:52:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/sunrpc/sched.c:31: In file included from ../include/trace/events/sunrpc.h:2518: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/sunrpc.h:52:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/sunrpc/sched.c:31: In file included from ../include/trace/events/sunrpc.h:2518: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/sunrpc.h:52:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/sunrpc/sched.c:31: In file included from ../include/trace/events/sunrpc.h:2518: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/sunrpc.h:52:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/sunrpc/sched.c:31: In file included from ../include/trace/events/sunrpc.h:2518: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/sunrpc.h:52:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/sunrpc/sched.c:31: In file included from ../include/trace/events/sunrpc.h:2518: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/sunrpc.h:109:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 109 | DECLARE_EVENT_CLASS(rpc_clnt_class, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/sunrpc/sched.c:31: In file included from ../include/trace/events/sunrpc.h:2518: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/sunrpc.h:109:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/sunrpc/sched.c:31: In file included from ../include/trace/events/sunrpc.h:2518: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/sunrpc.h:109:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/sunrpc/sched.c:31: In file included from ../include/trace/events/sunrpc.h:2518: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/sunrpc.h:109:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/sunrpc/sched.c:31: In file included from ../include/trace/events/sunrpc.h:2518: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/sunrpc.h:109:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/sunrpc/sched.c:31: In file included from ../include/trace/events/sunrpc.h:2518: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/sunrpc.h:109:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/sunrpc/sched.c:31: In file included from ../include/trace/events/sunrpc.h:2518: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/sunrpc.h:168:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 168 | TRACE_EVENT(rpc_clnt_new, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/sunrpc/sched.c:31: In file included from ../include/trace/events/sunrpc.h:2518: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/sunrpc.h:168:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/sunrpc/sched.c:31: In file included from ../include/trace/events/sunrpc.h:2518: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/sunrpc.h:168:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/sunrpc/sched.c:31: In file included from ../include/trace/events/sunrpc.h:2518: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/sunrpc.h:168:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/sunrpc/sched.c:31: In file included from ../include/trace/events/sunrpc.h:2518: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/sunrpc.h:168:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/sunrpc/sched.c:31: In file included from ../include/trace/events/sunrpc.h:2518: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/sunrpc.h:168:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/sunrpc/sched.c:31: In file included from ../include/trace/events/sunrpc.h:2518: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/sunrpc.h:206:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 206 | TRACE_EVENT(rpc_clnt_new_err, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: net/sunrpc/sched.o] Error 1 In file included from ../net/wireless/trace.c:5: In file included from ../net/wireless/trace.h:4093: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/wireless/trace.h:249:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 249 | DECLARE_EVENT_CLASS(wiphy_work_event, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/wireless/trace.c:5: In file included from ../net/wireless/trace.h:4093: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/wireless/trace.h:249:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/wireless/trace.c:5: In file included from ../net/wireless/trace.h:4093: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/wireless/trace.h:249:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/wireless/trace.c:5: In file included from ../net/wireless/trace.h:4093: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/wireless/trace.h:249:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/wireless/trace.c:5: In file included from ../net/wireless/trace.h:4093: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/wireless/trace.h:249:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/wireless/trace.c:5: In file included from ../net/wireless/trace.h:4093: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/wireless/trace.h:249:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/wireless/trace.c:5: In file included from ../net/wireless/trace.h:4093: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/wireless/trace.h:286:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 286 | TRACE_EVENT(wiphy_delayed_work_queue, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/wireless/trace.c:5: In file included from ../net/wireless/trace.h:4093: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/wireless/trace.h:286:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/wireless/trace.c:5: In file included from ../net/wireless/trace.h:4093: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/wireless/trace.h:286:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/wireless/trace.c:5: In file included from ../net/wireless/trace.h:4093: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/wireless/trace.h:286:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/wireless/trace.c:5: In file included from ../net/wireless/trace.h:4093: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/wireless/trace.h:286:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/wireless/trace.c:5: In file included from ../net/wireless/trace.h:4093: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/wireless/trace.h:286:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/wireless/trace.c:5: In file included from ../net/wireless/trace.h:4093: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/wireless/trace.h:307:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 307 | TRACE_EVENT(wiphy_work_worker_start, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/wireless/trace.c:5: In file included from ../net/wireless/trace.h:4093: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/wireless/trace.h:307:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/wireless/trace.c:5: In file included from ../net/wireless/trace.h:4093: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/wireless/trace.h:307:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/wireless/trace.c:5: In file included from ../net/wireless/trace.h:4093: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/wireless/trace.h:307:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/wireless/trace.c:5: In file included from ../net/wireless/trace.h:4093: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/wireless/trace.h:307:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/wireless/trace.c:5: In file included from ../net/wireless/trace.h:4093: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/wireless/trace.h:307:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/wireless/trace.c:5: In file included from ../net/wireless/trace.h:4093: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/wireless/trace.h:323:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 323 | TRACE_EVENT(rdev_suspend, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: net/wireless/trace.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: net/wireless] Error 2 In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 23 | TRACE_EVENT(lp_event, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 23 | TRACE_EVENT(lp_event, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 12 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/mediatek/mt76/mt792x_trace.o] Error 1 In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 11 | DECLARE_EVENT_CLASS(virtio_gpu_cmd, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 11 | DECLARE_EVENT_CLASS(virtio_gpu_cmd, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 12 errors generated. make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/virtio/virtgpu_trace_points.o] Error 1 In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/v3d/v3d_trace.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 15 | TRACE_EVENT(v3d_submit_cl_ioctl, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/v3d/v3d_trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/v3d/v3d_trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/v3d/v3d_trace.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/v3d/v3d_trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/v3d/v3d_trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/v3d/v3d_trace.h:37:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 37 | TRACE_EVENT(v3d_submit_cl, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/v3d/v3d_trace.h:37:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/v3d/v3d_trace.h:37:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/v3d/v3d_trace.h:37:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/v3d/v3d_trace.h:37:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/v3d/v3d_trace.h:37:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/v3d/v3d_trace.h:67:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 67 | TRACE_EVENT(v3d_bcl_irq, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/v3d/v3d_trace.h:67:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/v3d/v3d_trace.h:67:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/v3d/v3d_trace.h:67:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/v3d/v3d_trace.h:67:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/v3d/v3d_trace.h:67:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/v3d/v3d_trace.h:87:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 87 | TRACE_EVENT(v3d_rcl_irq, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/v3d/v3d_trace_points.o] Error 1 make[6]: *** [../scripts/Makefile.build:485: drivers/gpu/drm/virtio] Error 2 make[6]: *** [../scripts/Makefile.build:485: drivers/gpu/drm/v3d] Error 2 In file included from ../drivers/net/fjes/fjes_trace.c:13: In file included from ../drivers/net/fjes/fjes_trace.h:365: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/fjes/fjes_trace.h:18:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 18 | TRACE_EVENT(fjes_hw_issue_request_command, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/fjes/fjes_trace.c:13: In file included from ../drivers/net/fjes/fjes_trace.h:365: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/fjes/fjes_trace.h:18:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/fjes/fjes_trace.c:13: In file included from ../drivers/net/fjes/fjes_trace.h:365: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/fjes/fjes_trace.h:18:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/fjes/fjes_trace.c:13: In file included from ../drivers/net/fjes/fjes_trace.h:365: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/fjes/fjes_trace.h:18:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/fjes/fjes_trace.c:13: In file included from ../drivers/net/fjes/fjes_trace.h:365: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/fjes/fjes_trace.h:18:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/fjes/fjes_trace.c:13: In file included from ../drivers/net/fjes/fjes_trace.h:365: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/fjes/fjes_trace.h:18:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/fjes/fjes_trace.c:13: In file included from ../drivers/net/fjes/fjes_trace.h:365: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/fjes/fjes_trace.h:50:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 50 | TRACE_EVENT(fjes_hw_request_info, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/fjes/fjes_trace.c:13: In file included from ../drivers/net/fjes/fjes_trace.h:365: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/fjes/fjes_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/fjes/fjes_trace.c:13: In file included from ../drivers/net/fjes/fjes_trace.h:365: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/fjes/fjes_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/fjes/fjes_trace.c:13: In file included from ../drivers/net/fjes/fjes_trace.h:365: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/fjes/fjes_trace.h:50:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/fjes/fjes_trace.c:13: In file included from ../drivers/net/fjes/fjes_trace.h:365: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/fjes/fjes_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/fjes/fjes_trace.c:13: In file included from ../drivers/net/fjes/fjes_trace.h:365: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/fjes/fjes_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/fjes/fjes_trace.c:13: In file included from ../drivers/net/fjes/fjes_trace.h:365: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/fjes/fjes_trace.h:81:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 81 | TRACE_EVENT(fjes_hw_request_info_err, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/fjes/fjes_trace.c:13: In file included from ../drivers/net/fjes/fjes_trace.h:365: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/fjes/fjes_trace.h:81:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/fjes/fjes_trace.c:13: In file included from ../drivers/net/fjes/fjes_trace.h:365: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/fjes/fjes_trace.h:81:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/fjes/fjes_trace.c:13: In file included from ../drivers/net/fjes/fjes_trace.h:365: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/fjes/fjes_trace.h:81:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/fjes/fjes_trace.c:13: In file included from ../drivers/net/fjes/fjes_trace.h:365: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/fjes/fjes_trace.h:81:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/fjes/fjes_trace.c:13: In file included from ../drivers/net/fjes/fjes_trace.h:365: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/fjes/fjes_trace.h:81:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/fjes/fjes_trace.c:13: In file included from ../drivers/net/fjes/fjes_trace.h:365: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/fjes/fjes_trace.h:93:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 93 | TRACE_EVENT(fjes_hw_register_buff_addr_req, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[6]: *** [../scripts/Makefile.build:244: drivers/net/fjes/fjes_trace.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: drivers/net/fjes] Error 2 In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 24 | DECLARE_EVENT_CLASS(dpaa2_eth_fd, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:109:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 109 | DECLARE_EVENT_CLASS(dpaa2_eth_buf, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:109:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:109:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:109:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:109:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:109:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 24 | DECLARE_EVENT_CLASS(dpaa2_eth_fd, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:109:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 109 | DECLARE_EVENT_CLASS(dpaa2_eth_buf, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.o] Error 1 make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/freescale/dpaa2] Error 2 make[6]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/freescale] Error 2 In file included from ../drivers/gpu/drm/tegra/trace.c:2: In file included from ../drivers/gpu/drm/tegra/trace.h:68: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/tegra/trace.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | DECLARE_EVENT_CLASS(register_access, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/tegra/trace.c:2: In file included from ../drivers/gpu/drm/tegra/trace.h:68: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/tegra/trace.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/tegra/trace.c:2: In file included from ../drivers/gpu/drm/tegra/trace.h:68: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/tegra/trace.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/tegra/trace.c:2: In file included from ../drivers/gpu/drm/tegra/trace.h:68: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/tegra/trace.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/tegra/trace.c:2: In file included from ../drivers/gpu/drm/tegra/trace.h:68: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/tegra/trace.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/tegra/trace.c:2: In file included from ../drivers/gpu/drm/tegra/trace.h:68: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/tegra/trace.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/tegra/trace.c:2: In file included from ../drivers/gpu/drm/tegra/trace.h:68: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/tegra/trace.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | DECLARE_EVENT_CLASS(register_access, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/gpu/drm/tegra/trace.c:2: In file included from ../drivers/gpu/drm/tegra/trace.h:68: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/tegra/trace.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/gpu/drm/tegra/trace.c:2: In file included from ../drivers/gpu/drm/tegra/trace.h:68: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/tegra/trace.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/gpu/drm/tegra/trace.c:2: In file included from ../drivers/gpu/drm/tegra/trace.h:68: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/tegra/trace.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/gpu/drm/tegra/trace.c:2: In file included from ../drivers/gpu/drm/tegra/trace.h:68: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/tegra/trace.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/gpu/drm/tegra/trace.c:2: In file included from ../drivers/gpu/drm/tegra/trace.h:68: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/tegra/trace.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 12 errors generated. make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/tegra/trace.o] Error 1 make[6]: *** [../scripts/Makefile.build:485: drivers/gpu/drm/tegra] Error 2 In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 15 | DECLARE_EVENT_CLASS(hns3_skb_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:67:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 67 | TRACE_EVENT(hns3_tx_desc, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:67:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:67:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:67:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:67:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:67:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:98:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 98 | TRACE_EVENT(hns3_rx_desc, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:98:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:98:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:98:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:98:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:98:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 15 | DECLARE_EVENT_CLASS(hns3_skb_template, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/hisilicon/hns3/hns3_enet.o] Error 1 In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/vc4/vc4_trace.h:17:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 17 | TRACE_EVENT(vc4_wait_for_seqno_begin, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/vc4/vc4_trace.h:17:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/vc4/vc4_trace.h:17:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/vc4/vc4_trace.h:17:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/vc4/vc4_trace.h:17:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/vc4/vc4_trace.h:17:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/vc4/vc4_trace.h:37:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 37 | TRACE_EVENT(vc4_wait_for_seqno_end, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/vc4/vc4_trace.h:37:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/vc4/vc4_trace.h:37:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/vc4/vc4_trace.h:37:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/vc4/vc4_trace.h:37:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/vc4/vc4_trace.h:37:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/vc4/vc4_trace.h:55:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 55 | TRACE_EVENT(vc4_submit_cl_ioctl, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/vc4/vc4_trace.h:55:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/vc4/vc4_trace.h:55:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/vc4/vc4_trace.h:55:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/vc4/vc4_trace.h:55:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/vc4/vc4_trace.h:55:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/vc4/vc4_trace.h:80:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 80 | TRACE_EVENT(vc4_submit_cl, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/vc4/vc4_trace_points.o] Error 1 make[6]: *** [../scripts/Makefile.build:485: drivers/gpu/drm/vc4] Error 2 In file included from ../drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c:11: In file included from ../include/trace/events/mlxsw.h:119: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mlxsw.h:16:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 16 | TRACE_EVENT(mlxsw_sp_acl_atcam_entry_add_ctcam_spill, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c:11: In file included from ../include/trace/events/mlxsw.h:119: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mlxsw.h:16:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c:11: In file included from ../include/trace/events/mlxsw.h:119: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mlxsw.h:16:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c:11: In file included from ../include/trace/events/mlxsw.h:119: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mlxsw.h:16:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c:11: In file included from ../include/trace/events/mlxsw.h:119: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mlxsw.h:16:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c:11: In file included from ../include/trace/events/mlxsw.h:119: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mlxsw.h:16:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c:11: In file included from ../include/trace/events/mlxsw.h:119: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mlxsw.h:36:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 36 | TRACE_EVENT(mlxsw_sp_acl_tcam_vregion_rehash, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c:11: In file included from ../include/trace/events/mlxsw.h:119: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mlxsw.h:36:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c:11: In file included from ../include/trace/events/mlxsw.h:119: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mlxsw.h:36:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c:11: In file included from ../include/trace/events/mlxsw.h:119: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mlxsw.h:36:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c:11: In file included from ../include/trace/events/mlxsw.h:119: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mlxsw.h:36:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c:11: In file included from ../include/trace/events/mlxsw.h:119: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mlxsw.h:36:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c:11: In file included from ../include/trace/events/mlxsw.h:119: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mlxsw.h:56:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 56 | TRACE_EVENT(mlxsw_sp_acl_tcam_vregion_migrate, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c:11: In file included from ../include/trace/events/mlxsw.h:119: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mlxsw.h:56:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c:11: In file included from ../include/trace/events/mlxsw.h:119: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mlxsw.h:56:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c:11: In file included from ../include/trace/events/mlxsw.h:119: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mlxsw.h:56:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c:11: In file included from ../include/trace/events/mlxsw.h:119: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mlxsw.h:56:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c:11: In file included from ../include/trace/events/mlxsw.h:119: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mlxsw.h:56:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c:11: In file included from ../include/trace/events/mlxsw.h:119: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mlxsw.h:76:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 76 | TRACE_EVENT(mlxsw_sp_acl_tcam_vregion_migrate_end, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.o] Error 1 In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:17:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 17 | TRACE_EVENT(hclge_pf_mbx_get, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:17:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:17:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:17:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:17:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:17:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:50:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 50 | TRACE_EVENT(hclge_pf_mbx_send, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:50:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:81:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 81 | DECLARE_EVENT_CLASS(hclge_pf_cmd_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:81:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:81:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:81:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:81:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:81:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:132:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 132 | DECLARE_EVENT_CLASS(hclge_pf_special_cmd_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.o] Error 1 make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/hisilicon/hns3] Error 2 make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/mellanox/mlxsw] Error 2 make[7]: *** Waiting for unfinished jobs.... make[6]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/hisilicon] Error 2 In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 27 | DECLARE_EVENT_CLASS(dev_token, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 27 | DECLARE_EVENT_CLASS(dev_token, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 12 errors generated. make[9]: *** [../scripts/Makefile.build:244: drivers/net/wireless/mediatek/mt76/mt7615/trace.o] Error 1 make[8]: *** [../scripts/Makefile.build:485: drivers/net/wireless/mediatek/mt76/mt7615] Error 2 make[7]: *** [../scripts/Makefile.build:485: drivers/net/wireless/mediatek/mt76] Error 2 make[6]: *** [../scripts/Makefile.build:485: drivers/net/wireless/mediatek] Error 2 make[5]: *** [../scripts/Makefile.build:485: drivers/net/wireless] Error 2 In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_atomic_trace.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 11 | TRACE_EVENT(msm_atomic_commit_tail_start, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_atomic_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_atomic_trace.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_atomic_trace.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_atomic_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_atomic_trace.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_atomic_trace.h:26:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 26 | TRACE_EVENT(msm_atomic_commit_tail_finish, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_atomic_trace.h:26:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_atomic_trace.h:26:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_atomic_trace.h:26:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_atomic_trace.h:26:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_atomic_trace.h:26:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_atomic_trace.h:41:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 41 | TRACE_EVENT(msm_atomic_async_commit_start, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_atomic_trace.h:41:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_atomic_trace.h:41:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_atomic_trace.h:41:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_atomic_trace.h:41:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_atomic_trace.h:41:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_atomic_trace.h:54:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 54 | TRACE_EVENT(msm_atomic_async_commit_finish, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/msm/msm_atomic_tracepoints.o] Error 1 make[7]: *** Waiting for unfinished jobs.... In file included from ../net/sunrpc/xprtrdma/module.c:21: In file included from ../include/trace/events/rpcrdma.h:2282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/rpcrdma.h:25:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 25 | DECLARE_EVENT_CLASS(rpcrdma_simple_cid_class, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/sunrpc/xprtrdma/module.c:21: In file included from ../include/trace/events/rpcrdma.h:2282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/rpcrdma.h:25:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/sunrpc/xprtrdma/module.c:21: In file included from ../include/trace/events/rpcrdma.h:2282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/rpcrdma.h:25:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/sunrpc/xprtrdma/module.c:21: In file included from ../include/trace/events/rpcrdma.h:2282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/rpcrdma.h:25:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/sunrpc/xprtrdma/module.c:21: In file included from ../include/trace/events/rpcrdma.h:2282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/rpcrdma.h:25:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/sunrpc/xprtrdma/module.c:21: In file included from ../include/trace/events/rpcrdma.h:2282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/rpcrdma.h:25:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/sunrpc/xprtrdma/module.c:21: In file included from ../include/trace/events/rpcrdma.h:2282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/rpcrdma.h:55:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 55 | DECLARE_EVENT_CLASS(rpcrdma_completion_class, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/sunrpc/xprtrdma/module.c:21: In file included from ../include/trace/events/rpcrdma.h:2282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/rpcrdma.h:55:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/sunrpc/xprtrdma/module.c:21: In file included from ../include/trace/events/rpcrdma.h:2282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/rpcrdma.h:55:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/sunrpc/xprtrdma/module.c:21: In file included from ../include/trace/events/rpcrdma.h:2282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/rpcrdma.h:55:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/sunrpc/xprtrdma/module.c:21: In file included from ../include/trace/events/rpcrdma.h:2282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/rpcrdma.h:55:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/sunrpc/xprtrdma/module.c:21: In file included from ../include/trace/events/rpcrdma.h:2282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/rpcrdma.h:55:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/sunrpc/xprtrdma/module.c:21: In file included from ../include/trace/events/rpcrdma.h:2282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/rpcrdma.h:95:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 95 | DECLARE_EVENT_CLASS(rpcrdma_send_flush_class, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/sunrpc/xprtrdma/module.c:21: In file included from ../include/trace/events/rpcrdma.h:2282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/rpcrdma.h:95:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/sunrpc/xprtrdma/module.c:21: In file included from ../include/trace/events/rpcrdma.h:2282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/rpcrdma.h:95:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/sunrpc/xprtrdma/module.c:21: In file included from ../include/trace/events/rpcrdma.h:2282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/rpcrdma.h:95:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/sunrpc/xprtrdma/module.c:21: In file included from ../include/trace/events/rpcrdma.h:2282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/rpcrdma.h:95:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/sunrpc/xprtrdma/module.c:21: In file included from ../include/trace/events/rpcrdma.h:2282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/rpcrdma.h:95:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/sunrpc/xprtrdma/module.c:21: In file included from ../include/trace/events/rpcrdma.h:2282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/rpcrdma.h:132:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 132 | DECLARE_EVENT_CLASS(rpcrdma_mr_completion_class, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[6]: *** [../scripts/Makefile.build:244: net/sunrpc/xprtrdma/module.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: net/sunrpc/xprtrdma] Error 2 make[4]: *** [../scripts/Makefile.build:485: net/sunrpc] Error 2 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 13 | TRACE_EVENT(mlx5_cmd, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 13 | TRACE_EVENT(mlx5_cmd, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 12 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/cmd.o] Error 1 make[8]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:485: net] Error 2 In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_gpu_trace.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 11 | TRACE_EVENT(msm_gpu_submit, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_gpu_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_gpu_trace.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_gpu_trace.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_gpu_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_gpu_trace.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_gpu_trace.h:33:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 33 | TRACE_EVENT(msm_gpu_submit_flush, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_gpu_trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_gpu_trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_gpu_trace.h:33:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_gpu_trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_gpu_trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_gpu_trace.h:56:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 56 | TRACE_EVENT(msm_gpu_submit_retired, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_gpu_trace.h:56:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_gpu_trace.h:56:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_gpu_trace.h:56:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_gpu_trace.h:56:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_gpu_trace.h:56:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_gpu_trace.h:87:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 87 | TRACE_EVENT(msm_gpu_freq_change, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/msm/msm_gpu_tracepoints.o] Error 1 In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/i40e/i40e_trace.h:60:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 60 | TRACE_EVENT(i40e_napi_poll, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/i40e/i40e_trace.h:60:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/i40e/i40e_trace.h:60:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/i40e/i40e_trace.h:60:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/i40e/i40e_trace.h:60:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/i40e/i40e_trace.h:60:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/i40e/i40e_trace.h:108:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 108 | DECLARE_EVENT_CLASS( | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/i40e/i40e_trace.h:108:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/i40e/i40e_trace.h:108:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/i40e/i40e_trace.h:108:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/i40e/i40e_trace.h:108:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/i40e/i40e_trace.h:108:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/i40e/i40e_trace.h:160:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 160 | DECLARE_EVENT_CLASS( | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/i40e/i40e_trace.h:160:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/i40e/i40e_trace.h:160:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/i40e/i40e_trace.h:160:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/i40e/i40e_trace.h:160:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/i40e/i40e_trace.h:160:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/i40e/i40e_trace.h:205:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 205 | DECLARE_EVENT_CLASS( | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/intel/i40e/i40e_main.o] Error 1 make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/intel/i40e] Error 2 In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/ice/ice_trace.h:63:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 63 | DECLARE_EVENT_CLASS(ice_rx_dim_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/ice/ice_trace.h:63:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/ice/ice_trace.h:63:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/ice/ice_trace.h:63:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/ice/ice_trace.h:63:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/ice/ice_trace.h:63:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/ice/ice_trace.h:90:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 90 | DECLARE_EVENT_CLASS(ice_tx_dim_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/ice/ice_trace.h:90:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/ice/ice_trace.h:90:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/ice/ice_trace.h:90:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/ice/ice_trace.h:90:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/ice/ice_trace.h:90:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/ice/ice_trace.h:118:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 118 | DECLARE_EVENT_CLASS(ice_tx_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/ice/ice_trace.h:118:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/ice/ice_trace.h:118:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/ice/ice_trace.h:118:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/ice/ice_trace.h:118:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/ice/ice_trace.h:118:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/ice/ice_trace.h:148:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 148 | DECLARE_EVENT_CLASS(ice_rx_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/intel/ice/ice_main.o] Error 1 make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/intel/ice] Error 2 make[6]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/intel] Error 2 In file included from ../drivers/gpu/drm/xe/xe_trace.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace.h:379: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace.h:27:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 27 | DECLARE_EVENT_CLASS(xe_gt_tlb_invalidation_fence, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace.h:379: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace.h:379: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace.h:27:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace.h:379: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace.h:27:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace.h:379: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace.h:379: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace.h:27:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace.h:379: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace.h:83:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 83 | DECLARE_EVENT_CLASS(xe_exec_queue, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace.h:379: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace.h:83:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace.h:379: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace.h:83:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace.h:379: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace.h:83:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace.h:379: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace.h:83:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace.h:379: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace.h:83:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace.h:379: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace.h:205:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 205 | DECLARE_EVENT_CLASS(xe_sched_job, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace.h:379: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace.h:205:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace.h:379: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace.h:205:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace.h:379: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace.h:205:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace.h:379: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace.h:205:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace.h:379: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace.h:205:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace.h:379: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace.h:276:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 276 | DECLARE_EVENT_CLASS(xe_sched_msg, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/xe/xe_trace.o] Error 1 make[7]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 43 | TRACE_EVENT(mlx5_fw, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 43 | TRACE_EVENT(mlx5_fw, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 12 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:64:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 64 | TRACE_EVENT(mlx5_fs_add_ft, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:64:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:64:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:64:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:64:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:64:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:83:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 83 | TRACE_EVENT(mlx5_fs_del_ft, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:83:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:83:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:83:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:83:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:83:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:99:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 99 | TRACE_EVENT(mlx5_fs_add_fg, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:99:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:99:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:99:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:99:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:99:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:150:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 150 | TRACE_EVENT(mlx5_fs_del_fg, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.o] Error 1 In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 20 | DECLARE_EVENT_CLASS(xe_guc_ct_flow_control, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_guc.h:61:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 61 | DECLARE_EVENT_CLASS(xe_guc_ctb, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_guc.h:61:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_guc.h:61:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_guc.h:61:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_guc.h:61:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_guc.h:61:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 20 | DECLARE_EVENT_CLASS(xe_guc_ct_flow_control, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/xe/xe_trace_guc.h:61:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 61 | DECLARE_EVENT_CLASS(xe_guc_ctb, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/xe/xe_trace_guc.o] Error 1 In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/radeon/radeon_trace.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 15 | TRACE_EVENT(radeon_bo_create, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/radeon/radeon_trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/radeon/radeon_trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/radeon/radeon_trace.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/radeon/radeon_trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/radeon/radeon_trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/radeon/radeon_trace.h:30:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 30 | TRACE_EVENT(radeon_cs, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/radeon/radeon_trace.h:30:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/radeon/radeon_trace.h:30:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/radeon/radeon_trace.h:30:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/radeon/radeon_trace.h:30:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/radeon/radeon_trace.h:30:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/radeon/radeon_trace.h:50:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 50 | TRACE_EVENT(radeon_vm_grab_id, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/radeon/radeon_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/radeon/radeon_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/radeon/radeon_trace.h:50:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/radeon/radeon_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/radeon/radeon_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/radeon/radeon_trace.h:65:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 65 | TRACE_EVENT(radeon_vm_bo_update, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/radeon/radeon_trace_points.o] Error 1 make[6]: *** [../scripts/Makefile.build:485: drivers/gpu/drm/radeon] Error 2 In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_bo.h:23:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 23 | DECLARE_EVENT_CLASS(xe_bo, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_bo.h:23:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_bo.h:23:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_bo.h:23:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_bo.h:23:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_bo.h:23:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_bo.h:51:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 51 | TRACE_EVENT(xe_bo_move, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_bo.h:51:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_bo.h:51:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_bo.h:51:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_bo.h:51:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_bo.h:51:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_bo.h:78:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 78 | DECLARE_EVENT_CLASS(xe_vma, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_bo.h:78:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_bo.h:78:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_bo.h:78:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_bo.h:78:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_bo.h:78:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_bo.h:180:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 180 | DECLARE_EVENT_CLASS(xe_vm, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/xe/xe_trace_bo.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | DECLARE_EVENT_CLASS(mlx5_sf_dev_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | DECLARE_EVENT_CLASS(mlx5_sf_dev_template, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 12 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.o] Error 1 In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:24:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 24 | TRACE_EVENT(dpu_perf_set_qos_luts, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:24:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:50:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 50 | TRACE_EVENT(dpu_perf_set_danger_luts, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:50:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:74:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 74 | TRACE_EVENT(dpu_perf_set_ot, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:74:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:74:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:74:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:74:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:74:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:94:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 94 | TRACE_EVENT(dpu_cmd_release_bw, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/msm/disp/dpu1/dpu_kms.o] Error 1 make[6]: *** [../scripts/Makefile.build:485: drivers/gpu/drm/msm] Error 2 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:25:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 25 | DECLARE_EVENT_CLASS(mlx5e_flower_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:25:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:25:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:25:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:25:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:25:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:58:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 58 | TRACE_EVENT(mlx5e_stats_flower, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:58:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:58:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:58:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:58:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:58:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:77:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 77 | TRACE_EVENT(mlx5e_tc_update_neigh_used_value, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:77:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:77:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:77:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:77:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:77:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:25:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 25 | DECLARE_EVENT_CLASS(mlx5e_flower_template, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:13:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 13 | TRACE_EVENT(mlx5_esw_vport_qos_destroy, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:13:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:13:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:13:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:29:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 29 | DECLARE_EVENT_CLASS(mlx5_esw_vport_qos_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:29:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:29:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:29:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:29:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:29:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:62:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 62 | DECLARE_EVENT_CLASS(mlx5_esw_group_qos_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:62:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:62:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:62:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:62:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:62:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:94:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 94 | TRACE_EVENT(mlx5_esw_group_qos_config, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | TRACE_EVENT(mlx5e_rep_neigh_update, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | TRACE_EVENT(mlx5e_rep_neigh_update, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 12 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/en_rep.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | TRACE_EVENT(mlx5_sf_vhca_event, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | TRACE_EVENT(mlx5_sf_vhca_event, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 12 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | TRACE_EVENT(mlx5_sf_add, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:38:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 38 | TRACE_EVENT(mlx5_sf_free, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:38:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:38:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:38:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:38:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:38:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:59:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 59 | TRACE_EVENT(mlx5_sf_hwc_alloc, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:59:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:59:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:59:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:59:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:59:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:80:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 80 | TRACE_EVENT(mlx5_sf_hwc_free, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: sound/soc] Error 2 make[3]: *** [../scripts/Makefile.build:485: sound] Error 2 In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:24:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 24 | TRACE_EVENT(intel_pipe_enable, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:24:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:52:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 52 | TRACE_EVENT(intel_pipe_disable, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:52:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:52:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:52:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:52:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:52:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:81:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 81 | TRACE_EVENT(intel_crtc_flip_done, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:81:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:81:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:81:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:81:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:81:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:104:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 104 | TRACE_EVENT(intel_pipe_crc, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[7]: *** [../drivers/gpu/drm/xe/Makefile:183: drivers/gpu/drm/xe/i915-display/intel_display_trace.o] Error 1 make[6]: *** [../scripts/Makefile.build:485: drivers/gpu/drm/xe] Error 2 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:13:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 13 | DECLARE_EVENT_CLASS(mlx5_esw_bridge_fdb_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:13:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:13:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:13:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:56:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 56 | DECLARE_EVENT_CLASS(mlx5_esw_bridge_vlan_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:56:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:56:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:56:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:56:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:56:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:83:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 83 | DECLARE_EVENT_CLASS(mlx5_esw_bridge_port_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:83:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:83:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:83:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:83:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:83:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:113:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 113 | DECLARE_EVENT_CLASS(mlx5_esw_bridge_mdb_port_change_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.o] Error 1 make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/mellanox/mlx5/core] Error 2 make[6]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/mellanox] Error 2 make[5]: *** [../scripts/Makefile.build:485: drivers/net/ethernet] Error 2 make[4]: *** [../scripts/Makefile.build:485: drivers/net] Error 2 In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 21 | TRACE_EVENT(i915_gem_object_create, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:38:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 38 | TRACE_EVENT(i915_gem_shrink, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:38:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:38:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:38:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:38:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:38:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:58:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 58 | TRACE_EVENT(i915_vma_bind, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:58:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:58:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:58:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:58:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:58:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:84:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 84 | TRACE_EVENT(i915_vma_unbind, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/i915/i915_trace_points.o] Error 1 make[7]: *** Waiting for unfinished jobs.... In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:42:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 42 | TRACE_EVENT(spt_alloc, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:42:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:42:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:42:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:42:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:42:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:72:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 72 | TRACE_EVENT(spt_free, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:72:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:72:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:72:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:72:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:72:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:97:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 97 | TRACE_EVENT(gma_index, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:97:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:97:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:97:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:97:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:97:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:115:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 115 | TRACE_EVENT(gma_translate, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/i915/gvt/trace_points.o] Error 1 In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:24:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 24 | TRACE_EVENT(intel_pipe_enable, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:24:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:52:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 52 | TRACE_EVENT(intel_pipe_disable, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:52:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:52:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:52:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:52:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:52:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:81:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 81 | TRACE_EVENT(intel_crtc_flip_done, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:81:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:81:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:81:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:81:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:81:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:104:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 104 | TRACE_EVENT(intel_pipe_crc, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/i915/display/intel_display_trace.o] Error 1 make[6]: *** [../scripts/Makefile.build:485: drivers/gpu/drm/i915] Error 2 In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c:30: In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:563: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:38:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 38 | TRACE_EVENT(amdgpu_device_rreg, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c:30: In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:563: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:38:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c:30: In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:563: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:38:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c:30: In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:563: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:38:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c:30: In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:563: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:38:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c:30: In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:563: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:38:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c:30: In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:563: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:57:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 57 | TRACE_EVENT(amdgpu_device_wreg, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c:30: In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:563: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:57:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c:30: In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:563: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:57:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c:30: In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:563: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:57:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c:30: In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:563: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:57:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c:30: In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:563: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:57:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c:30: In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:563: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:76:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 76 | TRACE_EVENT(amdgpu_iv, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c:30: In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:563: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:76:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c:30: In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:563: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:76:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c:30: In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:563: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:76:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c:30: In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:563: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:76:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c:30: In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:563: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:76:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c:30: In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:563: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:116:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 116 | TRACE_EVENT(amdgpu_bo_create, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.o] Error 1 make[7]: *** Waiting for unfinished jobs.... In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:41: In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:734: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:44:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 44 | DECLARE_EVENT_CLASS(amdgpu_dc_reg_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:41: In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:734: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:44:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:41: In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:734: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:44:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:41: In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:734: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:44:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:41: In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:734: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:44:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:41: In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:734: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:44:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:41: In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:734: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:72:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 72 | TRACE_EVENT(amdgpu_dc_performance, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:41: In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:734: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:72:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:41: In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:734: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:72:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:41: In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:734: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:72:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:41: In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:734: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:72:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:41: In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:734: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:72:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:41: In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:734: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:103:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 103 | TRACE_EVENT(amdgpu_dm_connector_atomic_check, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:41: In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:734: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:103:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:41: In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:734: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:103:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:41: In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:734: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:103:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:41: In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:734: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:103:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:41: In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:734: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:103:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:41: In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:734: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:160:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 160 | TRACE_EVENT(amdgpu_dm_crtc_atomic_check, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.o] Error 1 make[6]: *** [../scripts/Makefile.build:485: drivers/gpu/drm/amd/amdgpu] Error 2 make[5]: *** [../scripts/Makefile.build:485: drivers/gpu/drm] Error 2 make[4]: *** [../scripts/Makefile.build:485: drivers/gpu] Error 2 make[3]: *** [../scripts/Makefile.build:485: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-0/Makefile:1925: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/Makefile:224: __sub-make] Error 2 make: *** [Makefile:224: __sub-make] Error 2 tools/testing/selftests/arm64/tags/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/tags_test.c: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/config: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/settings: warning: ignored by one of the .gitignore files In file included from ../arch/x86/lib/msr.c:7: In file included from ../arch/x86/include/asm/msr-trace.h:58: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/msr-trace.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 21 | DECLARE_EVENT_CLASS(msr_trace_class, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/lib/msr.c:7: In file included from ../arch/x86/include/asm/msr-trace.h:58: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/msr-trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/lib/msr.c:7: In file included from ../arch/x86/include/asm/msr-trace.h:58: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/msr-trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/lib/msr.c:7: In file included from ../arch/x86/include/asm/msr-trace.h:58: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/msr-trace.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/lib/msr.c:7: In file included from ../arch/x86/include/asm/msr-trace.h:58: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/msr-trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/lib/msr.c:7: In file included from ../arch/x86/include/asm/msr-trace.h:58: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/msr-trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/lib/msr.c:7: In file included from ../arch/x86/include/asm/msr-trace.h:58: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../arch/x86/include/asm/msr-trace.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 21 | DECLARE_EVENT_CLASS(msr_trace_class, | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/lib/msr.c:7: In file included from ../arch/x86/include/asm/msr-trace.h:58: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../arch/x86/include/asm/msr-trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/lib/msr.c:7: In file included from ../arch/x86/include/asm/msr-trace.h:58: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../arch/x86/include/asm/msr-trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/lib/msr.c:7: In file included from ../arch/x86/include/asm/msr-trace.h:58: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../arch/x86/include/asm/msr-trace.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/lib/msr.c:7: In file included from ../arch/x86/include/asm/msr-trace.h:58: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../arch/x86/include/asm/msr-trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/lib/msr.c:7: In file included from ../arch/x86/include/asm/msr-trace.h:58: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../arch/x86/include/asm/msr-trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/lib/msr.c:7: In file included from ../arch/x86/include/asm/msr-trace.h:58: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../arch/x86/include/asm/msr-trace.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 21 | DECLARE_EVENT_CLASS(msr_trace_class, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../arch/x86/lib/msr.c:7: In file included from ../arch/x86/include/asm/msr-trace.h:58: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../arch/x86/include/asm/msr-trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../arch/x86/lib/msr.c:7: In file included from ../arch/x86/include/asm/msr-trace.h:58: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../arch/x86/include/asm/msr-trace.h:21:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../arch/x86/lib/msr.c:7: In file included from ../arch/x86/include/asm/msr-trace.h:58: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../arch/x86/include/asm/msr-trace.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../arch/x86/lib/msr.c:7: In file included from ../arch/x86/include/asm/msr-trace.h:58: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../arch/x86/include/asm/msr-trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../arch/x86/lib/msr.c:7: In file included from ../arch/x86/include/asm/msr-trace.h:58: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../arch/x86/include/asm/msr-trace.h:21:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 18 errors generated. make[4]: *** [../scripts/Makefile.build:244: arch/x86/lib/msr.o] Error 1 make[3]: *** [../scripts/Makefile.build:485: arch/x86/lib] Error 2 make[3]: *** Waiting for unfinished jobs.... In file included from ../arch/x86/entry/vsyscall/vsyscall_64.c:43: In file included from ../arch/x86/entry/vsyscall/vsyscall_trace.h:30: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/entry/vsyscall/vsyscall_trace.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | TRACE_EVENT(emulate_vsyscall, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/entry/vsyscall/vsyscall_64.c:43: In file included from ../arch/x86/entry/vsyscall/vsyscall_trace.h:30: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/entry/vsyscall/vsyscall_trace.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/entry/vsyscall/vsyscall_64.c:43: In file included from ../arch/x86/entry/vsyscall/vsyscall_trace.h:30: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/entry/vsyscall/vsyscall_trace.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/entry/vsyscall/vsyscall_64.c:43: In file included from ../arch/x86/entry/vsyscall/vsyscall_trace.h:30: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/entry/vsyscall/vsyscall_trace.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/entry/vsyscall/vsyscall_64.c:43: In file included from ../arch/x86/entry/vsyscall/vsyscall_trace.h:30: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/entry/vsyscall/vsyscall_trace.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/entry/vsyscall/vsyscall_64.c:43: In file included from ../arch/x86/entry/vsyscall/vsyscall_trace.h:30: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/entry/vsyscall/vsyscall_trace.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/entry/vsyscall/vsyscall_64.c:43: In file included from ../arch/x86/entry/vsyscall/vsyscall_trace.h:30: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../arch/x86/entry/vsyscall/vsyscall_trace.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | TRACE_EVENT(emulate_vsyscall, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/entry/vsyscall/vsyscall_64.c:43: In file included from ../arch/x86/entry/vsyscall/vsyscall_trace.h:30: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../arch/x86/entry/vsyscall/vsyscall_trace.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/entry/vsyscall/vsyscall_64.c:43: In file included from ../arch/x86/entry/vsyscall/vsyscall_trace.h:30: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../arch/x86/entry/vsyscall/vsyscall_trace.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/entry/vsyscall/vsyscall_64.c:43: In file included from ../arch/x86/entry/vsyscall/vsyscall_trace.h:30: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../arch/x86/entry/vsyscall/vsyscall_trace.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/entry/vsyscall/vsyscall_64.c:43: In file included from ../arch/x86/entry/vsyscall/vsyscall_trace.h:30: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../arch/x86/entry/vsyscall/vsyscall_trace.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/entry/vsyscall/vsyscall_64.c:43: In file included from ../arch/x86/entry/vsyscall/vsyscall_trace.h:30: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../arch/x86/entry/vsyscall/vsyscall_trace.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/entry/vsyscall/vsyscall_64.c:43: In file included from ../arch/x86/entry/vsyscall/vsyscall_trace.h:30: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../arch/x86/entry/vsyscall/vsyscall_trace.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | TRACE_EVENT(emulate_vsyscall, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../arch/x86/entry/vsyscall/vsyscall_64.c:43: In file included from ../arch/x86/entry/vsyscall/vsyscall_trace.h:30: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../arch/x86/entry/vsyscall/vsyscall_trace.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../arch/x86/entry/vsyscall/vsyscall_64.c:43: In file included from ../arch/x86/entry/vsyscall/vsyscall_trace.h:30: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../arch/x86/entry/vsyscall/vsyscall_trace.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../arch/x86/entry/vsyscall/vsyscall_64.c:43: In file included from ../arch/x86/entry/vsyscall/vsyscall_trace.h:30: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../arch/x86/entry/vsyscall/vsyscall_trace.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../arch/x86/entry/vsyscall/vsyscall_64.c:43: In file included from ../arch/x86/entry/vsyscall/vsyscall_trace.h:30: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../arch/x86/entry/vsyscall/vsyscall_trace.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../arch/x86/entry/vsyscall/vsyscall_64.c:43: In file included from ../arch/x86/entry/vsyscall/vsyscall_trace.h:30: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../arch/x86/entry/vsyscall/vsyscall_trace.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 18 errors generated. make[6]: *** [../scripts/Makefile.build:244: arch/x86/entry/vsyscall/vsyscall_64.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: arch/x86/entry/vsyscall] Error 2 make[4]: *** [../scripts/Makefile.build:485: arch/x86/entry] Error 2 make[4]: *** Waiting for unfinished jobs.... In file included from ../samples/trace_events/trace-events-sample.c:12: In file included from ../samples/trace_events/trace-events-sample.h:631: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/trace_events/trace-events-sample.h:291:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 291 | TRACE_EVENT(foo_bar, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../samples/trace_events/trace-events-sample.c:12: In file included from ../samples/trace_events/trace-events-sample.h:631: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/trace_events/trace-events-sample.h:291:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../samples/trace_events/trace-events-sample.c:12: In file included from ../samples/trace_events/trace-events-sample.h:631: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/trace_events/trace-events-sample.h:291:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../samples/trace_events/trace-events-sample.c:12: In file included from ../samples/trace_events/trace-events-sample.h:631: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/trace_events/trace-events-sample.h:291:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../samples/trace_events/trace-events-sample.c:12: In file included from ../samples/trace_events/trace-events-sample.h:631: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/trace_events/trace-events-sample.h:291:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../samples/trace_events/trace-events-sample.c:12: In file included from ../samples/trace_events/trace-events-sample.h:631: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/trace_events/trace-events-sample.h:291:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../samples/trace_events/trace-events-sample.c:12: In file included from ../samples/trace_events/trace-events-sample.h:631: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/trace_events/trace-events-sample.h:408:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 408 | TRACE_EVENT_CONDITION(foo_bar_with_cond, | ^ ../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' 32 | TRACE_EVENT(name, \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../samples/trace_events/trace-events-sample.c:12: In file included from ../samples/trace_events/trace-events-sample.h:631: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/trace_events/trace-events-sample.h:408:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' 32 | TRACE_EVENT(name, \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../samples/trace_events/trace-events-sample.c:12: In file included from ../samples/trace_events/trace-events-sample.h:631: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/trace_events/trace-events-sample.h:408:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' 32 | TRACE_EVENT(name, \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../samples/trace_events/trace-events-sample.c:12: In file included from ../samples/trace_events/trace-events-sample.h:631: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/trace_events/trace-events-sample.h:408:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' 32 | TRACE_EVENT(name, \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../samples/trace_events/trace-events-sample.c:12: In file included from ../samples/trace_events/trace-events-sample.h:631: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/trace_events/trace-events-sample.h:408:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' 32 | TRACE_EVENT(name, \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../samples/trace_events/trace-events-sample.c:12: In file included from ../samples/trace_events/trace-events-sample.h:631: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/trace_events/trace-events-sample.h:408:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' 32 | TRACE_EVENT(name, \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../samples/trace_events/trace-events-sample.c:12: In file included from ../samples/trace_events/trace-events-sample.h:631: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/trace_events/trace-events-sample.h:451:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 451 | TRACE_EVENT_FN(foo_bar_with_fn, | ^ ../include/trace/trace_events.h:92:2: note: expanded from macro 'TRACE_EVENT_FN' 92 | TRACE_EVENT(name, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../samples/trace_events/trace-events-sample.c:12: In file included from ../samples/trace_events/trace-events-sample.h:631: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/trace_events/trace-events-sample.h:451:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:92:2: note: expanded from macro 'TRACE_EVENT_FN' 92 | TRACE_EVENT(name, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../samples/trace_events/trace-events-sample.c:12: In file included from ../samples/trace_events/trace-events-sample.h:631: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/trace_events/trace-events-sample.h:451:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:92:2: note: expanded from macro 'TRACE_EVENT_FN' 92 | TRACE_EVENT(name, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../samples/trace_events/trace-events-sample.c:12: In file included from ../samples/trace_events/trace-events-sample.h:631: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/trace_events/trace-events-sample.h:451:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:92:2: note: expanded from macro 'TRACE_EVENT_FN' 92 | TRACE_EVENT(name, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../samples/trace_events/trace-events-sample.c:12: In file included from ../samples/trace_events/trace-events-sample.h:631: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/trace_events/trace-events-sample.h:451:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:92:2: note: expanded from macro 'TRACE_EVENT_FN' 92 | TRACE_EVENT(name, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../samples/trace_events/trace-events-sample.c:12: In file included from ../samples/trace_events/trace-events-sample.h:631: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/trace_events/trace-events-sample.h:451:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:92:2: note: expanded from macro 'TRACE_EVENT_FN' 92 | TRACE_EVENT(name, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../samples/trace_events/trace-events-sample.c:12: In file included from ../samples/trace_events/trace-events-sample.h:631: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/trace_events/trace-events-sample.h:498:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 498 | DECLARE_EVENT_CLASS(foo_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: samples/trace_events/trace-events-sample.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: samples/trace_events] Error 2 make[4]: *** Waiting for unfinished jobs.... In file included from ../sound/firewire/amdtp-stream.c:27: In file included from ../sound/firewire/amdtp-stream-trace.h:81: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/firewire/amdtp-stream-trace.h:16:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 16 | TRACE_EVENT(amdtp_packet, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/firewire/amdtp-stream.c:27: In file included from ../sound/firewire/amdtp-stream-trace.h:81: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/firewire/amdtp-stream-trace.h:16:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/firewire/amdtp-stream.c:27: In file included from ../sound/firewire/amdtp-stream-trace.h:81: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/firewire/amdtp-stream-trace.h:16:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/firewire/amdtp-stream.c:27: In file included from ../sound/firewire/amdtp-stream-trace.h:81: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/firewire/amdtp-stream-trace.h:16:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/firewire/amdtp-stream.c:27: In file included from ../sound/firewire/amdtp-stream-trace.h:81: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/firewire/amdtp-stream-trace.h:16:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/firewire/amdtp-stream.c:27: In file included from ../sound/firewire/amdtp-stream-trace.h:81: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/firewire/amdtp-stream-trace.h:16:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/firewire/amdtp-stream.c:27: In file included from ../sound/firewire/amdtp-stream-trace.h:81: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../sound/firewire/amdtp-stream-trace.h:16:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 16 | TRACE_EVENT(amdtp_packet, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/firewire/amdtp-stream.c:27: In file included from ../sound/firewire/amdtp-stream-trace.h:81: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../sound/firewire/amdtp-stream-trace.h:16:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/firewire/amdtp-stream.c:27: In file included from ../sound/firewire/amdtp-stream-trace.h:81: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../sound/firewire/amdtp-stream-trace.h:16:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/firewire/amdtp-stream.c:27: In file included from ../sound/firewire/amdtp-stream-trace.h:81: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../sound/firewire/amdtp-stream-trace.h:16:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/firewire/amdtp-stream.c:27: In file included from ../sound/firewire/amdtp-stream-trace.h:81: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../sound/firewire/amdtp-stream-trace.h:16:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/firewire/amdtp-stream.c:27: In file included from ../sound/firewire/amdtp-stream-trace.h:81: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../sound/firewire/amdtp-stream-trace.h:16:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/firewire/amdtp-stream.c:27: In file included from ../sound/firewire/amdtp-stream-trace.h:81: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../sound/firewire/amdtp-stream-trace.h:16:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 16 | TRACE_EVENT(amdtp_packet, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../sound/firewire/amdtp-stream.c:27: In file included from ../sound/firewire/amdtp-stream-trace.h:81: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../sound/firewire/amdtp-stream-trace.h:16:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../sound/firewire/amdtp-stream.c:27: In file included from ../sound/firewire/amdtp-stream-trace.h:81: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../sound/firewire/amdtp-stream-trace.h:16:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../sound/firewire/amdtp-stream.c:27: In file included from ../sound/firewire/amdtp-stream-trace.h:81: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../sound/firewire/amdtp-stream-trace.h:16:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../sound/firewire/amdtp-stream.c:27: In file included from ../sound/firewire/amdtp-stream-trace.h:81: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../sound/firewire/amdtp-stream-trace.h:16:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../sound/firewire/amdtp-stream.c:27: In file included from ../sound/firewire/amdtp-stream-trace.h:81: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../sound/firewire/amdtp-stream-trace.h:16:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 18 errors generated. make[5]: *** [../scripts/Makefile.build:244: sound/firewire/amdtp-stream.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../arch/x86/hyperv/mmu.c:15: In file included from ../arch/x86/include/asm/trace/hyperv.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/hyperv.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 11 | TRACE_EVENT(hyperv_mmu_flush_tlb_multi, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/hyperv/mmu.c:15: In file included from ../arch/x86/include/asm/trace/hyperv.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/hyperv.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/hyperv/mmu.c:15: In file included from ../arch/x86/include/asm/trace/hyperv.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/hyperv.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/hyperv/mmu.c:15: In file included from ../arch/x86/include/asm/trace/hyperv.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/hyperv.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/hyperv/mmu.c:15: In file included from ../arch/x86/include/asm/trace/hyperv.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/hyperv.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/hyperv/mmu.c:15: In file included from ../arch/x86/include/asm/trace/hyperv.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/hyperv.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/hyperv/mmu.c:15: In file included from ../arch/x86/include/asm/trace/hyperv.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/hyperv.h:31:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 31 | TRACE_EVENT(hyperv_nested_flush_guest_mapping, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/hyperv/mmu.c:15: In file included from ../arch/x86/include/asm/trace/hyperv.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/hyperv.h:31:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/hyperv/mmu.c:15: In file included from ../arch/x86/include/asm/trace/hyperv.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/hyperv.h:31:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/hyperv/mmu.c:15: In file included from ../arch/x86/include/asm/trace/hyperv.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/hyperv.h:31:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/hyperv/mmu.c:15: In file included from ../arch/x86/include/asm/trace/hyperv.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/hyperv.h:31:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/hyperv/mmu.c:15: In file included from ../arch/x86/include/asm/trace/hyperv.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/hyperv.h:31:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/hyperv/mmu.c:15: In file included from ../arch/x86/include/asm/trace/hyperv.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/hyperv.h:45:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 45 | TRACE_EVENT(hyperv_nested_flush_guest_mapping_range, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/hyperv/mmu.c:15: In file included from ../arch/x86/include/asm/trace/hyperv.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/hyperv.h:45:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/hyperv/mmu.c:15: In file included from ../arch/x86/include/asm/trace/hyperv.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/hyperv.h:45:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/hyperv/mmu.c:15: In file included from ../arch/x86/include/asm/trace/hyperv.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/hyperv.h:45:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/hyperv/mmu.c:15: In file included from ../arch/x86/include/asm/trace/hyperv.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/hyperv.h:45:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/hyperv/mmu.c:15: In file included from ../arch/x86/include/asm/trace/hyperv.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/hyperv.h:45:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/hyperv/mmu.c:15: In file included from ../arch/x86/include/asm/trace/hyperv.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/hyperv.h:59:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 59 | TRACE_EVENT(hyperv_send_ipi_mask, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: arch/x86/hyperv/mmu.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: arch/x86/hyperv] Error 2 In file included from ../samples/ftrace/sample-trace-array.c:18: In file included from ../samples/ftrace/sample-trace-array.h:84: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/ftrace/sample-trace-array.h:60:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 60 | TRACE_EVENT(sample_event, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../samples/ftrace/sample-trace-array.c:18: In file included from ../samples/ftrace/sample-trace-array.h:84: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/ftrace/sample-trace-array.h:60:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../samples/ftrace/sample-trace-array.c:18: In file included from ../samples/ftrace/sample-trace-array.h:84: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/ftrace/sample-trace-array.h:60:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../samples/ftrace/sample-trace-array.c:18: In file included from ../samples/ftrace/sample-trace-array.h:84: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/ftrace/sample-trace-array.h:60:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../samples/ftrace/sample-trace-array.c:18: In file included from ../samples/ftrace/sample-trace-array.h:84: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/ftrace/sample-trace-array.h:60:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../samples/ftrace/sample-trace-array.c:18: In file included from ../samples/ftrace/sample-trace-array.h:84: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/ftrace/sample-trace-array.h:60:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../samples/ftrace/sample-trace-array.c:18: In file included from ../samples/ftrace/sample-trace-array.h:84: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../samples/ftrace/sample-trace-array.h:60:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 60 | TRACE_EVENT(sample_event, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../samples/ftrace/sample-trace-array.c:18: In file included from ../samples/ftrace/sample-trace-array.h:84: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../samples/ftrace/sample-trace-array.h:60:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../samples/ftrace/sample-trace-array.c:18: In file included from ../samples/ftrace/sample-trace-array.h:84: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../samples/ftrace/sample-trace-array.h:60:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../samples/ftrace/sample-trace-array.c:18: In file included from ../samples/ftrace/sample-trace-array.h:84: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../samples/ftrace/sample-trace-array.h:60:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../samples/ftrace/sample-trace-array.c:18: In file included from ../samples/ftrace/sample-trace-array.h:84: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../samples/ftrace/sample-trace-array.h:60:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../samples/ftrace/sample-trace-array.c:18: In file included from ../samples/ftrace/sample-trace-array.h:84: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../samples/ftrace/sample-trace-array.h:60:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../samples/ftrace/sample-trace-array.c:18: In file included from ../samples/ftrace/sample-trace-array.h:84: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../samples/ftrace/sample-trace-array.h:60:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 60 | TRACE_EVENT(sample_event, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../samples/ftrace/sample-trace-array.c:18: In file included from ../samples/ftrace/sample-trace-array.h:84: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../samples/ftrace/sample-trace-array.h:60:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../samples/ftrace/sample-trace-array.c:18: In file included from ../samples/ftrace/sample-trace-array.h:84: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../samples/ftrace/sample-trace-array.h:60:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../samples/ftrace/sample-trace-array.c:18: In file included from ../samples/ftrace/sample-trace-array.h:84: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../samples/ftrace/sample-trace-array.h:60:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../samples/ftrace/sample-trace-array.c:18: In file included from ../samples/ftrace/sample-trace-array.h:84: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../samples/ftrace/sample-trace-array.h:60:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../samples/ftrace/sample-trace-array.c:18: In file included from ../samples/ftrace/sample-trace-array.h:84: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../samples/ftrace/sample-trace-array.h:60:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 18 errors generated. make[5]: *** [../scripts/Makefile.build:244: samples/ftrace/sample-trace-array.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: samples/ftrace] Error 2 make[3]: *** [../scripts/Makefile.build:485: samples] Error 2 In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 11 | TRACE_EVENT(hwptr, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:50:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 50 | TRACE_EVENT(xrun, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:50:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:83:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 83 | TRACE_EVENT(hw_ptr_error, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:83:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:83:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:83:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:83:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:83:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:106:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 106 | TRACE_EVENT(applptr, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: sound/core/pcm_lib.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../sound/core/pcm_native.c:32: In file included from ../sound/core/pcm_param_trace.h:143: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_param_trace.h:28:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 28 | TRACE_EVENT(hw_mask_param, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/core/pcm_native.c:32: In file included from ../sound/core/pcm_param_trace.h:143: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_param_trace.h:28:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/core/pcm_native.c:32: In file included from ../sound/core/pcm_param_trace.h:143: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_param_trace.h:28:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/core/pcm_native.c:32: In file included from ../sound/core/pcm_param_trace.h:143: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_param_trace.h:28:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/core/pcm_native.c:32: In file included from ../sound/core/pcm_param_trace.h:143: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_param_trace.h:28:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/core/pcm_native.c:32: In file included from ../sound/core/pcm_param_trace.h:143: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_param_trace.h:28:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/core/pcm_native.c:32: In file included from ../sound/core/pcm_param_trace.h:143: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_param_trace.h:68:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 68 | TRACE_EVENT(hw_interval_param, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/core/pcm_native.c:32: In file included from ../sound/core/pcm_param_trace.h:143: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_param_trace.h:68:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/core/pcm_native.c:32: In file included from ../sound/core/pcm_param_trace.h:143: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_param_trace.h:68:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/core/pcm_native.c:32: In file included from ../sound/core/pcm_param_trace.h:143: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_param_trace.h:68:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/core/pcm_native.c:32: In file included from ../sound/core/pcm_param_trace.h:143: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_param_trace.h:68:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/core/pcm_native.c:32: In file included from ../sound/core/pcm_param_trace.h:143: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_param_trace.h:68:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/core/pcm_native.c:32: In file included from ../sound/core/pcm_param_trace.h:143: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../sound/core/pcm_param_trace.h:28:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 28 | TRACE_EVENT(hw_mask_param, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/core/pcm_native.c:32: In file included from ../sound/core/pcm_param_trace.h:143: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../sound/core/pcm_param_trace.h:28:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/core/pcm_native.c:32: In file included from ../sound/core/pcm_param_trace.h:143: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../sound/core/pcm_param_trace.h:28:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/core/pcm_native.c:32: In file included from ../sound/core/pcm_param_trace.h:143: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../sound/core/pcm_param_trace.h:28:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/core/pcm_native.c:32: In file included from ../sound/core/pcm_param_trace.h:143: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../sound/core/pcm_param_trace.h:28:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/core/pcm_native.c:32: In file included from ../sound/core/pcm_param_trace.h:143: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../sound/core/pcm_param_trace.h:28:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/core/pcm_native.c:32: In file included from ../sound/core/pcm_param_trace.h:143: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../sound/core/pcm_param_trace.h:68:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 68 | TRACE_EVENT(hw_interval_param, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: sound/core/pcm_native.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: sound/core] Error 2 make[4]: *** Waiting for unfinished jobs.... In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: In file included from ../include/trace/events/gpu_mem.h:57: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/gpu_mem.h:30:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 30 | TRACE_EVENT(gpu_mem_total, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: In file included from ../include/trace/events/gpu_mem.h:57: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/gpu_mem.h:30:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: In file included from ../include/trace/events/gpu_mem.h:57: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/gpu_mem.h:30:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: In file included from ../include/trace/events/gpu_mem.h:57: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/gpu_mem.h:30:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: In file included from ../include/trace/events/gpu_mem.h:57: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/gpu_mem.h:30:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: In file included from ../include/trace/events/gpu_mem.h:57: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/gpu_mem.h:30:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: In file included from ../include/trace/events/gpu_mem.h:57: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/gpu_mem.h:30:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 30 | TRACE_EVENT(gpu_mem_total, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: In file included from ../include/trace/events/gpu_mem.h:57: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/gpu_mem.h:30:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: In file included from ../include/trace/events/gpu_mem.h:57: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/gpu_mem.h:30:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: In file included from ../include/trace/events/gpu_mem.h:57: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/gpu_mem.h:30:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: In file included from ../include/trace/events/gpu_mem.h:57: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/gpu_mem.h:30:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: In file included from ../include/trace/events/gpu_mem.h:57: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/gpu_mem.h:30:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: In file included from ../include/trace/events/gpu_mem.h:57: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/gpu_mem.h:30:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 30 | TRACE_EVENT(gpu_mem_total, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: In file included from ../include/trace/events/gpu_mem.h:57: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/gpu_mem.h:30:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: In file included from ../include/trace/events/gpu_mem.h:57: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/gpu_mem.h:30:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: In file included from ../include/trace/events/gpu_mem.h:57: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/gpu_mem.h:30:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: In file included from ../include/trace/events/gpu_mem.h:57: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/gpu_mem.h:30:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: In file included from ../include/trace/events/gpu_mem.h:57: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/gpu_mem.h:30:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 18 errors generated. make[6]: *** [../scripts/Makefile.build:244: drivers/gpu/trace/trace_gpu_mem.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: drivers/gpu/trace] Error 2 make[5]: *** Waiting for unfinished jobs.... In file included from ../drivers/pwm/core.c:27: In file included from ../include/trace/events/pwm.h:58: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/pwm.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 11 | DECLARE_EVENT_CLASS(pwm, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/pwm/core.c:27: In file included from ../include/trace/events/pwm.h:58: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/pwm.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/pwm/core.c:27: In file included from ../include/trace/events/pwm.h:58: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/pwm.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/pwm/core.c:27: In file included from ../include/trace/events/pwm.h:58: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/pwm.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/pwm/core.c:27: In file included from ../include/trace/events/pwm.h:58: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/pwm.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/pwm/core.c:27: In file included from ../include/trace/events/pwm.h:58: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/pwm.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/pwm/core.c:27: In file included from ../include/trace/events/pwm.h:58: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/pwm.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 11 | DECLARE_EVENT_CLASS(pwm, | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/pwm/core.c:27: In file included from ../include/trace/events/pwm.h:58: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/pwm.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/pwm/core.c:27: In file included from ../include/trace/events/pwm.h:58: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/pwm.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/pwm/core.c:27: In file included from ../include/trace/events/pwm.h:58: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/pwm.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/pwm/core.c:27: In file included from ../include/trace/events/pwm.h:58: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/pwm.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/pwm/core.c:27: In file included from ../include/trace/events/pwm.h:58: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/pwm.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/pwm/core.c:27: In file included from ../include/trace/events/pwm.h:58: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/pwm.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 11 | DECLARE_EVENT_CLASS(pwm, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/pwm/core.c:27: In file included from ../include/trace/events/pwm.h:58: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/pwm.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/pwm/core.c:27: In file included from ../include/trace/events/pwm.h:58: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/pwm.h:11:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/pwm/core.c:27: In file included from ../include/trace/events/pwm.h:58: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/pwm.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/pwm/core.c:27: In file included from ../include/trace/events/pwm.h:58: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/pwm.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/pwm/core.c:27: In file included from ../include/trace/events/pwm.h:58: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/pwm.h:11:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 18 errors generated. make[5]: *** [../scripts/Makefile.build:244: drivers/pwm/core.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: drivers/pwm] Error 2 make[4]: *** Waiting for unfinished jobs.... In file included from ../arch/x86/mm/fault.c:42: In file included from ../arch/x86/include/asm/trace/exceptions.h:54: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/exceptions.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | DECLARE_EVENT_CLASS(x86_exceptions, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/mm/fault.c:42: In file included from ../arch/x86/include/asm/trace/exceptions.h:54: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/exceptions.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/mm/fault.c:42: In file included from ../arch/x86/include/asm/trace/exceptions.h:54: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/exceptions.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/mm/fault.c:42: In file included from ../arch/x86/include/asm/trace/exceptions.h:54: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/exceptions.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/mm/fault.c:42: In file included from ../arch/x86/include/asm/trace/exceptions.h:54: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/exceptions.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/mm/fault.c:42: In file included from ../arch/x86/include/asm/trace/exceptions.h:54: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/exceptions.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/mm/fault.c:42: In file included from ../arch/x86/include/asm/trace/exceptions.h:54: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../arch/x86/include/asm/trace/exceptions.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | DECLARE_EVENT_CLASS(x86_exceptions, | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/mm/fault.c:42: In file included from ../arch/x86/include/asm/trace/exceptions.h:54: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../arch/x86/include/asm/trace/exceptions.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/mm/fault.c:42: In file included from ../arch/x86/include/asm/trace/exceptions.h:54: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../arch/x86/include/asm/trace/exceptions.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/mm/fault.c:42: In file included from ../arch/x86/include/asm/trace/exceptions.h:54: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../arch/x86/include/asm/trace/exceptions.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/mm/fault.c:42: In file included from ../arch/x86/include/asm/trace/exceptions.h:54: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../arch/x86/include/asm/trace/exceptions.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/mm/fault.c:42: In file included from ../arch/x86/include/asm/trace/exceptions.h:54: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../arch/x86/include/asm/trace/exceptions.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/mm/fault.c:42: In file included from ../arch/x86/include/asm/trace/exceptions.h:54: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../arch/x86/include/asm/trace/exceptions.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | DECLARE_EVENT_CLASS(x86_exceptions, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../arch/x86/mm/fault.c:42: In file included from ../arch/x86/include/asm/trace/exceptions.h:54: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../arch/x86/include/asm/trace/exceptions.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../arch/x86/mm/fault.c:42: In file included from ../arch/x86/include/asm/trace/exceptions.h:54: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../arch/x86/include/asm/trace/exceptions.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../arch/x86/mm/fault.c:42: In file included from ../arch/x86/include/asm/trace/exceptions.h:54: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../arch/x86/include/asm/trace/exceptions.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../arch/x86/mm/fault.c:42: In file included from ../arch/x86/include/asm/trace/exceptions.h:54: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../arch/x86/include/asm/trace/exceptions.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../arch/x86/mm/fault.c:42: In file included from ../arch/x86/include/asm/trace/exceptions.h:54: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../arch/x86/include/asm/trace/exceptions.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 18 errors generated. make[5]: *** [../scripts/Makefile.build:244: arch/x86/mm/fault.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: arch/x86/mm] Error 2 In file included from ../sound/hda/trace.c:6: In file included from ../sound/hda/trace.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/hda/trace.h:19:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 19 | TRACE_EVENT(hda_send_cmd, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/hda/trace.c:6: In file included from ../sound/hda/trace.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/hda/trace.h:19:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/hda/trace.c:6: In file included from ../sound/hda/trace.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/hda/trace.h:19:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/hda/trace.c:6: In file included from ../sound/hda/trace.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/hda/trace.h:19:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/hda/trace.c:6: In file included from ../sound/hda/trace.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/hda/trace.h:19:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/hda/trace.c:6: In file included from ../sound/hda/trace.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/hda/trace.h:19:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/hda/trace.c:6: In file included from ../sound/hda/trace.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/hda/trace.h:33:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 33 | TRACE_EVENT(hda_get_response, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/hda/trace.c:6: In file included from ../sound/hda/trace.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/hda/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/hda/trace.c:6: In file included from ../sound/hda/trace.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/hda/trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/hda/trace.c:6: In file included from ../sound/hda/trace.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/hda/trace.h:33:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/hda/trace.c:6: In file included from ../sound/hda/trace.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/hda/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/hda/trace.c:6: In file included from ../sound/hda/trace.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/hda/trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/hda/trace.c:6: In file included from ../sound/hda/trace.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/hda/trace.h:49:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 49 | TRACE_EVENT(hda_unsol_event, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/hda/trace.c:6: In file included from ../sound/hda/trace.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/hda/trace.h:49:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/hda/trace.c:6: In file included from ../sound/hda/trace.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/hda/trace.h:49:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/hda/trace.c:6: In file included from ../sound/hda/trace.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/hda/trace.h:49:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/hda/trace.c:6: In file included from ../sound/hda/trace.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/hda/trace.h:49:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/hda/trace.c:6: In file included from ../sound/hda/trace.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/hda/trace.h:49:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/hda/trace.c:6: In file included from ../sound/hda/trace.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/hda/trace.h:66:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 66 | DECLARE_EVENT_CLASS(hdac_stream, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: sound/hda/trace.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: sound/hda] Error 2 In file included from ../arch/x86/xen/trace.c:21: In file included from ../include/trace/events/xen.h:459: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/xen.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 15 | DECLARE_EVENT_CLASS(xen_mc__batch, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/xen/trace.c:21: In file included from ../include/trace/events/xen.h:459: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/xen.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/xen/trace.c:21: In file included from ../include/trace/events/xen.h:459: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/xen.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/xen/trace.c:21: In file included from ../include/trace/events/xen.h:459: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/xen.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/xen/trace.c:21: In file included from ../include/trace/events/xen.h:459: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/xen.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/xen/trace.c:21: In file included from ../include/trace/events/xen.h:459: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/xen.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/xen/trace.c:21: In file included from ../include/trace/events/xen.h:459: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/xen.h:36:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 36 | TRACE_EVENT(xen_mc_entry, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/xen/trace.c:21: In file included from ../include/trace/events/xen.h:459: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/xen.h:36:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/xen/trace.c:21: In file included from ../include/trace/events/xen.h:459: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/xen.h:36:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/xen/trace.c:21: In file included from ../include/trace/events/xen.h:459: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/xen.h:36:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/xen/trace.c:21: In file included from ../include/trace/events/xen.h:459: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/xen.h:36:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/xen/trace.c:21: In file included from ../include/trace/events/xen.h:459: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/xen.h:36:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/xen/trace.c:21: In file included from ../include/trace/events/xen.h:459: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/xen.h:55:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 55 | TRACE_EVENT(xen_mc_entry_alloc, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/xen/trace.c:21: In file included from ../include/trace/events/xen.h:459: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/xen.h:55:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/xen/trace.c:21: In file included from ../include/trace/events/xen.h:459: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/xen.h:55:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/xen/trace.c:21: In file included from ../include/trace/events/xen.h:459: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/xen.h:55:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/xen/trace.c:21: In file included from ../include/trace/events/xen.h:459: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/xen.h:55:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/xen/trace.c:21: In file included from ../include/trace/events/xen.h:459: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/xen.h:55:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/xen/trace.c:21: In file included from ../include/trace/events/xen.h:459: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/xen.h:65:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 65 | TRACE_EVENT(xen_mc_callback, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: arch/x86/xen/trace.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: arch/x86/xen] Error 2 In file included from ../drivers/bus/mhi/host/init.c:24: In file included from ../drivers/bus/mhi/host/trace.h:282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/bus/mhi/host/trace.h:89:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 89 | TRACE_EVENT(mhi_gen_tre, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/bus/mhi/host/init.c:24: In file included from ../drivers/bus/mhi/host/trace.h:282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/bus/mhi/host/trace.h:89:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/bus/mhi/host/init.c:24: In file included from ../drivers/bus/mhi/host/trace.h:282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/bus/mhi/host/trace.h:89:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/bus/mhi/host/init.c:24: In file included from ../drivers/bus/mhi/host/trace.h:282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/bus/mhi/host/trace.h:89:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/bus/mhi/host/init.c:24: In file included from ../drivers/bus/mhi/host/trace.h:282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/bus/mhi/host/trace.h:89:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/bus/mhi/host/init.c:24: In file included from ../drivers/bus/mhi/host/trace.h:282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/bus/mhi/host/trace.h:89:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/bus/mhi/host/init.c:24: In file included from ../drivers/bus/mhi/host/trace.h:282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/bus/mhi/host/trace.h:119:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 119 | TRACE_EVENT(mhi_intvec_states, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/bus/mhi/host/init.c:24: In file included from ../drivers/bus/mhi/host/trace.h:282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/bus/mhi/host/trace.h:119:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/bus/mhi/host/init.c:24: In file included from ../drivers/bus/mhi/host/trace.h:282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/bus/mhi/host/trace.h:119:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/bus/mhi/host/init.c:24: In file included from ../drivers/bus/mhi/host/trace.h:282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/bus/mhi/host/trace.h:119:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/bus/mhi/host/init.c:24: In file included from ../drivers/bus/mhi/host/trace.h:282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/bus/mhi/host/trace.h:119:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/bus/mhi/host/init.c:24: In file included from ../drivers/bus/mhi/host/trace.h:282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/bus/mhi/host/trace.h:119:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/bus/mhi/host/init.c:24: In file included from ../drivers/bus/mhi/host/trace.h:282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/bus/mhi/host/trace.h:149:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 149 | TRACE_EVENT(mhi_tryset_pm_state, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/bus/mhi/host/init.c:24: In file included from ../drivers/bus/mhi/host/trace.h:282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/bus/mhi/host/trace.h:149:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/bus/mhi/host/init.c:24: In file included from ../drivers/bus/mhi/host/trace.h:282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/bus/mhi/host/trace.h:149:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/bus/mhi/host/init.c:24: In file included from ../drivers/bus/mhi/host/trace.h:282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/bus/mhi/host/trace.h:149:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/bus/mhi/host/init.c:24: In file included from ../drivers/bus/mhi/host/trace.h:282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/bus/mhi/host/trace.h:149:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/bus/mhi/host/init.c:24: In file included from ../drivers/bus/mhi/host/trace.h:282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/bus/mhi/host/trace.h:149:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/bus/mhi/host/init.c:24: In file included from ../drivers/bus/mhi/host/trace.h:282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/bus/mhi/host/trace.h:171:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 171 | DECLARE_EVENT_CLASS(mhi_process_event_ring, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[7]: *** [../scripts/Makefile.build:244: drivers/bus/mhi/host/init.o] Error 1 make[6]: *** [../scripts/Makefile.build:485: drivers/bus/mhi/host] Error 2 make[5]: *** [../scripts/Makefile.build:485: drivers/bus/mhi] Error 2 make[4]: *** [../scripts/Makefile.build:485: drivers/bus] Error 2 In file included from ../drivers/gpu/host1x/dev.c:23: In file included from ../include/trace/events/host1x.h:267: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/host1x.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 21 | DECLARE_EVENT_CLASS(host1x, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/host1x/dev.c:23: In file included from ../include/trace/events/host1x.h:267: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/host1x.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/host1x/dev.c:23: In file included from ../include/trace/events/host1x.h:267: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/host1x.h:21:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/host1x/dev.c:23: In file included from ../include/trace/events/host1x.h:267: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/host1x.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/host1x/dev.c:23: In file included from ../include/trace/events/host1x.h:267: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/host1x.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/host1x/dev.c:23: In file included from ../include/trace/events/host1x.h:267: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/host1x.h:21:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/host1x/dev.c:23: In file included from ../include/trace/events/host1x.h:267: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/host1x.h:49:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 49 | TRACE_EVENT(host1x_cdma_push, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/host1x/dev.c:23: In file included from ../include/trace/events/host1x.h:267: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/host1x.h:49:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/host1x/dev.c:23: In file included from ../include/trace/events/host1x.h:267: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/host1x.h:49:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/host1x/dev.c:23: In file included from ../include/trace/events/host1x.h:267: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/host1x.h:49:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/host1x/dev.c:23: In file included from ../include/trace/events/host1x.h:267: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/host1x.h:49:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/host1x/dev.c:23: In file included from ../include/trace/events/host1x.h:267: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/host1x.h:49:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/host1x/dev.c:23: In file included from ../include/trace/events/host1x.h:267: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/host1x.h:70:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 70 | TRACE_EVENT(host1x_cdma_push_wide, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/host1x/dev.c:23: In file included from ../include/trace/events/host1x.h:267: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/host1x.h:70:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/host1x/dev.c:23: In file included from ../include/trace/events/host1x.h:267: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/host1x.h:70:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/host1x/dev.c:23: In file included from ../include/trace/events/host1x.h:267: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/host1x.h:70:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/host1x/dev.c:23: In file included from ../include/trace/events/host1x.h:267: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/host1x.h:70:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/host1x/dev.c:23: In file included from ../include/trace/events/host1x.h:267: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/host1x.h:70:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/host1x/dev.c:23: In file included from ../include/trace/events/host1x.h:267: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/host1x.h:96:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 96 | TRACE_EVENT(host1x_cdma_push_gather, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[6]: *** [../scripts/Makefile.build:244: drivers/gpu/host1x/dev.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: drivers/gpu/host1x] Error 2 In file included from ../init/main.c:113: In file included from ../include/trace/events/initcall.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/initcall.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | TRACE_EVENT(initcall_level, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../init/main.c:113: In file included from ../include/trace/events/initcall.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/initcall.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../init/main.c:113: In file included from ../include/trace/events/initcall.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/initcall.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../init/main.c:113: In file included from ../include/trace/events/initcall.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/initcall.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../init/main.c:113: In file included from ../include/trace/events/initcall.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/initcall.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../init/main.c:113: In file included from ../include/trace/events/initcall.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/initcall.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../init/main.c:113: In file included from ../include/trace/events/initcall.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/initcall.h:27:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 27 | TRACE_EVENT(initcall_start, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../init/main.c:113: In file included from ../include/trace/events/initcall.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/initcall.h:27:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../init/main.c:113: In file included from ../include/trace/events/initcall.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/initcall.h:27:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../init/main.c:113: In file included from ../include/trace/events/initcall.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/initcall.h:27:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../init/main.c:113: In file included from ../include/trace/events/initcall.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/initcall.h:27:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../init/main.c:113: In file included from ../include/trace/events/initcall.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/initcall.h:27:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../init/main.c:113: In file included from ../include/trace/events/initcall.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/initcall.h:48:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 48 | TRACE_EVENT(initcall_finish, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../init/main.c:113: In file included from ../include/trace/events/initcall.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/initcall.h:48:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../init/main.c:113: In file included from ../include/trace/events/initcall.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/initcall.h:48:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../init/main.c:113: In file included from ../include/trace/events/initcall.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/initcall.h:48:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../init/main.c:113: In file included from ../include/trace/events/initcall.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/initcall.h:48:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../init/main.c:113: In file included from ../include/trace/events/initcall.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/initcall.h:48:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../init/main.c:113: In file included from ../include/trace/events/initcall.h:74: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/initcall.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | TRACE_EVENT(initcall_level, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[4]: *** [../scripts/Makefile.build:244: init/main.o] Error 1 make[3]: *** [../scripts/Makefile.build:485: init] Error 2 In file included from ../drivers/clk/clk.c:100: In file included from ../include/trace/events/clk.h:313: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/clk.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 15 | DECLARE_EVENT_CLASS(clk, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/clk/clk.c:100: In file included from ../include/trace/events/clk.h:313: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/clk.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/clk/clk.c:100: In file included from ../include/trace/events/clk.h:313: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/clk.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/clk/clk.c:100: In file included from ../include/trace/events/clk.h:313: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/clk.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/clk/clk.c:100: In file included from ../include/trace/events/clk.h:313: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/clk.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/clk/clk.c:100: In file included from ../include/trace/events/clk.h:313: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/clk.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/clk/clk.c:100: In file included from ../include/trace/events/clk.h:313: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/clk.h:88:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 88 | DECLARE_EVENT_CLASS(clk_rate, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/clk/clk.c:100: In file included from ../include/trace/events/clk.h:313: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/clk.h:88:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/clk/clk.c:100: In file included from ../include/trace/events/clk.h:313: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/clk.h:88:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/clk/clk.c:100: In file included from ../include/trace/events/clk.h:313: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/clk.h:88:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/clk/clk.c:100: In file included from ../include/trace/events/clk.h:313: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/clk.h:88:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/clk/clk.c:100: In file included from ../include/trace/events/clk.h:313: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/clk.h:88:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/clk/clk.c:100: In file included from ../include/trace/events/clk.h:313: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/clk.h:135:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 135 | DECLARE_EVENT_CLASS(clk_rate_range, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/clk/clk.c:100: In file included from ../include/trace/events/clk.h:313: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/clk.h:135:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/clk/clk.c:100: In file included from ../include/trace/events/clk.h:313: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/clk.h:135:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/clk/clk.c:100: In file included from ../include/trace/events/clk.h:313: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/clk.h:135:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/clk/clk.c:100: In file included from ../include/trace/events/clk.h:313: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/clk.h:135:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/clk/clk.c:100: In file included from ../include/trace/events/clk.h:313: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/clk.h:135:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/clk/clk.c:100: In file included from ../include/trace/events/clk.h:313: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/clk.h:165:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 165 | DECLARE_EVENT_CLASS(clk_parent, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: drivers/clk/clk.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: drivers/clk] Error 2 In file included from ../sound/firewire/motu/amdtp-motu.c:13: In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 21 | TRACE_EVENT(data_block_sph, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/firewire/motu/amdtp-motu.c:13: In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/firewire/motu/amdtp-motu.c:13: In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/firewire/motu/amdtp-motu.c:13: In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/firewire/motu/amdtp-motu.c:13: In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/firewire/motu/amdtp-motu.c:13: In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/firewire/motu/amdtp-motu.c:13: In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/firewire/motu/amdtp-motu-trace.h:50:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 50 | TRACE_EVENT(data_block_message, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/firewire/motu/amdtp-motu.c:13: In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/firewire/motu/amdtp-motu-trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/firewire/motu/amdtp-motu.c:13: In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/firewire/motu/amdtp-motu-trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/firewire/motu/amdtp-motu.c:13: In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/firewire/motu/amdtp-motu-trace.h:50:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/firewire/motu/amdtp-motu.c:13: In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/firewire/motu/amdtp-motu-trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/firewire/motu/amdtp-motu.c:13: In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/firewire/motu/amdtp-motu-trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/firewire/motu/amdtp-motu.c:13: In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 21 | TRACE_EVENT(data_block_sph, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/firewire/motu/amdtp-motu.c:13: In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/firewire/motu/amdtp-motu.c:13: In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/firewire/motu/amdtp-motu.c:13: In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/firewire/motu/amdtp-motu.c:13: In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/firewire/motu/amdtp-motu.c:13: In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/firewire/motu/amdtp-motu.c:13: In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../sound/firewire/motu/amdtp-motu-trace.h:50:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 50 | TRACE_EVENT(data_block_message, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[6]: *** [../scripts/Makefile.build:244: sound/firewire/motu/amdtp-motu.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: sound/firewire/motu] Error 2 make[4]: *** [../scripts/Makefile.build:485: sound/firewire] Error 2 In file included from ../drivers/dma/fsl-edma-trace.c:4: In file included from ../drivers/dma/fsl-edma-common.h:342: In file included from ../drivers/dma/fsl-edma-trace.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/dma/fsl-edma-trace.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 15 | DECLARE_EVENT_CLASS(edma_log_io, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma/fsl-edma-trace.c:4: In file included from ../drivers/dma/fsl-edma-common.h:342: In file included from ../drivers/dma/fsl-edma-trace.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/dma/fsl-edma-trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma/fsl-edma-trace.c:4: In file included from ../drivers/dma/fsl-edma-common.h:342: In file included from ../drivers/dma/fsl-edma-trace.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/dma/fsl-edma-trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma/fsl-edma-trace.c:4: In file included from ../drivers/dma/fsl-edma-common.h:342: In file included from ../drivers/dma/fsl-edma-trace.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/dma/fsl-edma-trace.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma/fsl-edma-trace.c:4: In file included from ../drivers/dma/fsl-edma-common.h:342: In file included from ../drivers/dma/fsl-edma-trace.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/dma/fsl-edma-trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma/fsl-edma-trace.c:4: In file included from ../drivers/dma/fsl-edma-common.h:342: In file included from ../drivers/dma/fsl-edma-trace.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/dma/fsl-edma-trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma/fsl-edma-trace.c:4: In file included from ../drivers/dma/fsl-edma-common.h:342: In file included from ../drivers/dma/fsl-edma-trace.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/dma/fsl-edma-trace.h:62:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 62 | DECLARE_EVENT_CLASS(edma_log_tcd, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma/fsl-edma-trace.c:4: In file included from ../drivers/dma/fsl-edma-common.h:342: In file included from ../drivers/dma/fsl-edma-trace.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/dma/fsl-edma-trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma/fsl-edma-trace.c:4: In file included from ../drivers/dma/fsl-edma-common.h:342: In file included from ../drivers/dma/fsl-edma-trace.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/dma/fsl-edma-trace.h:62:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma/fsl-edma-trace.c:4: In file included from ../drivers/dma/fsl-edma-common.h:342: In file included from ../drivers/dma/fsl-edma-trace.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/dma/fsl-edma-trace.h:62:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma/fsl-edma-trace.c:4: In file included from ../drivers/dma/fsl-edma-common.h:342: In file included from ../drivers/dma/fsl-edma-trace.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/dma/fsl-edma-trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma/fsl-edma-trace.c:4: In file included from ../drivers/dma/fsl-edma-common.h:342: In file included from ../drivers/dma/fsl-edma-trace.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/dma/fsl-edma-trace.h:62:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma/fsl-edma-trace.c:4: In file included from ../drivers/dma/fsl-edma-common.h:342: In file included from ../drivers/dma/fsl-edma-trace.h:132: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/dma/fsl-edma-trace.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 15 | DECLARE_EVENT_CLASS(edma_log_io, | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma/fsl-edma-trace.c:4: In file included from ../drivers/dma/fsl-edma-common.h:342: In file included from ../drivers/dma/fsl-edma-trace.h:132: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/dma/fsl-edma-trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma/fsl-edma-trace.c:4: In file included from ../drivers/dma/fsl-edma-common.h:342: In file included from ../drivers/dma/fsl-edma-trace.h:132: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/dma/fsl-edma-trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma/fsl-edma-trace.c:4: In file included from ../drivers/dma/fsl-edma-common.h:342: In file included from ../drivers/dma/fsl-edma-trace.h:132: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/dma/fsl-edma-trace.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma/fsl-edma-trace.c:4: In file included from ../drivers/dma/fsl-edma-common.h:342: In file included from ../drivers/dma/fsl-edma-trace.h:132: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/dma/fsl-edma-trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma/fsl-edma-trace.c:4: In file included from ../drivers/dma/fsl-edma-common.h:342: In file included from ../drivers/dma/fsl-edma-trace.h:132: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/dma/fsl-edma-trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma/fsl-edma-trace.c:4: In file included from ../drivers/dma/fsl-edma-common.h:342: In file included from ../drivers/dma/fsl-edma-trace.h:132: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/dma/fsl-edma-trace.h:62:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 62 | DECLARE_EVENT_CLASS(edma_log_tcd, | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: drivers/dma/fsl-edma-trace.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../drivers/iommu/iommu-traces.c:13: In file included from ../include/trace/events/iommu.h:162: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iommu.h:18:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 18 | DECLARE_EVENT_CLASS(iommu_group_event, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/iommu/iommu-traces.c:13: In file included from ../include/trace/events/iommu.h:162: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iommu.h:18:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/iommu/iommu-traces.c:13: In file included from ../include/trace/events/iommu.h:162: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iommu.h:18:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/iommu/iommu-traces.c:13: In file included from ../include/trace/events/iommu.h:162: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iommu.h:18:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/iommu/iommu-traces.c:13: In file included from ../include/trace/events/iommu.h:162: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iommu.h:18:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/iommu/iommu-traces.c:13: In file included from ../include/trace/events/iommu.h:162: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iommu.h:18:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/iommu/iommu-traces.c:13: In file included from ../include/trace/events/iommu.h:162: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iommu.h:54:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 54 | DECLARE_EVENT_CLASS(iommu_device_event, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/iommu/iommu-traces.c:13: In file included from ../include/trace/events/iommu.h:162: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iommu.h:54:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/iommu/iommu-traces.c:13: In file included from ../include/trace/events/iommu.h:162: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iommu.h:54:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/iommu/iommu-traces.c:13: In file included from ../include/trace/events/iommu.h:162: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iommu.h:54:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/iommu/iommu-traces.c:13: In file included from ../include/trace/events/iommu.h:162: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iommu.h:54:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/iommu/iommu-traces.c:13: In file included from ../include/trace/events/iommu.h:162: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iommu.h:54:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/iommu/iommu-traces.c:13: In file included from ../include/trace/events/iommu.h:162: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iommu.h:79:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 79 | TRACE_EVENT(map, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/iommu/iommu-traces.c:13: In file included from ../include/trace/events/iommu.h:162: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iommu.h:79:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/iommu/iommu-traces.c:13: In file included from ../include/trace/events/iommu.h:162: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iommu.h:79:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/iommu/iommu-traces.c:13: In file included from ../include/trace/events/iommu.h:162: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iommu.h:79:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/iommu/iommu-traces.c:13: In file included from ../include/trace/events/iommu.h:162: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iommu.h:79:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/iommu/iommu-traces.c:13: In file included from ../include/trace/events/iommu.h:162: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iommu.h:79:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/iommu/iommu-traces.c:13: In file included from ../include/trace/events/iommu.h:162: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iommu.h:103:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 103 | TRACE_EVENT(unmap, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: drivers/iommu/iommu-traces.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../net/netlink/af_netlink.c:72: In file included from ../include/trace/events/netlink.h:29: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/netlink.h:9:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 9 | TRACE_EVENT(netlink_extack, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/netlink/af_netlink.c:72: In file included from ../include/trace/events/netlink.h:29: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/netlink.h:9:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/netlink/af_netlink.c:72: In file included from ../include/trace/events/netlink.h:29: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/netlink.h:9:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/netlink/af_netlink.c:72: In file included from ../include/trace/events/netlink.h:29: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/netlink.h:9:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/netlink/af_netlink.c:72: In file included from ../include/trace/events/netlink.h:29: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/netlink.h:9:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/netlink/af_netlink.c:72: In file included from ../include/trace/events/netlink.h:29: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/netlink.h:9:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/netlink/af_netlink.c:72: In file included from ../include/trace/events/netlink.h:29: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/netlink.h:9:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 9 | TRACE_EVENT(netlink_extack, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/netlink/af_netlink.c:72: In file included from ../include/trace/events/netlink.h:29: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/netlink.h:9:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/netlink/af_netlink.c:72: In file included from ../include/trace/events/netlink.h:29: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/netlink.h:9:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/netlink/af_netlink.c:72: In file included from ../include/trace/events/netlink.h:29: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/netlink.h:9:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/netlink/af_netlink.c:72: In file included from ../include/trace/events/netlink.h:29: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/netlink.h:9:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/netlink/af_netlink.c:72: In file included from ../include/trace/events/netlink.h:29: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/netlink.h:9:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/netlink/af_netlink.c:72: In file included from ../include/trace/events/netlink.h:29: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/netlink.h:9:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 9 | TRACE_EVENT(netlink_extack, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../net/netlink/af_netlink.c:72: In file included from ../include/trace/events/netlink.h:29: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/netlink.h:9:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../net/netlink/af_netlink.c:72: In file included from ../include/trace/events/netlink.h:29: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/netlink.h:9:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../net/netlink/af_netlink.c:72: In file included from ../include/trace/events/netlink.h:29: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/netlink.h:9:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../net/netlink/af_netlink.c:72: In file included from ../include/trace/events/netlink.h:29: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/netlink.h:9:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../net/netlink/af_netlink.c:72: In file included from ../include/trace/events/netlink.h:29: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/netlink.h:9:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 18 errors generated. make[5]: *** [../scripts/Makefile.build:244: net/netlink/af_netlink.o] Error 1 In file included from ../sound/soc/soc-core.c:45: In file included from ../include/trace/events/asoc.h:279: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/asoc.h:22:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 22 | DECLARE_EVENT_CLASS(snd_soc_dapm, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/soc/soc-core.c:45: In file included from ../include/trace/events/asoc.h:279: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/asoc.h:22:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/soc/soc-core.c:45: In file included from ../include/trace/events/asoc.h:279: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/asoc.h:22:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/soc/soc-core.c:45: In file included from ../include/trace/events/asoc.h:279: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/asoc.h:22:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/soc/soc-core.c:45: In file included from ../include/trace/events/asoc.h:279: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/asoc.h:22:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/soc/soc-core.c:45: In file included from ../include/trace/events/asoc.h:279: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/asoc.h:22:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/soc/soc-core.c:45: In file included from ../include/trace/events/asoc.h:279: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/asoc.h:60:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 60 | DECLARE_EVENT_CLASS(snd_soc_dapm_basic, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/soc/soc-core.c:45: In file included from ../include/trace/events/asoc.h:279: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/asoc.h:60:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/soc/soc-core.c:45: In file included from ../include/trace/events/asoc.h:279: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/asoc.h:60:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/soc/soc-core.c:45: In file included from ../include/trace/events/asoc.h:279: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/asoc.h:60:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/soc/soc-core.c:45: In file included from ../include/trace/events/asoc.h:279: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/asoc.h:60:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/soc/soc-core.c:45: In file included from ../include/trace/events/asoc.h:279: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/asoc.h:60:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/soc/soc-core.c:45: In file included from ../include/trace/events/asoc.h:279: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/asoc.h:95:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 95 | DECLARE_EVENT_CLASS(snd_soc_dapm_widget, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/soc/soc-core.c:45: In file included from ../include/trace/events/asoc.h:279: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/asoc.h:95:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/soc/soc-core.c:45: In file included from ../include/trace/events/asoc.h:279: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/asoc.h:95:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/soc/soc-core.c:45: In file included from ../include/trace/events/asoc.h:279: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/asoc.h:95:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/soc/soc-core.c:45: In file included from ../include/trace/events/asoc.h:279: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/asoc.h:95:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/soc/soc-core.c:45: In file included from ../include/trace/events/asoc.h:279: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/asoc.h:95:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/soc/soc-core.c:45: In file included from ../include/trace/events/asoc.h:279: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/asoc.h:139:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 139 | TRACE_EVENT(snd_soc_dapm_walk_done, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: sound/soc/soc-core.o] Error 1 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [../scripts/Makefile.build:485: net/netlink] Error 2 make[4]: *** Waiting for unfinished jobs.... In file included from ../drivers/dma-buf/dma-fence.c:21: In file included from ../include/trace/events/dma_fence.h:89: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/dma_fence.h:12:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 12 | DECLARE_EVENT_CLASS(dma_fence, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma-buf/dma-fence.c:21: In file included from ../include/trace/events/dma_fence.h:89: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma-buf/dma-fence.c:21: In file included from ../include/trace/events/dma_fence.h:89: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma-buf/dma-fence.c:21: In file included from ../include/trace/events/dma_fence.h:89: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/dma_fence.h:12:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma-buf/dma-fence.c:21: In file included from ../include/trace/events/dma_fence.h:89: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma-buf/dma-fence.c:21: In file included from ../include/trace/events/dma_fence.h:89: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma-buf/dma-fence.c:21: In file included from ../include/trace/events/dma_fence.h:89: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/dma_fence.h:12:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 12 | DECLARE_EVENT_CLASS(dma_fence, | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma-buf/dma-fence.c:21: In file included from ../include/trace/events/dma_fence.h:89: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma-buf/dma-fence.c:21: In file included from ../include/trace/events/dma_fence.h:89: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma-buf/dma-fence.c:21: In file included from ../include/trace/events/dma_fence.h:89: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/dma_fence.h:12:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma-buf/dma-fence.c:21: In file included from ../include/trace/events/dma_fence.h:89: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma-buf/dma-fence.c:21: In file included from ../include/trace/events/dma_fence.h:89: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma-buf/dma-fence.c:21: In file included from ../include/trace/events/dma_fence.h:89: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/dma_fence.h:12:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 12 | DECLARE_EVENT_CLASS(dma_fence, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/dma-buf/dma-fence.c:21: In file included from ../include/trace/events/dma_fence.h:89: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/dma-buf/dma-fence.c:21: In file included from ../include/trace/events/dma_fence.h:89: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/dma-buf/dma-fence.c:21: In file included from ../include/trace/events/dma_fence.h:89: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/dma_fence.h:12:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/dma-buf/dma-fence.c:21: In file included from ../include/trace/events/dma_fence.h:89: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/dma-buf/dma-fence.c:21: In file included from ../include/trace/events/dma_fence.h:89: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 18 errors generated. make[5]: *** [../scripts/Makefile.build:244: drivers/dma-buf/dma-fence.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../mm/filemap.c:54: In file included from ../include/trace/events/filemap.h:118: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/filemap.h:16:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 16 | DECLARE_EVENT_CLASS(mm_filemap_op_page_cache, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/filemap.c:54: In file included from ../include/trace/events/filemap.h:118: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/filemap.h:16:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/filemap.c:54: In file included from ../include/trace/events/filemap.h:118: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/filemap.h:16:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/filemap.c:54: In file included from ../include/trace/events/filemap.h:118: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/filemap.h:16:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/filemap.c:54: In file included from ../include/trace/events/filemap.h:118: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/filemap.h:16:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/filemap.c:54: In file included from ../include/trace/events/filemap.h:118: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/filemap.h:16:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/filemap.c:54: In file included from ../include/trace/events/filemap.h:118: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/filemap.h:59:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 59 | TRACE_EVENT(filemap_set_wb_err, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/filemap.c:54: In file included from ../include/trace/events/filemap.h:118: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/filemap.h:59:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/filemap.c:54: In file included from ../include/trace/events/filemap.h:118: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/filemap.h:59:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/filemap.c:54: In file included from ../include/trace/events/filemap.h:118: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/filemap.h:59:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/filemap.c:54: In file included from ../include/trace/events/filemap.h:118: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/filemap.h:59:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/filemap.c:54: In file included from ../include/trace/events/filemap.h:118: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/filemap.h:59:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/filemap.c:54: In file included from ../include/trace/events/filemap.h:118: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/filemap.h:84:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 84 | TRACE_EVENT(file_check_and_advance_wb_err, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/filemap.c:54: In file included from ../include/trace/events/filemap.h:118: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/filemap.h:84:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/filemap.c:54: In file included from ../include/trace/events/filemap.h:118: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/filemap.h:84:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/filemap.c:54: In file included from ../include/trace/events/filemap.h:118: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/filemap.h:84:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/filemap.c:54: In file included from ../include/trace/events/filemap.h:118: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/filemap.h:84:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/filemap.c:54: In file included from ../include/trace/events/filemap.h:118: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/filemap.h:84:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/filemap.c:54: In file included from ../include/trace/events/filemap.h:118: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/filemap.h:16:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 16 | DECLARE_EVENT_CLASS(mm_filemap_op_page_cache, | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[4]: *** [../scripts/Makefile.build:244: mm/filemap.o] Error 1 make[4]: *** Waiting for unfinished jobs.... In file included from ../fs/fs-writeback.c:81: In file included from ../include/trace/events/writeback.h:861: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/writeback.h:55:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 55 | DECLARE_EVENT_CLASS(writeback_folio_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../fs/fs-writeback.c:81: In file included from ../include/trace/events/writeback.h:861: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/writeback.h:55:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../fs/fs-writeback.c:81: In file included from ../include/trace/events/writeback.h:861: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/writeback.h:55:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../fs/fs-writeback.c:81: In file included from ../include/trace/events/writeback.h:861: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/writeback.h:55:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../fs/fs-writeback.c:81: In file included from ../include/trace/events/writeback.h:861: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/writeback.h:55:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../fs/fs-writeback.c:81: In file included from ../include/trace/events/writeback.h:861: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/writeback.h:55:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../fs/fs-writeback.c:81: In file included from ../include/trace/events/writeback.h:861: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/writeback.h:96:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 96 | DECLARE_EVENT_CLASS(writeback_dirty_inode_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../fs/fs-writeback.c:81: In file included from ../include/trace/events/writeback.h:861: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/writeback.h:96:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../fs/fs-writeback.c:81: In file included from ../include/trace/events/writeback.h:861: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/writeback.h:96:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../fs/fs-writeback.c:81: In file included from ../include/trace/events/writeback.h:861: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/writeback.h:96:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../fs/fs-writeback.c:81: In file included from ../include/trace/events/writeback.h:861: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/writeback.h:96:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../fs/fs-writeback.c:81: In file included from ../include/trace/events/writeback.h:861: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/writeback.h:96:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../fs/fs-writeback.c:81: In file included from ../include/trace/events/writeback.h:861: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/writeback.h:179:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 179 | TRACE_EVENT(inode_foreign_history, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../fs/fs-writeback.c:81: In file included from ../include/trace/events/writeback.h:861: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/writeback.h:179:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../fs/fs-writeback.c:81: In file included from ../include/trace/events/writeback.h:861: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/writeback.h:179:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../fs/fs-writeback.c:81: In file included from ../include/trace/events/writeback.h:861: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/writeback.h:179:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../fs/fs-writeback.c:81: In file included from ../include/trace/events/writeback.h:861: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/writeback.h:179:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../fs/fs-writeback.c:81: In file included from ../include/trace/events/writeback.h:861: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/writeback.h:179:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../fs/fs-writeback.c:81: In file included from ../include/trace/events/writeback.h:861: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/writeback.h:208:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 208 | TRACE_EVENT(inode_switch_wbs, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[4]: *** [../scripts/Makefile.build:244: fs/fs-writeback.o] Error 1 make[4]: *** Waiting for unfinished jobs.... In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-aoss.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | TRACE_EVENT(aoss_send, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-aoss.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-aoss.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-aoss.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-aoss.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-aoss.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-aoss.h:26:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 26 | TRACE_EVENT(aoss_send_done, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-aoss.h:26:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-aoss.h:26:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-aoss.h:26:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-aoss.h:26:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-aoss.h:26:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/soc/qcom/trace-aoss.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | TRACE_EVENT(aoss_send, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/soc/qcom/trace-aoss.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/soc/qcom/trace-aoss.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/soc/qcom/trace-aoss.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/soc/qcom/trace-aoss.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/soc/qcom/trace-aoss.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/soc/qcom/trace-aoss.h:26:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 26 | TRACE_EVENT(aoss_send_done, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[6]: *** [../scripts/Makefile.build:244: drivers/soc/qcom/qcom_aoss.o] Error 1 make[6]: *** Waiting for unfinished jobs.... In file included from ../mm/oom_kill.c:54: In file included from ../include/trace/events/oom.h:223: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/oom.h:12:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 12 | TRACE_EVENT(oom_score_adj_update, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/oom_kill.c:54: In file included from ../include/trace/events/oom.h:223: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/oom.h:12:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/oom_kill.c:54: In file included from ../include/trace/events/oom.h:223: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/oom.h:12:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/oom_kill.c:54: In file included from ../include/trace/events/oom.h:223: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/oom.h:12:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/oom_kill.c:54: In file included from ../include/trace/events/oom.h:223: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/oom.h:12:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/oom_kill.c:54: In file included from ../include/trace/events/oom.h:223: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/oom.h:12:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/oom_kill.c:54: In file included from ../include/trace/events/oom.h:223: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/oom.h:34:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 34 | TRACE_EVENT(reclaim_retry_zone, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/oom_kill.c:54: In file included from ../include/trace/events/oom.h:223: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/oom.h:34:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/oom_kill.c:54: In file included from ../include/trace/events/oom.h:223: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/oom.h:34:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/oom_kill.c:54: In file included from ../include/trace/events/oom.h:223: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/oom.h:34:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/oom_kill.c:54: In file included from ../include/trace/events/oom.h:223: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/oom.h:34:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/oom_kill.c:54: In file included from ../include/trace/events/oom.h:223: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/oom.h:34:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/oom_kill.c:54: In file included from ../include/trace/events/oom.h:223: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/oom.h:76:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 76 | TRACE_EVENT(mark_victim, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/oom_kill.c:54: In file included from ../include/trace/events/oom.h:223: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/oom.h:76:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/oom_kill.c:54: In file included from ../include/trace/events/oom.h:223: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/oom.h:76:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/oom_kill.c:54: In file included from ../include/trace/events/oom.h:223: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/oom.h:76:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/oom_kill.c:54: In file included from ../include/trace/events/oom.h:223: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/oom.h:76:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/oom_kill.c:54: In file included from ../include/trace/events/oom.h:223: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/oom.h:76:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/oom_kill.c:54: In file included from ../include/trace/events/oom.h:223: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/oom.h:118:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 118 | TRACE_EVENT(wake_reaper, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[4]: *** [../scripts/Makefile.build:244: mm/oom_kill.o] Error 1 In file included from ../block/blk-core.c:45: In file included from ../include/trace/events/block.h:609: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/block.h:24:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 24 | DECLARE_EVENT_CLASS(block_buffer, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../block/blk-core.c:45: In file included from ../include/trace/events/block.h:609: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/block.h:24:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../block/blk-core.c:45: In file included from ../include/trace/events/block.h:609: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/block.h:24:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../block/blk-core.c:45: In file included from ../include/trace/events/block.h:609: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/block.h:24:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../block/blk-core.c:45: In file included from ../include/trace/events/block.h:609: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/block.h:24:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../block/blk-core.c:45: In file included from ../include/trace/events/block.h:609: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/block.h:24:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../block/blk-core.c:45: In file included from ../include/trace/events/block.h:609: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/block.h:83:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 83 | TRACE_EVENT(block_rq_requeue, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../block/blk-core.c:45: In file included from ../include/trace/events/block.h:609: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/block.h:83:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../block/blk-core.c:45: In file included from ../include/trace/events/block.h:609: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/block.h:83:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../block/blk-core.c:45: In file included from ../include/trace/events/block.h:609: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/block.h:83:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../block/blk-core.c:45: In file included from ../include/trace/events/block.h:609: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/block.h:83:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../block/blk-core.c:45: In file included from ../include/trace/events/block.h:609: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/block.h:83:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../block/blk-core.c:45: In file included from ../include/trace/events/block.h:609: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/block.h:118:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 118 | DECLARE_EVENT_CLASS(block_rq_completion, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../block/blk-core.c:45: In file included from ../include/trace/events/block.h:609: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/block.h:118:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../block/blk-core.c:45: In file included from ../include/trace/events/block.h:609: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/block.h:118:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../block/blk-core.c:45: In file included from ../include/trace/events/block.h:609: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/block.h:118:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../block/blk-core.c:45: In file included from ../include/trace/events/block.h:609: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/block.h:118:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../block/blk-core.c:45: In file included from ../include/trace/events/block.h:609: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/block.h:118:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../block/blk-core.c:45: In file included from ../include/trace/events/block.h:609: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/block.h:190:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 190 | DECLARE_EVENT_CLASS(block_rq, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[4]: *** [../scripts/Makefile.build:244: block/blk-core.o] Error 1 make[4]: *** Waiting for unfinished jobs.... In file included from ../lib/maple_tree.c:65: In file included from ../include/trace/events/maple_tree.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/maple_tree.h:13:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 13 | TRACE_EVENT(ma_op, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../lib/maple_tree.c:65: In file included from ../include/trace/events/maple_tree.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/maple_tree.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../lib/maple_tree.c:65: In file included from ../include/trace/events/maple_tree.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/maple_tree.h:13:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../lib/maple_tree.c:65: In file included from ../include/trace/events/maple_tree.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/maple_tree.h:13:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../lib/maple_tree.c:65: In file included from ../include/trace/events/maple_tree.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/maple_tree.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../lib/maple_tree.c:65: In file included from ../include/trace/events/maple_tree.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/maple_tree.h:13:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../lib/maple_tree.c:65: In file included from ../include/trace/events/maple_tree.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/maple_tree.h:46:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 46 | TRACE_EVENT(ma_read, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../lib/maple_tree.c:65: In file included from ../include/trace/events/maple_tree.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/maple_tree.h:46:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../lib/maple_tree.c:65: In file included from ../include/trace/events/maple_tree.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/maple_tree.h:46:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../lib/maple_tree.c:65: In file included from ../include/trace/events/maple_tree.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/maple_tree.h:46:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../lib/maple_tree.c:65: In file included from ../include/trace/events/maple_tree.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/maple_tree.h:46:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../lib/maple_tree.c:65: In file included from ../include/trace/events/maple_tree.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/maple_tree.h:46:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../lib/maple_tree.c:65: In file included from ../include/trace/events/maple_tree.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/maple_tree.h:80:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 80 | TRACE_EVENT(ma_write, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../lib/maple_tree.c:65: In file included from ../include/trace/events/maple_tree.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/maple_tree.h:80:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../lib/maple_tree.c:65: In file included from ../include/trace/events/maple_tree.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/maple_tree.h:80:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../lib/maple_tree.c:65: In file included from ../include/trace/events/maple_tree.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/maple_tree.h:80:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../lib/maple_tree.c:65: In file included from ../include/trace/events/maple_tree.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/maple_tree.h:80:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../lib/maple_tree.c:65: In file included from ../include/trace/events/maple_tree.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/maple_tree.h:80:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../lib/maple_tree.c:65: In file included from ../include/trace/events/maple_tree.h:123: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/maple_tree.h:13:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 13 | TRACE_EVENT(ma_op, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[4]: *** [../scripts/Makefile.build:244: lib/maple_tree.o] Error 1 In file included from ../drivers/iommu/intel/trace.c:14: In file included from ../drivers/iommu/intel/trace.h:196: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/iommu/intel/trace.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 21 | TRACE_EVENT(qi_submit, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/iommu/intel/trace.c:14: In file included from ../drivers/iommu/intel/trace.h:196: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/iommu/intel/trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/iommu/intel/trace.c:14: In file included from ../drivers/iommu/intel/trace.h:196: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/iommu/intel/trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/iommu/intel/trace.c:14: In file included from ../drivers/iommu/intel/trace.h:196: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/iommu/intel/trace.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/iommu/intel/trace.c:14: In file included from ../drivers/iommu/intel/trace.h:196: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/iommu/intel/trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/iommu/intel/trace.c:14: In file included from ../drivers/iommu/intel/trace.h:196: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/iommu/intel/trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/iommu/intel/trace.c:14: In file included from ../drivers/iommu/intel/trace.h:196: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/iommu/intel/trace.h:58:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 58 | TRACE_EVENT(prq_report, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/iommu/intel/trace.c:14: In file included from ../drivers/iommu/intel/trace.h:196: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/iommu/intel/trace.h:58:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/iommu/intel/trace.c:14: In file included from ../drivers/iommu/intel/trace.h:196: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/iommu/intel/trace.h:58:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/iommu/intel/trace.c:14: In file included from ../drivers/iommu/intel/trace.h:196: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/iommu/intel/trace.h:58:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/iommu/intel/trace.c:14: In file included from ../drivers/iommu/intel/trace.h:196: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/iommu/intel/trace.h:58:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/iommu/intel/trace.c:14: In file included from ../drivers/iommu/intel/trace.h:196: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/iommu/intel/trace.h:58:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/iommu/intel/trace.c:14: In file included from ../drivers/iommu/intel/trace.h:196: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/iommu/intel/trace.h:93:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 93 | DECLARE_EVENT_CLASS(cache_tag_log, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/iommu/intel/trace.c:14: In file included from ../drivers/iommu/intel/trace.h:196: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/iommu/intel/trace.h:93:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/iommu/intel/trace.c:14: In file included from ../drivers/iommu/intel/trace.h:196: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/iommu/intel/trace.h:93:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/iommu/intel/trace.c:14: In file included from ../drivers/iommu/intel/trace.h:196: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/iommu/intel/trace.h:93:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/iommu/intel/trace.c:14: In file included from ../drivers/iommu/intel/trace.h:196: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/iommu/intel/trace.h:93:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/iommu/intel/trace.c:14: In file included from ../drivers/iommu/intel/trace.h:196: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/iommu/intel/trace.h:93:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/iommu/intel/trace.c:14: In file included from ../drivers/iommu/intel/trace.h:196: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/iommu/intel/trace.h:138:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 138 | DECLARE_EVENT_CLASS(cache_tag_flush, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[6]: *** [../scripts/Makefile.build:244: drivers/iommu/intel/trace.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: drivers/iommu/intel] Error 2 make[4]: *** [../scripts/Makefile.build:485: drivers/iommu] Error 2 make[3]: *** [../scripts/Makefile.build:485: lib] Error 2 In file included from ../arch/x86/kernel/nmi.c:41: In file included from ../include/trace/events/nmi.h:38: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/nmi.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 11 | TRACE_EVENT(nmi_handler, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kernel/nmi.c:41: In file included from ../include/trace/events/nmi.h:38: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/nmi.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kernel/nmi.c:41: In file included from ../include/trace/events/nmi.h:38: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/nmi.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kernel/nmi.c:41: In file included from ../include/trace/events/nmi.h:38: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/nmi.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kernel/nmi.c:41: In file included from ../include/trace/events/nmi.h:38: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/nmi.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kernel/nmi.c:41: In file included from ../include/trace/events/nmi.h:38: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/nmi.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kernel/nmi.c:41: In file included from ../include/trace/events/nmi.h:38: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/nmi.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 11 | TRACE_EVENT(nmi_handler, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kernel/nmi.c:41: In file included from ../include/trace/events/nmi.h:38: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/nmi.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kernel/nmi.c:41: In file included from ../include/trace/events/nmi.h:38: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/nmi.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kernel/nmi.c:41: In file included from ../include/trace/events/nmi.h:38: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/nmi.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kernel/nmi.c:41: In file included from ../include/trace/events/nmi.h:38: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/nmi.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kernel/nmi.c:41: In file included from ../include/trace/events/nmi.h:38: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/nmi.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kernel/nmi.c:41: In file included from ../include/trace/events/nmi.h:38: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/nmi.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 11 | TRACE_EVENT(nmi_handler, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../arch/x86/kernel/nmi.c:41: In file included from ../include/trace/events/nmi.h:38: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/nmi.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../arch/x86/kernel/nmi.c:41: In file included from ../include/trace/events/nmi.h:38: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/nmi.h:11:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../arch/x86/kernel/nmi.c:41: In file included from ../include/trace/events/nmi.h:38: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/nmi.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../arch/x86/kernel/nmi.c:41: In file included from ../include/trace/events/nmi.h:38: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/nmi.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../arch/x86/kernel/nmi.c:41: In file included from ../include/trace/events/nmi.h:38: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/nmi.h:11:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 18 errors generated. make[5]: *** [../scripts/Makefile.build:244: arch/x86/kernel/nmi.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../mm/swap.c:44: In file included from ../include/trace/events/pagemap.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/pagemap.h:28:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 28 | TRACE_EVENT(mm_lru_insertion, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/swap.c:44: In file included from ../include/trace/events/pagemap.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/pagemap.h:28:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/swap.c:44: In file included from ../include/trace/events/pagemap.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/pagemap.h:28:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/swap.c:44: In file included from ../include/trace/events/pagemap.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/pagemap.h:28:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/swap.c:44: In file included from ../include/trace/events/pagemap.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/pagemap.h:28:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/swap.c:44: In file included from ../include/trace/events/pagemap.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/pagemap.h:28:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/swap.c:44: In file included from ../include/trace/events/pagemap.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/pagemap.h:61:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 61 | TRACE_EVENT(mm_lru_activate, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/swap.c:44: In file included from ../include/trace/events/pagemap.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/pagemap.h:61:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/swap.c:44: In file included from ../include/trace/events/pagemap.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/pagemap.h:61:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/swap.c:44: In file included from ../include/trace/events/pagemap.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/pagemap.h:61:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/swap.c:44: In file included from ../include/trace/events/pagemap.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/pagemap.h:61:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/swap.c:44: In file included from ../include/trace/events/pagemap.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/pagemap.h:61:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/swap.c:44: In file included from ../include/trace/events/pagemap.h:83: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/pagemap.h:28:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 28 | TRACE_EVENT(mm_lru_insertion, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/swap.c:44: In file included from ../include/trace/events/pagemap.h:83: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/pagemap.h:28:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/swap.c:44: In file included from ../include/trace/events/pagemap.h:83: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/pagemap.h:28:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/swap.c:44: In file included from ../include/trace/events/pagemap.h:83: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/pagemap.h:28:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/swap.c:44: In file included from ../include/trace/events/pagemap.h:83: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/pagemap.h:28:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/swap.c:44: In file included from ../include/trace/events/pagemap.h:83: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/pagemap.h:28:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/swap.c:44: In file included from ../include/trace/events/pagemap.h:83: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/pagemap.h:61:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 61 | TRACE_EVENT(mm_lru_activate, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[4]: *** [../scripts/Makefile.build:244: mm/swap.o] Error 1 In file included from ../kernel/softirq.c:35: In file included from ../include/trace/events/irq.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq.h:53:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 53 | TRACE_EVENT(irq_handler_entry, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/softirq.c:35: In file included from ../include/trace/events/irq.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq.h:53:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/softirq.c:35: In file included from ../include/trace/events/irq.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq.h:53:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/softirq.c:35: In file included from ../include/trace/events/irq.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq.h:53:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/softirq.c:35: In file included from ../include/trace/events/irq.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq.h:53:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/softirq.c:35: In file included from ../include/trace/events/irq.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq.h:53:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/softirq.c:35: In file included from ../include/trace/events/irq.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq.h:83:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 83 | TRACE_EVENT(irq_handler_exit, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/softirq.c:35: In file included from ../include/trace/events/irq.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq.h:83:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/softirq.c:35: In file included from ../include/trace/events/irq.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq.h:83:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/softirq.c:35: In file included from ../include/trace/events/irq.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq.h:83:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/softirq.c:35: In file included from ../include/trace/events/irq.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq.h:83:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/softirq.c:35: In file included from ../include/trace/events/irq.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq.h:83:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/softirq.c:35: In file included from ../include/trace/events/irq.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq.h:103:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 103 | DECLARE_EVENT_CLASS(softirq, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/softirq.c:35: In file included from ../include/trace/events/irq.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq.h:103:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/softirq.c:35: In file included from ../include/trace/events/irq.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq.h:103:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/softirq.c:35: In file included from ../include/trace/events/irq.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq.h:103:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/softirq.c:35: In file included from ../include/trace/events/irq.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq.h:103:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/softirq.c:35: In file included from ../include/trace/events/irq.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq.h:103:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/softirq.c:35: In file included from ../include/trace/events/irq.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq.h:163:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 163 | DECLARE_EVENT_CLASS(tasklet, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[4]: *** [../scripts/Makefile.build:244: kernel/softirq.o] Error 1 make[4]: *** Waiting for unfinished jobs.... In file included from ../kernel/cpu.c:43: In file included from ../include/trace/events/cpuhp.h:95: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/cpuhp.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | TRACE_EVENT(cpuhp_enter, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/cpu.c:43: In file included from ../include/trace/events/cpuhp.h:95: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/cpuhp.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/cpu.c:43: In file included from ../include/trace/events/cpuhp.h:95: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/cpuhp.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/cpu.c:43: In file included from ../include/trace/events/cpuhp.h:95: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/cpuhp.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/cpu.c:43: In file included from ../include/trace/events/cpuhp.h:95: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/cpuhp.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/cpu.c:43: In file included from ../include/trace/events/cpuhp.h:95: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/cpuhp.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/cpu.c:43: In file included from ../include/trace/events/cpuhp.h:95: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/cpuhp.h:37:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 37 | TRACE_EVENT(cpuhp_multi_enter, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/cpu.c:43: In file included from ../include/trace/events/cpuhp.h:95: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/cpuhp.h:37:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/cpu.c:43: In file included from ../include/trace/events/cpuhp.h:95: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/cpuhp.h:37:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/cpu.c:43: In file included from ../include/trace/events/cpuhp.h:95: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/cpuhp.h:37:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/cpu.c:43: In file included from ../include/trace/events/cpuhp.h:95: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/cpuhp.h:37:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/cpu.c:43: In file included from ../include/trace/events/cpuhp.h:95: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/cpuhp.h:37:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/cpu.c:43: In file included from ../include/trace/events/cpuhp.h:95: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/cpuhp.h:65:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 65 | TRACE_EVENT(cpuhp_exit, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/cpu.c:43: In file included from ../include/trace/events/cpuhp.h:95: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/cpuhp.h:65:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/cpu.c:43: In file included from ../include/trace/events/cpuhp.h:95: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/cpuhp.h:65:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/cpu.c:43: In file included from ../include/trace/events/cpuhp.h:95: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/cpuhp.h:65:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/cpu.c:43: In file included from ../include/trace/events/cpuhp.h:95: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/cpuhp.h:65:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/cpu.c:43: In file included from ../include/trace/events/cpuhp.h:95: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/cpuhp.h:65:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/cpu.c:43: In file included from ../include/trace/events/cpuhp.h:95: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/cpuhp.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | TRACE_EVENT(cpuhp_enter, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[4]: *** [../scripts/Makefile.build:244: kernel/cpu.o] Error 1 In file included from ../net/bpf/test_run.c:29: In file included from ../include/trace/events/bpf_test_run.h:67: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/bpf_test_run.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | TRACE_EVENT(bpf_trigger_tp, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/bpf/test_run.c:29: In file included from ../include/trace/events/bpf_test_run.h:67: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/bpf_test_run.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/bpf/test_run.c:29: In file included from ../include/trace/events/bpf_test_run.h:67: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/bpf_test_run.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/bpf/test_run.c:29: In file included from ../include/trace/events/bpf_test_run.h:67: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/bpf_test_run.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/bpf/test_run.c:29: In file included from ../include/trace/events/bpf_test_run.h:67: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/bpf_test_run.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/bpf/test_run.c:29: In file included from ../include/trace/events/bpf_test_run.h:67: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/bpf_test_run.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/bpf/test_run.c:29: In file included from ../include/trace/events/bpf_test_run.h:67: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/bpf_test_run.h:27:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 27 | DECLARE_EVENT_CLASS(bpf_test_finish, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/bpf/test_run.c:29: In file included from ../include/trace/events/bpf_test_run.h:67: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/bpf_test_run.h:27:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/bpf/test_run.c:29: In file included from ../include/trace/events/bpf_test_run.h:67: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/bpf_test_run.h:27:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/bpf/test_run.c:29: In file included from ../include/trace/events/bpf_test_run.h:67: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/bpf_test_run.h:27:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/bpf/test_run.c:29: In file included from ../include/trace/events/bpf_test_run.h:67: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/bpf_test_run.h:27:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/bpf/test_run.c:29: In file included from ../include/trace/events/bpf_test_run.h:67: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/bpf_test_run.h:27:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/bpf/test_run.c:29: In file included from ../include/trace/events/bpf_test_run.h:67: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/bpf_test_run.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | TRACE_EVENT(bpf_trigger_tp, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/bpf/test_run.c:29: In file included from ../include/trace/events/bpf_test_run.h:67: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/bpf_test_run.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/bpf/test_run.c:29: In file included from ../include/trace/events/bpf_test_run.h:67: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/bpf_test_run.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/bpf/test_run.c:29: In file included from ../include/trace/events/bpf_test_run.h:67: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/bpf_test_run.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/bpf/test_run.c:29: In file included from ../include/trace/events/bpf_test_run.h:67: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/bpf_test_run.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/bpf/test_run.c:29: In file included from ../include/trace/events/bpf_test_run.h:67: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/bpf_test_run.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/bpf/test_run.c:29: In file included from ../include/trace/events/bpf_test_run.h:67: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/bpf_test_run.h:27:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 27 | DECLARE_EVENT_CLASS(bpf_test_finish, | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: net/bpf/test_run.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: net/bpf] Error 2 In file included from ../arch/x86/kernel/irq.c:29: In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/irq_vectors.h:13:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 13 | DECLARE_EVENT_CLASS(x86_irq_vector, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kernel/irq.c:29: In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/irq_vectors.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kernel/irq.c:29: In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/irq_vectors.h:13:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kernel/irq.c:29: In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/irq_vectors.h:13:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kernel/irq.c:29: In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/irq_vectors.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kernel/irq.c:29: In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/irq_vectors.h:13:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kernel/irq.c:29: In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/irq_vectors.h:126:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 126 | TRACE_EVENT(vector_config, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kernel/irq.c:29: In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/irq_vectors.h:126:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kernel/irq.c:29: In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/irq_vectors.h:126:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kernel/irq.c:29: In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/irq_vectors.h:126:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kernel/irq.c:29: In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/irq_vectors.h:126:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kernel/irq.c:29: In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/irq_vectors.h:126:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kernel/irq.c:29: In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/irq_vectors.h:152:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 152 | DECLARE_EVENT_CLASS(vector_mod, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kernel/irq.c:29: In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/irq_vectors.h:152:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kernel/irq.c:29: In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/irq_vectors.h:152:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kernel/irq.c:29: In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/irq_vectors.h:152:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kernel/irq.c:29: In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/irq_vectors.h:152:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kernel/irq.c:29: In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/irq_vectors.h:152:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kernel/irq.c:29: In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/irq_vectors.h:192:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 192 | DECLARE_EVENT_CLASS(vector_reserve, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: arch/x86/kernel/irq.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: arch/x86/kernel] Error 2 In file included from ../drivers/gpio/gpiolib.c:44: In file included from ../include/trace/events/gpio.h:57: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/gpio.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | TRACE_EVENT(gpio_direction, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpio/gpiolib.c:44: In file included from ../include/trace/events/gpio.h:57: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/gpio.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpio/gpiolib.c:44: In file included from ../include/trace/events/gpio.h:57: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/gpio.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpio/gpiolib.c:44: In file included from ../include/trace/events/gpio.h:57: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/gpio.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpio/gpiolib.c:44: In file included from ../include/trace/events/gpio.h:57: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/gpio.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpio/gpiolib.c:44: In file included from ../include/trace/events/gpio.h:57: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/gpio.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpio/gpiolib.c:44: In file included from ../include/trace/events/gpio.h:57: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/gpio.h:32:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 32 | TRACE_EVENT(gpio_value, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpio/gpiolib.c:44: In file included from ../include/trace/events/gpio.h:57: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/gpio.h:32:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpio/gpiolib.c:44: In file included from ../include/trace/events/gpio.h:57: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/gpio.h:32:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpio/gpiolib.c:44: In file included from ../include/trace/events/gpio.h:57: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/gpio.h:32:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpio/gpiolib.c:44: In file included from ../include/trace/events/gpio.h:57: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/gpio.h:32:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpio/gpiolib.c:44: In file included from ../include/trace/events/gpio.h:57: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/gpio.h:32:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpio/gpiolib.c:44: In file included from ../include/trace/events/gpio.h:57: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/gpio.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | TRACE_EVENT(gpio_direction, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpio/gpiolib.c:44: In file included from ../include/trace/events/gpio.h:57: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/gpio.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpio/gpiolib.c:44: In file included from ../include/trace/events/gpio.h:57: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/gpio.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpio/gpiolib.c:44: In file included from ../include/trace/events/gpio.h:57: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/gpio.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpio/gpiolib.c:44: In file included from ../include/trace/events/gpio.h:57: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/gpio.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpio/gpiolib.c:44: In file included from ../include/trace/events/gpio.h:57: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/gpio.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpio/gpiolib.c:44: In file included from ../include/trace/events/gpio.h:57: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/gpio.h:32:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 32 | TRACE_EVENT(gpio_value, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: drivers/gpio/gpiolib.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: drivers/gpio] Error 2 In file included from ../arch/x86/kvm/../../../virt/kvm/kvm_main.c:65: In file included from ../include/trace/events/kvm.h:495: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kvm.h:22:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 22 | TRACE_EVENT(kvm_userspace_exit, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/../../../virt/kvm/kvm_main.c:65: In file included from ../include/trace/events/kvm.h:495: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kvm.h:22:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/../../../virt/kvm/kvm_main.c:65: In file included from ../include/trace/events/kvm.h:495: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kvm.h:22:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/../../../virt/kvm/kvm_main.c:65: In file included from ../include/trace/events/kvm.h:495: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kvm.h:22:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/../../../virt/kvm/kvm_main.c:65: In file included from ../include/trace/events/kvm.h:495: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kvm.h:22:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/../../../virt/kvm/kvm_main.c:65: In file included from ../include/trace/events/kvm.h:495: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kvm.h:22:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/../../../virt/kvm/kvm_main.c:65: In file included from ../include/trace/events/kvm.h:495: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kvm.h:43:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 43 | TRACE_EVENT(kvm_vcpu_wakeup, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/../../../virt/kvm/kvm_main.c:65: In file included from ../include/trace/events/kvm.h:495: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kvm.h:43:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/../../../virt/kvm/kvm_main.c:65: In file included from ../include/trace/events/kvm.h:495: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kvm.h:43:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/../../../virt/kvm/kvm_main.c:65: In file included from ../include/trace/events/kvm.h:495: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kvm.h:43:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/../../../virt/kvm/kvm_main.c:65: In file included from ../include/trace/events/kvm.h:495: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kvm.h:43:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/../../../virt/kvm/kvm_main.c:65: In file included from ../include/trace/events/kvm.h:495: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kvm.h:43:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/../../../virt/kvm/kvm_main.c:65: In file included from ../include/trace/events/kvm.h:495: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kvm.h:66:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 66 | TRACE_EVENT(kvm_set_irq, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/../../../virt/kvm/kvm_main.c:65: In file included from ../include/trace/events/kvm.h:495: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kvm.h:66:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/../../../virt/kvm/kvm_main.c:65: In file included from ../include/trace/events/kvm.h:495: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kvm.h:66:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/../../../virt/kvm/kvm_main.c:65: In file included from ../include/trace/events/kvm.h:495: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kvm.h:66:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/../../../virt/kvm/kvm_main.c:65: In file included from ../include/trace/events/kvm.h:495: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kvm.h:66:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/../../../virt/kvm/kvm_main.c:65: In file included from ../include/trace/events/kvm.h:495: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kvm.h:66:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/../../../virt/kvm/kvm_main.c:65: In file included from ../include/trace/events/kvm.h:495: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kvm.h:98:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 98 | TRACE_EVENT(kvm_ioapic_set_irq, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: arch/x86/kvm/../../../virt/kvm/kvm_main.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:16:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 16 | DECLARE_EVENT_CLASS(regmap_reg, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:16:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:16:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:16:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:16:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:16:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:62:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 62 | DECLARE_EVENT_CLASS(regmap_bulk, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:62:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:62:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:62:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:103:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 103 | DECLARE_EVENT_CLASS(regmap_block, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:103:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:103:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:103:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:103:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:103:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:152:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 152 | TRACE_EVENT(regcache_sync, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[6]: *** [../scripts/Makefile.build:244: drivers/base/regmap/regmap.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: drivers/base/regmap] Error 2 make[5]: *** Waiting for unfinished jobs.... In file included from ../sound/pci/hda/hda_controller.c:32: In file included from ../sound/pci/hda/hda_controller_trace.h:99: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/pci/hda/hda_controller_trace.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | TRACE_EVENT(azx_pcm_trigger, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/pci/hda/hda_controller.c:32: In file included from ../sound/pci/hda/hda_controller_trace.h:99: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/pci/hda/hda_controller_trace.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/pci/hda/hda_controller.c:32: In file included from ../sound/pci/hda/hda_controller_trace.h:99: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/pci/hda/hda_controller_trace.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/pci/hda/hda_controller.c:32: In file included from ../sound/pci/hda/hda_controller_trace.h:99: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/pci/hda/hda_controller_trace.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/pci/hda/hda_controller.c:32: In file included from ../sound/pci/hda/hda_controller_trace.h:99: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/pci/hda/hda_controller_trace.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/pci/hda/hda_controller.c:32: In file included from ../sound/pci/hda/hda_controller_trace.h:99: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/pci/hda/hda_controller_trace.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/pci/hda/hda_controller.c:32: In file included from ../sound/pci/hda/hda_controller_trace.h:99: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/pci/hda/hda_controller_trace.h:35:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 35 | TRACE_EVENT(azx_get_position, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/pci/hda/hda_controller.c:32: In file included from ../sound/pci/hda/hda_controller_trace.h:99: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/pci/hda/hda_controller_trace.h:35:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/pci/hda/hda_controller.c:32: In file included from ../sound/pci/hda/hda_controller_trace.h:99: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/pci/hda/hda_controller_trace.h:35:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/pci/hda/hda_controller.c:32: In file included from ../sound/pci/hda/hda_controller_trace.h:99: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/pci/hda/hda_controller_trace.h:35:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/pci/hda/hda_controller.c:32: In file included from ../sound/pci/hda/hda_controller_trace.h:99: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/pci/hda/hda_controller_trace.h:35:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/pci/hda/hda_controller.c:32: In file included from ../sound/pci/hda/hda_controller_trace.h:99: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/pci/hda/hda_controller_trace.h:35:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/pci/hda/hda_controller.c:32: In file included from ../sound/pci/hda/hda_controller_trace.h:99: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/pci/hda/hda_controller_trace.h:58:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 58 | DECLARE_EVENT_CLASS(azx_pcm, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/pci/hda/hda_controller.c:32: In file included from ../sound/pci/hda/hda_controller_trace.h:99: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/pci/hda/hda_controller_trace.h:58:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/pci/hda/hda_controller.c:32: In file included from ../sound/pci/hda/hda_controller_trace.h:99: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/pci/hda/hda_controller_trace.h:58:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/pci/hda/hda_controller.c:32: In file included from ../sound/pci/hda/hda_controller_trace.h:99: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/pci/hda/hda_controller_trace.h:58:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/pci/hda/hda_controller.c:32: In file included from ../sound/pci/hda/hda_controller_trace.h:99: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/pci/hda/hda_controller_trace.h:58:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/pci/hda/hda_controller.c:32: In file included from ../sound/pci/hda/hda_controller_trace.h:99: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/pci/hda/hda_controller_trace.h:58:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/pci/hda/hda_controller.c:32: In file included from ../sound/pci/hda/hda_controller_trace.h:99: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../sound/pci/hda/hda_controller_trace.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | TRACE_EVENT(azx_pcm_trigger, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[6]: *** [../scripts/Makefile.build:244: sound/pci/hda/hda_controller.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: sound/pci/hda] Error 2 make[4]: *** [../scripts/Makefile.build:485: sound/pci] Error 2 In file included from ../drivers/dma-buf/sw_sync.c:17: In file included from ../drivers/dma-buf/sync_trace.h:33: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/dma-buf/sync_trace.h:12:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 12 | TRACE_EVENT(sync_timeline, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma-buf/sw_sync.c:17: In file included from ../drivers/dma-buf/sync_trace.h:33: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/dma-buf/sync_trace.h:12:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma-buf/sw_sync.c:17: In file included from ../drivers/dma-buf/sync_trace.h:33: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/dma-buf/sync_trace.h:12:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma-buf/sw_sync.c:17: In file included from ../drivers/dma-buf/sync_trace.h:33: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/dma-buf/sync_trace.h:12:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma-buf/sw_sync.c:17: In file included from ../drivers/dma-buf/sync_trace.h:33: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/dma-buf/sync_trace.h:12:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma-buf/sw_sync.c:17: In file included from ../drivers/dma-buf/sync_trace.h:33: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/dma-buf/sync_trace.h:12:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma-buf/sw_sync.c:17: In file included from ../drivers/dma-buf/sync_trace.h:33: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/dma-buf/sync_trace.h:12:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 12 | TRACE_EVENT(sync_timeline, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma-buf/sw_sync.c:17: In file included from ../drivers/dma-buf/sync_trace.h:33: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/dma-buf/sync_trace.h:12:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma-buf/sw_sync.c:17: In file included from ../drivers/dma-buf/sync_trace.h:33: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/dma-buf/sync_trace.h:12:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma-buf/sw_sync.c:17: In file included from ../drivers/dma-buf/sync_trace.h:33: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/dma-buf/sync_trace.h:12:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma-buf/sw_sync.c:17: In file included from ../drivers/dma-buf/sync_trace.h:33: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/dma-buf/sync_trace.h:12:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma-buf/sw_sync.c:17: In file included from ../drivers/dma-buf/sync_trace.h:33: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/dma-buf/sync_trace.h:12:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma-buf/sw_sync.c:17: In file included from ../drivers/dma-buf/sync_trace.h:33: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/dma-buf/sync_trace.h:12:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 12 | TRACE_EVENT(sync_timeline, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/dma-buf/sw_sync.c:17: In file included from ../drivers/dma-buf/sync_trace.h:33: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/dma-buf/sync_trace.h:12:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/dma-buf/sw_sync.c:17: In file included from ../drivers/dma-buf/sync_trace.h:33: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/dma-buf/sync_trace.h:12:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/dma-buf/sw_sync.c:17: In file included from ../drivers/dma-buf/sync_trace.h:33: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/dma-buf/sync_trace.h:12:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/dma-buf/sw_sync.c:17: In file included from ../drivers/dma-buf/sync_trace.h:33: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/dma-buf/sync_trace.h:12:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/dma-buf/sw_sync.c:17: In file included from ../drivers/dma-buf/sync_trace.h:33: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/dma-buf/sync_trace.h:12:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 18 errors generated. make[5]: *** [../scripts/Makefile.build:244: drivers/dma-buf/sw_sync.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: drivers/dma-buf] Error 2 In file included from ../drivers/block/nbd.c:50: In file included from ../include/trace/events/nbd.h:107: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/nbd.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | DECLARE_EVENT_CLASS(nbd_transport_event, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/block/nbd.c:50: In file included from ../include/trace/events/nbd.h:107: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/nbd.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/block/nbd.c:50: In file included from ../include/trace/events/nbd.h:107: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/nbd.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/block/nbd.c:50: In file included from ../include/trace/events/nbd.h:107: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/nbd.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/block/nbd.c:50: In file included from ../include/trace/events/nbd.h:107: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/nbd.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/block/nbd.c:50: In file included from ../include/trace/events/nbd.h:107: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/nbd.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/block/nbd.c:50: In file included from ../include/trace/events/nbd.h:107: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/nbd.h:61:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 61 | DECLARE_EVENT_CLASS(nbd_send_request, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/block/nbd.c:50: In file included from ../include/trace/events/nbd.h:107: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/nbd.h:61:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/block/nbd.c:50: In file included from ../include/trace/events/nbd.h:107: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/nbd.h:61:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/block/nbd.c:50: In file included from ../include/trace/events/nbd.h:107: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/nbd.h:61:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/block/nbd.c:50: In file included from ../include/trace/events/nbd.h:107: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/nbd.h:61:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/block/nbd.c:50: In file included from ../include/trace/events/nbd.h:107: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/nbd.h:61:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/block/nbd.c:50: In file included from ../include/trace/events/nbd.h:107: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/nbd.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | DECLARE_EVENT_CLASS(nbd_transport_event, | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/block/nbd.c:50: In file included from ../include/trace/events/nbd.h:107: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/nbd.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/block/nbd.c:50: In file included from ../include/trace/events/nbd.h:107: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/nbd.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/block/nbd.c:50: In file included from ../include/trace/events/nbd.h:107: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/nbd.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/block/nbd.c:50: In file included from ../include/trace/events/nbd.h:107: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/nbd.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/block/nbd.c:50: In file included from ../include/trace/events/nbd.h:107: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/nbd.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/block/nbd.c:50: In file included from ../include/trace/events/nbd.h:107: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/nbd.h:61:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 61 | DECLARE_EVENT_CLASS(nbd_send_request, | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: drivers/block/nbd.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../security/selinux/avc.c:35: In file included from ../include/trace/events/avc.h:53: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/avc.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | TRACE_EVENT(selinux_audited, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../security/selinux/avc.c:35: In file included from ../include/trace/events/avc.h:53: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../security/selinux/avc.c:35: In file included from ../include/trace/events/avc.h:53: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../security/selinux/avc.c:35: In file included from ../include/trace/events/avc.h:53: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/avc.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../security/selinux/avc.c:35: In file included from ../include/trace/events/avc.h:53: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../security/selinux/avc.c:35: In file included from ../include/trace/events/avc.h:53: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../security/selinux/avc.c:35: In file included from ../include/trace/events/avc.h:53: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/avc.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | TRACE_EVENT(selinux_audited, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../security/selinux/avc.c:35: In file included from ../include/trace/events/avc.h:53: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../security/selinux/avc.c:35: In file included from ../include/trace/events/avc.h:53: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../security/selinux/avc.c:35: In file included from ../include/trace/events/avc.h:53: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/avc.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../security/selinux/avc.c:35: In file included from ../include/trace/events/avc.h:53: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../security/selinux/avc.c:35: In file included from ../include/trace/events/avc.h:53: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../security/selinux/avc.c:35: In file included from ../include/trace/events/avc.h:53: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/avc.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | TRACE_EVENT(selinux_audited, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../security/selinux/avc.c:35: In file included from ../include/trace/events/avc.h:53: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../security/selinux/avc.c:35: In file included from ../include/trace/events/avc.h:53: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../security/selinux/avc.c:35: In file included from ../include/trace/events/avc.h:53: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/avc.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../security/selinux/avc.c:35: In file included from ../include/trace/events/avc.h:53: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../security/selinux/avc.c:35: In file included from ../include/trace/events/avc.h:53: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 18 errors generated. make[5]: *** [../scripts/Makefile.build:244: security/selinux/avc.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: security/selinux] Error 2 make[3]: *** [../scripts/Makefile.build:485: security] Error 2 In file included from ../net/devlink/core.c:9: In file included from ../include/trace/events/devlink.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/devlink.h:17:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 17 | TRACE_EVENT(devlink_hwmsg, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/devlink/core.c:9: In file included from ../include/trace/events/devlink.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/devlink.h:17:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/devlink/core.c:9: In file included from ../include/trace/events/devlink.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/devlink.h:17:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/devlink/core.c:9: In file included from ../include/trace/events/devlink.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/devlink.h:17:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/devlink/core.c:9: In file included from ../include/trace/events/devlink.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/devlink.h:17:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/devlink/core.c:9: In file included from ../include/trace/events/devlink.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/devlink.h:17:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/devlink/core.c:9: In file included from ../include/trace/events/devlink.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/devlink.h:52:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 52 | TRACE_EVENT(devlink_hwerr, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/devlink/core.c:9: In file included from ../include/trace/events/devlink.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/devlink.h:52:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/devlink/core.c:9: In file included from ../include/trace/events/devlink.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/devlink.h:52:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/devlink/core.c:9: In file included from ../include/trace/events/devlink.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/devlink.h:52:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/devlink/core.c:9: In file included from ../include/trace/events/devlink.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/devlink.h:52:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/devlink/core.c:9: In file included from ../include/trace/events/devlink.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/devlink.h:52:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/devlink/core.c:9: In file included from ../include/trace/events/devlink.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/devlink.h:81:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 81 | TRACE_EVENT(devlink_health_report, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/devlink/core.c:9: In file included from ../include/trace/events/devlink.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/devlink.h:81:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/devlink/core.c:9: In file included from ../include/trace/events/devlink.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/devlink.h:81:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/devlink/core.c:9: In file included from ../include/trace/events/devlink.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/devlink.h:81:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/devlink/core.c:9: In file included from ../include/trace/events/devlink.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/devlink.h:81:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/devlink/core.c:9: In file included from ../include/trace/events/devlink.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/devlink.h:81:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/devlink/core.c:9: In file included from ../include/trace/events/devlink.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/devlink.h:112:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 112 | TRACE_EVENT(devlink_health_recover_aborted, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: net/devlink/core.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: net/devlink] Error 2 In file included from ../drivers/cxl/core/trace.c:8: In file included from ../drivers/cxl/core/trace.h:737: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/cxl/core/trace.h:51:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 51 | TRACE_EVENT(cxl_aer_uncorrectable_error, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/cxl/core/trace.c:8: In file included from ../drivers/cxl/core/trace.h:737: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/cxl/core/trace.h:51:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/cxl/core/trace.c:8: In file included from ../drivers/cxl/core/trace.h:737: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/cxl/core/trace.h:51:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/cxl/core/trace.c:8: In file included from ../drivers/cxl/core/trace.h:737: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/cxl/core/trace.h:51:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/cxl/core/trace.c:8: In file included from ../drivers/cxl/core/trace.h:737: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/cxl/core/trace.h:51:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/cxl/core/trace.c:8: In file included from ../drivers/cxl/core/trace.h:737: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/cxl/core/trace.h:51:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/cxl/core/trace.c:8: In file included from ../drivers/cxl/core/trace.h:737: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/cxl/core/trace.h:99:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 99 | TRACE_EVENT(cxl_aer_correctable_error, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/cxl/core/trace.c:8: In file included from ../drivers/cxl/core/trace.h:737: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/cxl/core/trace.h:99:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/cxl/core/trace.c:8: In file included from ../drivers/cxl/core/trace.h:737: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/cxl/core/trace.h:99:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/cxl/core/trace.c:8: In file included from ../drivers/cxl/core/trace.h:737: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/cxl/core/trace.h:99:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/cxl/core/trace.c:8: In file included from ../drivers/cxl/core/trace.h:737: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/cxl/core/trace.h:99:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/cxl/core/trace.c:8: In file included from ../drivers/cxl/core/trace.h:737: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/cxl/core/trace.h:99:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/cxl/core/trace.c:8: In file included from ../drivers/cxl/core/trace.h:737: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/cxl/core/trace.h:127:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 127 | TRACE_EVENT(cxl_overflow, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/cxl/core/trace.c:8: In file included from ../drivers/cxl/core/trace.h:737: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/cxl/core/trace.h:127:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/cxl/core/trace.c:8: In file included from ../drivers/cxl/core/trace.h:737: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/cxl/core/trace.h:127:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/cxl/core/trace.c:8: In file included from ../drivers/cxl/core/trace.h:737: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/cxl/core/trace.h:127:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/cxl/core/trace.c:8: In file included from ../drivers/cxl/core/trace.h:737: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/cxl/core/trace.h:127:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/cxl/core/trace.c:8: In file included from ../drivers/cxl/core/trace.h:737: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/cxl/core/trace.h:127:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/cxl/core/trace.c:8: In file included from ../drivers/cxl/core/trace.h:737: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/cxl/core/trace.h:225:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 225 | TRACE_EVENT(cxl_generic_event, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[6]: *** [../scripts/Makefile.build:244: drivers/cxl/core/trace.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: drivers/cxl/core] Error 2 make[4]: *** [../scripts/Makefile.build:485: drivers/cxl] Error 2 In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/task.h:9:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 9 | TRACE_EVENT(task_newtask, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/task.h:9:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/task.h:9:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/task.h:9:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/task.h:9:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/task.h:9:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/task.h:34:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 34 | TRACE_EVENT(task_rename, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/task.h:34:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/task.h:34:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/task.h:34:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/task.h:34:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/task.h:34:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/task.h:9:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 9 | TRACE_EVENT(task_newtask, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/task.h:9:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/task.h:9:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/task.h:9:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/task.h:9:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/task.h:9:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/task.h:34:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 34 | TRACE_EVENT(task_rename, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[4]: *** [../scripts/Makefile.build:244: kernel/fork.o] Error 1 In file included from ../drivers/regulator/core.c:32: In file included from ../include/trace/events/regulator.h:174: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/regulator.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 15 | DECLARE_EVENT_CLASS(regulator_basic, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/regulator/core.c:32: In file included from ../include/trace/events/regulator.h:174: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/regulator.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/regulator/core.c:32: In file included from ../include/trace/events/regulator.h:174: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/regulator.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/regulator/core.c:32: In file included from ../include/trace/events/regulator.h:174: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/regulator.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/regulator/core.c:32: In file included from ../include/trace/events/regulator.h:174: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/regulator.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/regulator/core.c:32: In file included from ../include/trace/events/regulator.h:174: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/regulator.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/regulator/core.c:32: In file included from ../include/trace/events/regulator.h:174: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/regulator.h:109:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 109 | DECLARE_EVENT_CLASS(regulator_range, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/regulator/core.c:32: In file included from ../include/trace/events/regulator.h:174: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/regulator.h:109:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/regulator/core.c:32: In file included from ../include/trace/events/regulator.h:174: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/regulator.h:109:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/regulator/core.c:32: In file included from ../include/trace/events/regulator.h:174: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/regulator.h:109:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/regulator/core.c:32: In file included from ../include/trace/events/regulator.h:174: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/regulator.h:109:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/regulator/core.c:32: In file included from ../include/trace/events/regulator.h:174: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/regulator.h:109:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/regulator/core.c:32: In file included from ../include/trace/events/regulator.h:174: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/regulator.h:143:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 143 | DECLARE_EVENT_CLASS(regulator_value, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/regulator/core.c:32: In file included from ../include/trace/events/regulator.h:174: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/regulator.h:143:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/regulator/core.c:32: In file included from ../include/trace/events/regulator.h:174: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/regulator.h:143:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/regulator/core.c:32: In file included from ../include/trace/events/regulator.h:174: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/regulator.h:143:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/regulator/core.c:32: In file included from ../include/trace/events/regulator.h:174: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/regulator.h:143:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/regulator/core.c:32: In file included from ../include/trace/events/regulator.h:174: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/regulator.h:143:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/regulator/core.c:32: In file included from ../include/trace/events/regulator.h:174: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/regulator.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 15 | DECLARE_EVENT_CLASS(regulator_basic, | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: drivers/regulator/core.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: drivers/regulator] Error 2 In file included from ../io_uring/io_uring.c:76: In file included from ../include/trace/events/io_uring.h:683: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/io_uring.h:27:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 27 | TRACE_EVENT(io_uring_create, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../io_uring/io_uring.c:76: In file included from ../include/trace/events/io_uring.h:683: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/io_uring.h:27:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../io_uring/io_uring.c:76: In file included from ../include/trace/events/io_uring.h:683: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/io_uring.h:27:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../io_uring/io_uring.c:76: In file included from ../include/trace/events/io_uring.h:683: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/io_uring.h:27:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../io_uring/io_uring.c:76: In file included from ../include/trace/events/io_uring.h:683: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/io_uring.h:27:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../io_uring/io_uring.c:76: In file included from ../include/trace/events/io_uring.h:683: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/io_uring.h:27:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../io_uring/io_uring.c:76: In file included from ../include/trace/events/io_uring.h:683: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/io_uring.h:69:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 69 | TRACE_EVENT(io_uring_register, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../io_uring/io_uring.c:76: In file included from ../include/trace/events/io_uring.h:683: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/io_uring.h:69:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../io_uring/io_uring.c:76: In file included from ../include/trace/events/io_uring.h:683: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/io_uring.h:69:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../io_uring/io_uring.c:76: In file included from ../include/trace/events/io_uring.h:683: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/io_uring.h:69:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../io_uring/io_uring.c:76: In file included from ../include/trace/events/io_uring.h:683: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/io_uring.h:69:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../io_uring/io_uring.c:76: In file included from ../include/trace/events/io_uring.h:683: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/io_uring.h:69:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../io_uring/io_uring.c:76: In file included from ../include/trace/events/io_uring.h:683: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/io_uring.h:108:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 108 | TRACE_EVENT(io_uring_file_get, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../io_uring/io_uring.c:76: In file included from ../include/trace/events/io_uring.h:683: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/io_uring.h:108:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../io_uring/io_uring.c:76: In file included from ../include/trace/events/io_uring.h:683: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/io_uring.h:108:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../io_uring/io_uring.c:76: In file included from ../include/trace/events/io_uring.h:683: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/io_uring.h:108:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../io_uring/io_uring.c:76: In file included from ../include/trace/events/io_uring.h:683: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/io_uring.h:108:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../io_uring/io_uring.c:76: In file included from ../include/trace/events/io_uring.h:683: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/io_uring.h:108:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../io_uring/io_uring.c:76: In file included from ../include/trace/events/io_uring.h:683: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/io_uring.h:140:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 140 | TRACE_EVENT(io_uring_queue_async_work, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[4]: *** [../scripts/Makefile.build:244: io_uring/io_uring.o] Error 1 make[3]: *** [../scripts/Makefile.build:485: io_uring] Error 2 In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/rnbd/rnbd-srv-trace.h:18:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 18 | DECLARE_EVENT_CLASS(rnbd_srv_link_class, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/rnbd/rnbd-srv-trace.h:18:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/rnbd/rnbd-srv-trace.h:18:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/rnbd/rnbd-srv-trace.h:18:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/rnbd/rnbd-srv-trace.h:18:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/rnbd/rnbd-srv-trace.h:18:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/rnbd/rnbd-srv-trace.h:65:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 65 | TRACE_EVENT(process_rdma, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/rnbd/rnbd-srv-trace.h:65:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/rnbd/rnbd-srv-trace.h:65:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/rnbd/rnbd-srv-trace.h:65:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/rnbd/rnbd-srv-trace.h:65:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/rnbd/rnbd-srv-trace.h:65:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/rnbd/rnbd-srv-trace.h:116:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 116 | TRACE_EVENT(process_msg_sess_info, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/rnbd/rnbd-srv-trace.h:116:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/rnbd/rnbd-srv-trace.h:116:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/rnbd/rnbd-srv-trace.h:116:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/rnbd/rnbd-srv-trace.h:116:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/rnbd/rnbd-srv-trace.h:116:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/rnbd/rnbd-srv-trace.h:154:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 154 | TRACE_EVENT(process_msg_open, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[6]: *** [../scripts/Makefile.build:244: drivers/block/rnbd/rnbd-srv-trace.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: drivers/block/rnbd] Error 2 In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | TRACE_EVENT(pmic_pdcharger_ulog_msg, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | TRACE_EVENT(pmic_pdcharger_ulog_msg, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | TRACE_EVENT(pmic_pdcharger_ulog_msg, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 18 errors generated. make[6]: *** [../scripts/Makefile.build:244: drivers/soc/qcom/pmic_pdcharger_ulog.o] Error 1 In file included from ../net/dsa/trace.c:6: In file included from ../net/dsa/trace.h:447: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/dsa/trace.h:24:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 24 | DECLARE_EVENT_CLASS(dsa_port_addr_op_hw, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/dsa/trace.c:6: In file included from ../net/dsa/trace.h:447: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/dsa/trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/dsa/trace.c:6: In file included from ../net/dsa/trace.h:447: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/dsa/trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/dsa/trace.c:6: In file included from ../net/dsa/trace.h:447: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/dsa/trace.h:24:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/dsa/trace.c:6: In file included from ../net/dsa/trace.h:447: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/dsa/trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/dsa/trace.c:6: In file included from ../net/dsa/trace.h:447: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/dsa/trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/dsa/trace.c:6: In file included from ../net/dsa/trace.h:447: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/dsa/trace.h:83:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 83 | DECLARE_EVENT_CLASS(dsa_port_addr_op_refcount, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/dsa/trace.c:6: In file included from ../net/dsa/trace.h:447: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/dsa/trace.h:83:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/dsa/trace.c:6: In file included from ../net/dsa/trace.h:447: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/dsa/trace.h:83:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/dsa/trace.c:6: In file included from ../net/dsa/trace.h:447: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/dsa/trace.h:83:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/dsa/trace.c:6: In file included from ../net/dsa/trace.h:447: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/dsa/trace.h:83:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/dsa/trace.c:6: In file included from ../net/dsa/trace.h:447: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/dsa/trace.h:83:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/dsa/trace.c:6: In file included from ../net/dsa/trace.h:447: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/dsa/trace.h:143:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 143 | DECLARE_EVENT_CLASS(dsa_port_addr_del_not_found, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/dsa/trace.c:6: In file included from ../net/dsa/trace.h:447: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/dsa/trace.h:143:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/dsa/trace.c:6: In file included from ../net/dsa/trace.h:447: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/dsa/trace.h:143:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/dsa/trace.c:6: In file included from ../net/dsa/trace.h:447: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/dsa/trace.h:143:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/dsa/trace.c:6: In file included from ../net/dsa/trace.h:447: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/dsa/trace.h:143:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/dsa/trace.c:6: In file included from ../net/dsa/trace.h:447: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/dsa/trace.h:143:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/dsa/trace.c:6: In file included from ../net/dsa/trace.h:447: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/dsa/trace.h:186:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 186 | TRACE_EVENT(dsa_lag_fdb_add_hw, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: net/dsa/trace.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: net/dsa] Error 2 In file included from ../drivers/misc/mei/mei-trace.c:11: In file included from ../drivers/misc/mei/mei-trace.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/misc/mei/mei-trace.h:19:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 19 | TRACE_EVENT(mei_reg_read, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/misc/mei/mei-trace.c:11: In file included from ../drivers/misc/mei/mei-trace.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/misc/mei/mei-trace.h:19:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/misc/mei/mei-trace.c:11: In file included from ../drivers/misc/mei/mei-trace.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/misc/mei/mei-trace.h:19:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/misc/mei/mei-trace.c:11: In file included from ../drivers/misc/mei/mei-trace.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/misc/mei/mei-trace.h:19:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/misc/mei/mei-trace.c:11: In file included from ../drivers/misc/mei/mei-trace.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/misc/mei/mei-trace.h:19:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/misc/mei/mei-trace.c:11: In file included from ../drivers/misc/mei/mei-trace.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/misc/mei/mei-trace.h:19:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/misc/mei/mei-trace.c:11: In file included from ../drivers/misc/mei/mei-trace.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/misc/mei/mei-trace.h:38:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 38 | TRACE_EVENT(mei_reg_write, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/misc/mei/mei-trace.c:11: In file included from ../drivers/misc/mei/mei-trace.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/misc/mei/mei-trace.h:38:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/misc/mei/mei-trace.c:11: In file included from ../drivers/misc/mei/mei-trace.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/misc/mei/mei-trace.h:38:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/misc/mei/mei-trace.c:11: In file included from ../drivers/misc/mei/mei-trace.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/misc/mei/mei-trace.h:38:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/misc/mei/mei-trace.c:11: In file included from ../drivers/misc/mei/mei-trace.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/misc/mei/mei-trace.h:38:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/misc/mei/mei-trace.c:11: In file included from ../drivers/misc/mei/mei-trace.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/misc/mei/mei-trace.h:38:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/misc/mei/mei-trace.c:11: In file included from ../drivers/misc/mei/mei-trace.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/misc/mei/mei-trace.h:57:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 57 | TRACE_EVENT(mei_pci_cfg_read, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/misc/mei/mei-trace.c:11: In file included from ../drivers/misc/mei/mei-trace.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/misc/mei/mei-trace.h:57:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/misc/mei/mei-trace.c:11: In file included from ../drivers/misc/mei/mei-trace.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/misc/mei/mei-trace.h:57:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/misc/mei/mei-trace.c:11: In file included from ../drivers/misc/mei/mei-trace.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/misc/mei/mei-trace.h:57:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/misc/mei/mei-trace.c:11: In file included from ../drivers/misc/mei/mei-trace.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/misc/mei/mei-trace.h:57:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/misc/mei/mei-trace.c:11: In file included from ../drivers/misc/mei/mei-trace.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/misc/mei/mei-trace.h:57:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/misc/mei/mei-trace.c:11: In file included from ../drivers/misc/mei/mei-trace.h:83: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/misc/mei/mei-trace.h:19:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 19 | TRACE_EVENT(mei_reg_read, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[6]: *** [../scripts/Makefile.build:244: drivers/misc/mei/mei-trace.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: drivers/misc/mei] Error 2 make[4]: *** [../scripts/Makefile.build:485: drivers/misc] Error 2 In file included from ../kernel/signal.c:53: In file included from ../include/trace/events/signal.h:125: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/signal.h:50:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 50 | TRACE_EVENT(signal_generate, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/signal.c:53: In file included from ../include/trace/events/signal.h:125: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/signal.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/signal.c:53: In file included from ../include/trace/events/signal.h:125: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/signal.h:50:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/signal.c:53: In file included from ../include/trace/events/signal.h:125: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/signal.h:50:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/signal.c:53: In file included from ../include/trace/events/signal.h:125: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/signal.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/signal.c:53: In file included from ../include/trace/events/signal.h:125: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/signal.h:50:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/signal.c:53: In file included from ../include/trace/events/signal.h:125: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/signal.h:96:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 96 | TRACE_EVENT(signal_deliver, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/signal.c:53: In file included from ../include/trace/events/signal.h:125: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/signal.h:96:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/signal.c:53: In file included from ../include/trace/events/signal.h:125: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/signal.h:96:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/signal.c:53: In file included from ../include/trace/events/signal.h:125: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/signal.h:96:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/signal.c:53: In file included from ../include/trace/events/signal.h:125: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/signal.h:96:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/signal.c:53: In file included from ../include/trace/events/signal.h:125: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/signal.h:96:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/signal.c:53: In file included from ../include/trace/events/signal.h:125: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/signal.h:50:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 50 | TRACE_EVENT(signal_generate, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/signal.c:53: In file included from ../include/trace/events/signal.h:125: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/signal.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/signal.c:53: In file included from ../include/trace/events/signal.h:125: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/signal.h:50:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/signal.c:53: In file included from ../include/trace/events/signal.h:125: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/signal.h:50:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/signal.c:53: In file included from ../include/trace/events/signal.h:125: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/signal.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/signal.c:53: In file included from ../include/trace/events/signal.h:125: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/signal.h:50:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/signal.c:53: In file included from ../include/trace/events/signal.h:125: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/signal.h:96:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 96 | TRACE_EVENT(signal_deliver, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[4]: *** [../scripts/Makefile.build:244: kernel/signal.o] Error 1 In file included from ../drivers/nvme/target/core.c:16: In file included from ../drivers/nvme/target/trace.h:170: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/target/trace.h:66:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 66 | TRACE_EVENT(nvmet_req_init, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/nvme/target/core.c:16: In file included from ../drivers/nvme/target/trace.h:170: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/target/trace.h:66:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/nvme/target/core.c:16: In file included from ../drivers/nvme/target/trace.h:170: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/target/trace.h:66:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/nvme/target/core.c:16: In file included from ../drivers/nvme/target/trace.h:170: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/target/trace.h:66:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/nvme/target/core.c:16: In file included from ../drivers/nvme/target/trace.h:170: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/target/trace.h:66:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/nvme/target/core.c:16: In file included from ../drivers/nvme/target/trace.h:170: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/target/trace.h:66:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/nvme/target/core.c:16: In file included from ../drivers/nvme/target/trace.h:170: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/target/trace.h:108:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 108 | TRACE_EVENT(nvmet_req_complete, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/nvme/target/core.c:16: In file included from ../drivers/nvme/target/trace.h:170: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/target/trace.h:108:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/nvme/target/core.c:16: In file included from ../drivers/nvme/target/trace.h:170: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/target/trace.h:108:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/nvme/target/core.c:16: In file included from ../drivers/nvme/target/trace.h:170: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/target/trace.h:108:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/nvme/target/core.c:16: In file included from ../drivers/nvme/target/trace.h:170: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/target/trace.h:108:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/nvme/target/core.c:16: In file included from ../drivers/nvme/target/trace.h:170: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/target/trace.h:108:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/nvme/target/core.c:16: In file included from ../drivers/nvme/target/trace.h:170: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/target/trace.h:136:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 136 | TRACE_EVENT(nvmet_async_event, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/nvme/target/core.c:16: In file included from ../drivers/nvme/target/trace.h:170: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/target/trace.h:136:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/nvme/target/core.c:16: In file included from ../drivers/nvme/target/trace.h:170: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/target/trace.h:136:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/nvme/target/core.c:16: In file included from ../drivers/nvme/target/trace.h:170: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/target/trace.h:136:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/nvme/target/core.c:16: In file included from ../drivers/nvme/target/trace.h:170: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/target/trace.h:136:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/nvme/target/core.c:16: In file included from ../drivers/nvme/target/trace.h:170: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/target/trace.h:136:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/nvme/target/core.c:16: In file included from ../drivers/nvme/target/trace.h:170: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/nvme/target/trace.h:66:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 66 | TRACE_EVENT(nvmet_req_init, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[6]: *** [../scripts/Makefile.build:244: drivers/nvme/target/core.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: drivers/nvme/target] Error 2 make[5]: *** Waiting for unfinished jobs.... In file included from ../net/ipv4/icmp.c:97: In file included from ../include/trace/events/icmp.h:66: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/icmp.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 11 | TRACE_EVENT(icmp_send, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/ipv4/icmp.c:97: In file included from ../include/trace/events/icmp.h:66: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/icmp.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/ipv4/icmp.c:97: In file included from ../include/trace/events/icmp.h:66: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/icmp.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/ipv4/icmp.c:97: In file included from ../include/trace/events/icmp.h:66: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/icmp.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/ipv4/icmp.c:97: In file included from ../include/trace/events/icmp.h:66: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/icmp.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/ipv4/icmp.c:97: In file included from ../include/trace/events/icmp.h:66: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/icmp.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/ipv4/icmp.c:97: In file included from ../include/trace/events/icmp.h:66: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/icmp.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 11 | TRACE_EVENT(icmp_send, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/ipv4/icmp.c:97: In file included from ../include/trace/events/icmp.h:66: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/icmp.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/ipv4/icmp.c:97: In file included from ../include/trace/events/icmp.h:66: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/icmp.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/ipv4/icmp.c:97: In file included from ../include/trace/events/icmp.h:66: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/icmp.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/ipv4/icmp.c:97: In file included from ../include/trace/events/icmp.h:66: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/icmp.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/ipv4/icmp.c:97: In file included from ../include/trace/events/icmp.h:66: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/icmp.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/ipv4/icmp.c:97: In file included from ../include/trace/events/icmp.h:66: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/icmp.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 11 | TRACE_EVENT(icmp_send, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../net/ipv4/icmp.c:97: In file included from ../include/trace/events/icmp.h:66: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/icmp.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../net/ipv4/icmp.c:97: In file included from ../include/trace/events/icmp.h:66: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/icmp.h:11:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../net/ipv4/icmp.c:97: In file included from ../include/trace/events/icmp.h:66: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/icmp.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../net/ipv4/icmp.c:97: In file included from ../include/trace/events/icmp.h:66: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/icmp.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../net/ipv4/icmp.c:97: In file included from ../include/trace/events/icmp.h:66: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/icmp.h:11:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 18 errors generated. make[5]: *** [../scripts/Makefile.build:244: net/ipv4/icmp.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: net/ipv4] Error 2 In file included from ../mm/vmscan.c:71: In file included from ../include/trace/events/vmscan.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/vmscan.h:49:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 49 | TRACE_EVENT(mm_vmscan_kswapd_sleep, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/vmscan.c:71: In file included from ../include/trace/events/vmscan.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/vmscan.h:49:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/vmscan.c:71: In file included from ../include/trace/events/vmscan.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/vmscan.h:49:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/vmscan.c:71: In file included from ../include/trace/events/vmscan.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/vmscan.h:49:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/vmscan.c:71: In file included from ../include/trace/events/vmscan.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/vmscan.h:49:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/vmscan.c:71: In file included from ../include/trace/events/vmscan.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/vmscan.h:49:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/vmscan.c:71: In file included from ../include/trace/events/vmscan.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/vmscan.h:66:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 66 | TRACE_EVENT(mm_vmscan_kswapd_wake, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/vmscan.c:71: In file included from ../include/trace/events/vmscan.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/vmscan.h:66:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/vmscan.c:71: In file included from ../include/trace/events/vmscan.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/vmscan.h:66:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/vmscan.c:71: In file included from ../include/trace/events/vmscan.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/vmscan.h:66:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/vmscan.c:71: In file included from ../include/trace/events/vmscan.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/vmscan.h:66:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/vmscan.c:71: In file included from ../include/trace/events/vmscan.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/vmscan.h:66:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/vmscan.c:71: In file included from ../include/trace/events/vmscan.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/vmscan.h:89:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 89 | TRACE_EVENT(mm_vmscan_wakeup_kswapd, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/vmscan.c:71: In file included from ../include/trace/events/vmscan.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/vmscan.h:89:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/vmscan.c:71: In file included from ../include/trace/events/vmscan.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/vmscan.h:89:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/vmscan.c:71: In file included from ../include/trace/events/vmscan.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/vmscan.h:89:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/vmscan.c:71: In file included from ../include/trace/events/vmscan.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/vmscan.h:89:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/vmscan.c:71: In file included from ../include/trace/events/vmscan.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/vmscan.h:89:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/vmscan.c:71: In file included from ../include/trace/events/vmscan.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/vmscan.h:115:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 115 | DECLARE_EVENT_CLASS(mm_vmscan_direct_reclaim_begin_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[4]: *** [../scripts/Makefile.build:244: mm/vmscan.o] Error 1 In file included from ../net/mctp/af_mctp.c:21: In file included from ../include/trace/events/mctp.h:78: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mctp.h:28:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 28 | TRACE_EVENT(mctp_key_acquire, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/mctp/af_mctp.c:21: In file included from ../include/trace/events/mctp.h:78: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mctp.h:28:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/mctp/af_mctp.c:21: In file included from ../include/trace/events/mctp.h:78: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mctp.h:28:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/mctp/af_mctp.c:21: In file included from ../include/trace/events/mctp.h:78: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mctp.h:28:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/mctp/af_mctp.c:21: In file included from ../include/trace/events/mctp.h:78: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mctp.h:28:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/mctp/af_mctp.c:21: In file included from ../include/trace/events/mctp.h:78: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mctp.h:28:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/mctp/af_mctp.c:21: In file included from ../include/trace/events/mctp.h:78: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mctp.h:48:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 48 | TRACE_EVENT(mctp_key_release, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/mctp/af_mctp.c:21: In file included from ../include/trace/events/mctp.h:78: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mctp.h:48:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/mctp/af_mctp.c:21: In file included from ../include/trace/events/mctp.h:78: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mctp.h:48:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/mctp/af_mctp.c:21: In file included from ../include/trace/events/mctp.h:78: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mctp.h:48:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/mctp/af_mctp.c:21: In file included from ../include/trace/events/mctp.h:78: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mctp.h:48:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/mctp/af_mctp.c:21: In file included from ../include/trace/events/mctp.h:78: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mctp.h:48:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/mctp/af_mctp.c:21: In file included from ../include/trace/events/mctp.h:78: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/mctp.h:28:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 28 | TRACE_EVENT(mctp_key_acquire, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/mctp/af_mctp.c:21: In file included from ../include/trace/events/mctp.h:78: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/mctp.h:28:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/mctp/af_mctp.c:21: In file included from ../include/trace/events/mctp.h:78: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/mctp.h:28:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/mctp/af_mctp.c:21: In file included from ../include/trace/events/mctp.h:78: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/mctp.h:28:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/mctp/af_mctp.c:21: In file included from ../include/trace/events/mctp.h:78: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/mctp.h:28:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/mctp/af_mctp.c:21: In file included from ../include/trace/events/mctp.h:78: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/mctp.h:28:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/mctp/af_mctp.c:21: In file included from ../include/trace/events/mctp.h:78: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/mctp.h:48:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 48 | TRACE_EVENT(mctp_key_release, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: net/mctp/af_mctp.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: net/mctp] Error 2 In file included from ../drivers/scsi/scsi.c:73: In file included from ../include/trace/events/scsi.h:351: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/scsi.h:157:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 157 | TRACE_EVENT(scsi_dispatch_cmd_start, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/scsi/scsi.c:73: In file included from ../include/trace/events/scsi.h:351: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/scsi.h:157:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/scsi/scsi.c:73: In file included from ../include/trace/events/scsi.h:351: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/scsi.h:157:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/scsi/scsi.c:73: In file included from ../include/trace/events/scsi.h:351: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/scsi.h:157:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/scsi/scsi.c:73: In file included from ../include/trace/events/scsi.h:351: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/scsi.h:157:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/scsi/scsi.c:73: In file included from ../include/trace/events/scsi.h:351: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/scsi.h:157:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/scsi/scsi.c:73: In file included from ../include/trace/events/scsi.h:351: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/scsi.h:203:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 203 | TRACE_EVENT(scsi_dispatch_cmd_error, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/scsi/scsi.c:73: In file included from ../include/trace/events/scsi.h:351: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/scsi.h:203:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/scsi/scsi.c:73: In file included from ../include/trace/events/scsi.h:351: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/scsi.h:203:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/scsi/scsi.c:73: In file included from ../include/trace/events/scsi.h:351: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/scsi.h:203:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/scsi/scsi.c:73: In file included from ../include/trace/events/scsi.h:351: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/scsi.h:203:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/scsi/scsi.c:73: In file included from ../include/trace/events/scsi.h:351: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/scsi.h:203:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/scsi/scsi.c:73: In file included from ../include/trace/events/scsi.h:351: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/scsi.h:253:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 253 | DECLARE_EVENT_CLASS(scsi_cmd_done_timeout_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/scsi/scsi.c:73: In file included from ../include/trace/events/scsi.h:351: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/scsi.h:253:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/scsi/scsi.c:73: In file included from ../include/trace/events/scsi.h:351: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/scsi.h:253:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/scsi/scsi.c:73: In file included from ../include/trace/events/scsi.h:351: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/scsi.h:253:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/scsi/scsi.c:73: In file included from ../include/trace/events/scsi.h:351: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/scsi.h:253:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/scsi/scsi.c:73: In file included from ../include/trace/events/scsi.h:351: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/scsi.h:253:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/scsi/scsi.c:73: In file included from ../include/trace/events/scsi.h:351: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/scsi.h:331:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 331 | TRACE_EVENT(scsi_eh_wakeup, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: drivers/scsi/scsi.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../net/ipv6/route.c:74: In file included from ../include/trace/events/fib6.h:89: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/fib6.h:13:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 13 | TRACE_EVENT(fib6_table_lookup, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/ipv6/route.c:74: In file included from ../include/trace/events/fib6.h:89: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/fib6.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/ipv6/route.c:74: In file included from ../include/trace/events/fib6.h:89: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/fib6.h:13:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/ipv6/route.c:74: In file included from ../include/trace/events/fib6.h:89: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/fib6.h:13:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/ipv6/route.c:74: In file included from ../include/trace/events/fib6.h:89: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/fib6.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/ipv6/route.c:74: In file included from ../include/trace/events/fib6.h:89: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/fib6.h:13:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/ipv6/route.c:74: In file included from ../include/trace/events/fib6.h:89: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/fib6.h:13:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 13 | TRACE_EVENT(fib6_table_lookup, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/ipv6/route.c:74: In file included from ../include/trace/events/fib6.h:89: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/fib6.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/ipv6/route.c:74: In file included from ../include/trace/events/fib6.h:89: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/fib6.h:13:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/ipv6/route.c:74: In file included from ../include/trace/events/fib6.h:89: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/fib6.h:13:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/ipv6/route.c:74: In file included from ../include/trace/events/fib6.h:89: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/fib6.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/ipv6/route.c:74: In file included from ../include/trace/events/fib6.h:89: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/fib6.h:13:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/ipv6/route.c:74: In file included from ../include/trace/events/fib6.h:89: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/fib6.h:13:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 13 | TRACE_EVENT(fib6_table_lookup, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../net/ipv6/route.c:74: In file included from ../include/trace/events/fib6.h:89: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/fib6.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../net/ipv6/route.c:74: In file included from ../include/trace/events/fib6.h:89: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/fib6.h:13:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../net/ipv6/route.c:74: In file included from ../include/trace/events/fib6.h:89: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/fib6.h:13:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../net/ipv6/route.c:74: In file included from ../include/trace/events/fib6.h:89: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/fib6.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../net/ipv6/route.c:74: In file included from ../include/trace/events/fib6.h:89: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/fib6.h:13:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 18 errors generated. make[5]: *** [../scripts/Makefile.build:244: net/ipv6/route.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: net/ipv6] Error 2 In file included from ../drivers/nvme/host/core.c:31: In file included from ../drivers/nvme/host/trace.h:172: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/host/trace.h:47:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 47 | TRACE_EVENT(nvme_setup_cmd, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/nvme/host/core.c:31: In file included from ../drivers/nvme/host/trace.h:172: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/host/trace.h:47:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/nvme/host/core.c:31: In file included from ../drivers/nvme/host/trace.h:172: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/host/trace.h:47:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/nvme/host/core.c:31: In file included from ../drivers/nvme/host/trace.h:172: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/host/trace.h:47:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/nvme/host/core.c:31: In file included from ../drivers/nvme/host/trace.h:172: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/host/trace.h:47:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/nvme/host/core.c:31: In file included from ../drivers/nvme/host/trace.h:172: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/host/trace.h:47:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/nvme/host/core.c:31: In file included from ../drivers/nvme/host/trace.h:172: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/host/trace.h:85:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 85 | TRACE_EVENT(nvme_complete_rq, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/nvme/host/core.c:31: In file included from ../drivers/nvme/host/trace.h:172: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/host/trace.h:85:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/nvme/host/core.c:31: In file included from ../drivers/nvme/host/trace.h:172: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/host/trace.h:85:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/nvme/host/core.c:31: In file included from ../drivers/nvme/host/trace.h:172: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/host/trace.h:85:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/nvme/host/core.c:31: In file included from ../drivers/nvme/host/trace.h:172: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/host/trace.h:85:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/nvme/host/core.c:31: In file included from ../drivers/nvme/host/trace.h:172: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/host/trace.h:85:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/nvme/host/core.c:31: In file included from ../drivers/nvme/host/trace.h:172: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/host/trace.h:117:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 117 | TRACE_EVENT(nvme_async_event, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/nvme/host/core.c:31: In file included from ../drivers/nvme/host/trace.h:172: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/host/trace.h:117:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/nvme/host/core.c:31: In file included from ../drivers/nvme/host/trace.h:172: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/host/trace.h:117:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/nvme/host/core.c:31: In file included from ../drivers/nvme/host/trace.h:172: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/host/trace.h:117:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/nvme/host/core.c:31: In file included from ../drivers/nvme/host/trace.h:172: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/host/trace.h:117:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/nvme/host/core.c:31: In file included from ../drivers/nvme/host/trace.h:172: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/host/trace.h:117:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/nvme/host/core.c:31: In file included from ../drivers/nvme/host/trace.h:172: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/host/trace.h:141:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 141 | TRACE_EVENT(nvme_sq, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[6]: *** [../scripts/Makefile.build:244: drivers/nvme/host/core.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: drivers/nvme/host] Error 2 make[4]: *** [../scripts/Makefile.build:485: drivers/nvme] Error 2 In file included from ../kernel/workqueue.c:533: In file included from ../include/trace/events/workqueue.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/workqueue.h:23:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 23 | TRACE_EVENT(workqueue_queue_work, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/workqueue.c:533: In file included from ../include/trace/events/workqueue.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/workqueue.h:23:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/workqueue.c:533: In file included from ../include/trace/events/workqueue.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/workqueue.h:23:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/workqueue.c:533: In file included from ../include/trace/events/workqueue.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/workqueue.h:23:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/workqueue.c:533: In file included from ../include/trace/events/workqueue.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/workqueue.h:23:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/workqueue.c:533: In file included from ../include/trace/events/workqueue.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/workqueue.h:23:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/workqueue.c:533: In file included from ../include/trace/events/workqueue.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/workqueue.h:59:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 59 | TRACE_EVENT(workqueue_activate_work, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/workqueue.c:533: In file included from ../include/trace/events/workqueue.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/workqueue.h:59:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/workqueue.c:533: In file included from ../include/trace/events/workqueue.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/workqueue.h:59:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/workqueue.c:533: In file included from ../include/trace/events/workqueue.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/workqueue.h:59:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/workqueue.c:533: In file included from ../include/trace/events/workqueue.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/workqueue.h:59:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/workqueue.c:533: In file included from ../include/trace/events/workqueue.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/workqueue.h:59:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/workqueue.c:533: In file included from ../include/trace/events/workqueue.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/workqueue.h:84:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 84 | TRACE_EVENT(workqueue_execute_start, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/workqueue.c:533: In file included from ../include/trace/events/workqueue.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/workqueue.h:84:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/workqueue.c:533: In file included from ../include/trace/events/workqueue.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/workqueue.h:84:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/workqueue.c:533: In file included from ../include/trace/events/workqueue.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/workqueue.h:84:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/workqueue.c:533: In file included from ../include/trace/events/workqueue.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/workqueue.h:84:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/workqueue.c:533: In file included from ../include/trace/events/workqueue.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/workqueue.h:84:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/workqueue.c:533: In file included from ../include/trace/events/workqueue.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/workqueue.h:110:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 110 | TRACE_EVENT(workqueue_execute_end, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[4]: *** [../scripts/Makefile.build:244: kernel/workqueue.o] Error 1 In file included from ../drivers/dma/tegra20-apb-dma.c:31: In file included from ../include/trace/events/tegra_apb_dma.h:61: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/tegra_apb_dma.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | TRACE_EVENT(tegra_dma_tx_status, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma/tegra20-apb-dma.c:31: In file included from ../include/trace/events/tegra_apb_dma.h:61: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/tegra_apb_dma.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma/tegra20-apb-dma.c:31: In file included from ../include/trace/events/tegra_apb_dma.h:61: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/tegra_apb_dma.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma/tegra20-apb-dma.c:31: In file included from ../include/trace/events/tegra_apb_dma.h:61: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/tegra_apb_dma.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma/tegra20-apb-dma.c:31: In file included from ../include/trace/events/tegra_apb_dma.h:61: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/tegra_apb_dma.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma/tegra20-apb-dma.c:31: In file included from ../include/trace/events/tegra_apb_dma.h:61: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/tegra_apb_dma.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma/tegra20-apb-dma.c:31: In file included from ../include/trace/events/tegra_apb_dma.h:61: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/tegra_apb_dma.h:27:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 27 | TRACE_EVENT(tegra_dma_complete_cb, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma/tegra20-apb-dma.c:31: In file included from ../include/trace/events/tegra_apb_dma.h:61: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/tegra_apb_dma.h:27:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma/tegra20-apb-dma.c:31: In file included from ../include/trace/events/tegra_apb_dma.h:61: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/tegra_apb_dma.h:27:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma/tegra20-apb-dma.c:31: In file included from ../include/trace/events/tegra_apb_dma.h:61: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/tegra_apb_dma.h:27:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma/tegra20-apb-dma.c:31: In file included from ../include/trace/events/tegra_apb_dma.h:61: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/tegra_apb_dma.h:27:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma/tegra20-apb-dma.c:31: In file included from ../include/trace/events/tegra_apb_dma.h:61: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/tegra_apb_dma.h:27:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma/tegra20-apb-dma.c:31: In file included from ../include/trace/events/tegra_apb_dma.h:61: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/tegra_apb_dma.h:44:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 44 | TRACE_EVENT(tegra_dma_isr, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma/tegra20-apb-dma.c:31: In file included from ../include/trace/events/tegra_apb_dma.h:61: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/tegra_apb_dma.h:44:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma/tegra20-apb-dma.c:31: In file included from ../include/trace/events/tegra_apb_dma.h:61: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/tegra_apb_dma.h:44:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma/tegra20-apb-dma.c:31: In file included from ../include/trace/events/tegra_apb_dma.h:61: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/tegra_apb_dma.h:44:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma/tegra20-apb-dma.c:31: In file included from ../include/trace/events/tegra_apb_dma.h:61: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/tegra_apb_dma.h:44:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma/tegra20-apb-dma.c:31: In file included from ../include/trace/events/tegra_apb_dma.h:61: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/tegra_apb_dma.h:44:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma/tegra20-apb-dma.c:31: In file included from ../include/trace/events/tegra_apb_dma.h:61: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/tegra_apb_dma.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | TRACE_EVENT(tegra_dma_tx_status, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: drivers/dma/tegra20-apb-dma.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: drivers/dma] Error 2 In file included from ../drivers/base/trace.c:10: In file included from ../drivers/base/trace.h:56: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/trace.h:19:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 19 | DECLARE_EVENT_CLASS(devres, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/base/trace.c:10: In file included from ../drivers/base/trace.h:56: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/trace.h:19:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/base/trace.c:10: In file included from ../drivers/base/trace.h:56: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/trace.h:19:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/base/trace.c:10: In file included from ../drivers/base/trace.h:56: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/trace.h:19:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/base/trace.c:10: In file included from ../drivers/base/trace.h:56: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/trace.h:19:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/base/trace.c:10: In file included from ../drivers/base/trace.h:56: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/trace.h:19:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/base/trace.c:10: In file included from ../drivers/base/trace.h:56: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/base/trace.h:19:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 19 | DECLARE_EVENT_CLASS(devres, | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/base/trace.c:10: In file included from ../drivers/base/trace.h:56: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/base/trace.h:19:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/base/trace.c:10: In file included from ../drivers/base/trace.h:56: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/base/trace.h:19:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/base/trace.c:10: In file included from ../drivers/base/trace.h:56: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/base/trace.h:19:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/base/trace.c:10: In file included from ../drivers/base/trace.h:56: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/base/trace.h:19:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/base/trace.c:10: In file included from ../drivers/base/trace.h:56: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/base/trace.h:19:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/base/trace.c:10: In file included from ../drivers/base/trace.h:56: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/base/trace.h:19:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 19 | DECLARE_EVENT_CLASS(devres, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/base/trace.c:10: In file included from ../drivers/base/trace.h:56: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/base/trace.h:19:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/base/trace.c:10: In file included from ../drivers/base/trace.h:56: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/base/trace.h:19:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/base/trace.c:10: In file included from ../drivers/base/trace.h:56: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/base/trace.h:19:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/base/trace.c:10: In file included from ../drivers/base/trace.h:56: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/base/trace.h:19:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/base/trace.c:10: In file included from ../drivers/base/trace.h:56: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/base/trace.h:19:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 18 errors generated. make[5]: *** [../scripts/Makefile.build:244: drivers/base/trace.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: drivers/base] Error 2 In file included from ../net/handshake/trace.c:22: In file included from ../include/trace/events/handshake.h:319: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/handshake.h:90:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 90 | DECLARE_EVENT_CLASS(handshake_event_class, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/handshake/trace.c:22: In file included from ../include/trace/events/handshake.h:319: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/handshake.h:90:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/handshake/trace.c:22: In file included from ../include/trace/events/handshake.h:319: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/handshake.h:90:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/handshake/trace.c:22: In file included from ../include/trace/events/handshake.h:319: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/handshake.h:90:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/handshake/trace.c:22: In file included from ../include/trace/events/handshake.h:319: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/handshake.h:90:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/handshake/trace.c:22: In file included from ../include/trace/events/handshake.h:319: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/handshake.h:90:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/handshake/trace.c:22: In file included from ../include/trace/events/handshake.h:319: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/handshake.h:120:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 120 | DECLARE_EVENT_CLASS(handshake_fd_class, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/handshake/trace.c:22: In file included from ../include/trace/events/handshake.h:319: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/handshake.h:120:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/handshake/trace.c:22: In file included from ../include/trace/events/handshake.h:319: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/handshake.h:120:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/handshake/trace.c:22: In file included from ../include/trace/events/handshake.h:319: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/handshake.h:120:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/handshake/trace.c:22: In file included from ../include/trace/events/handshake.h:319: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/handshake.h:120:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/handshake/trace.c:22: In file included from ../include/trace/events/handshake.h:319: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/handshake.h:120:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/handshake/trace.c:22: In file included from ../include/trace/events/handshake.h:319: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/handshake.h:154:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 154 | DECLARE_EVENT_CLASS(handshake_error_class, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/handshake/trace.c:22: In file included from ../include/trace/events/handshake.h:319: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/handshake.h:154:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/handshake/trace.c:22: In file included from ../include/trace/events/handshake.h:319: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/handshake.h:154:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/handshake/trace.c:22: In file included from ../include/trace/events/handshake.h:319: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/handshake.h:154:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/handshake/trace.c:22: In file included from ../include/trace/events/handshake.h:319: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/handshake.h:154:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/handshake/trace.c:22: In file included from ../include/trace/events/handshake.h:319: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/handshake.h:154:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/handshake/trace.c:22: In file included from ../include/trace/events/handshake.h:319: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/handshake.h:188:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 188 | DECLARE_EVENT_CLASS(handshake_alert_class, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: net/handshake/trace.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: net/handshake] Error 2 In file included from ../net/tls/trace.c:8: In file included from ../net/tls/trace.h:202: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/tls/trace.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 15 | TRACE_EVENT(tls_device_offload_set, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/tls/trace.c:8: In file included from ../net/tls/trace.h:202: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/tls/trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/tls/trace.c:8: In file included from ../net/tls/trace.h:202: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/tls/trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/tls/trace.c:8: In file included from ../net/tls/trace.h:202: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/tls/trace.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/tls/trace.c:8: In file included from ../net/tls/trace.h:202: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/tls/trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/tls/trace.c:8: In file included from ../net/tls/trace.h:202: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/tls/trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/tls/trace.c:8: In file included from ../net/tls/trace.h:202: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/tls/trace.h:44:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 44 | TRACE_EVENT(tls_device_decrypted, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/tls/trace.c:8: In file included from ../net/tls/trace.h:202: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/tls/trace.h:44:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/tls/trace.c:8: In file included from ../net/tls/trace.h:202: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/tls/trace.h:44:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/tls/trace.c:8: In file included from ../net/tls/trace.h:202: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/tls/trace.h:44:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/tls/trace.c:8: In file included from ../net/tls/trace.h:202: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/tls/trace.h:44:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/tls/trace.c:8: In file included from ../net/tls/trace.h:202: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/tls/trace.h:44:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/tls/trace.c:8: In file included from ../net/tls/trace.h:202: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/tls/trace.h:77:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 77 | TRACE_EVENT(tls_device_rx_resync_send, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/tls/trace.c:8: In file included from ../net/tls/trace.h:202: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/tls/trace.h:77:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/tls/trace.c:8: In file included from ../net/tls/trace.h:202: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/tls/trace.h:77:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/tls/trace.c:8: In file included from ../net/tls/trace.h:202: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/tls/trace.h:77:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/tls/trace.c:8: In file included from ../net/tls/trace.h:202: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/tls/trace.h:77:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/tls/trace.c:8: In file included from ../net/tls/trace.h:202: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/tls/trace.h:77:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/tls/trace.c:8: In file included from ../net/tls/trace.h:202: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/tls/trace.h:104:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 104 | TRACE_EVENT(tls_device_rx_resync_nh_schedule, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: net/tls/trace.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: net/tls] Error 2 In file included from ../drivers/spi/spi.c:39: In file included from ../include/trace/events/spi.h:239: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/spi.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 11 | DECLARE_EVENT_CLASS(spi_controller, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/spi/spi.c:39: In file included from ../include/trace/events/spi.h:239: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/spi.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/spi/spi.c:39: In file included from ../include/trace/events/spi.h:239: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/spi.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/spi/spi.c:39: In file included from ../include/trace/events/spi.h:239: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/spi.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/spi/spi.c:39: In file included from ../include/trace/events/spi.h:239: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/spi.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/spi/spi.c:39: In file included from ../include/trace/events/spi.h:239: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/spi.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/spi/spi.c:39: In file included from ../include/trace/events/spi.h:239: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/spi.h:45:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 45 | TRACE_EVENT(spi_setup, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/spi/spi.c:39: In file included from ../include/trace/events/spi.h:239: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/spi.h:45:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/spi/spi.c:39: In file included from ../include/trace/events/spi.h:239: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/spi.h:45:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/spi/spi.c:39: In file included from ../include/trace/events/spi.h:239: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/spi.h:45:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/spi/spi.c:39: In file included from ../include/trace/events/spi.h:239: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/spi.h:45:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/spi/spi.c:39: In file included from ../include/trace/events/spi.h:239: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/spi.h:45:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/spi/spi.c:39: In file included from ../include/trace/events/spi.h:239: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/spi.h:78:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 78 | TRACE_EVENT(spi_set_cs, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/spi/spi.c:39: In file included from ../include/trace/events/spi.h:239: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/spi.h:78:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/spi/spi.c:39: In file included from ../include/trace/events/spi.h:239: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/spi.h:78:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/spi/spi.c:39: In file included from ../include/trace/events/spi.h:239: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/spi.h:78:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/spi/spi.c:39: In file included from ../include/trace/events/spi.h:239: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/spi.h:78:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/spi/spi.c:39: In file included from ../include/trace/events/spi.h:239: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/spi.h:78:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/spi/spi.c:39: In file included from ../include/trace/events/spi.h:239: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/spi.h:102:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 102 | DECLARE_EVENT_CLASS(spi_message, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: drivers/spi/spi.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: drivers/spi] Error 2 In file included from ../net/core/net-traces.c:30: In file included from ../include/trace/events/skb.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/skb.h:24:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 24 | TRACE_EVENT(kfree_skb, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/core/net-traces.c:30: In file included from ../include/trace/events/skb.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/skb.h:24:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/core/net-traces.c:30: In file included from ../include/trace/events/skb.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/skb.h:24:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/core/net-traces.c:30: In file included from ../include/trace/events/skb.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/skb.h:24:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/core/net-traces.c:30: In file included from ../include/trace/events/skb.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/skb.h:24:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/core/net-traces.c:30: In file included from ../include/trace/events/skb.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/skb.h:24:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/core/net-traces.c:30: In file included from ../include/trace/events/skb.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/skb.h:57:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 57 | TRACE_EVENT(consume_skb, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/core/net-traces.c:30: In file included from ../include/trace/events/skb.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/skb.h:57:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/core/net-traces.c:30: In file included from ../include/trace/events/skb.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/skb.h:57:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/core/net-traces.c:30: In file included from ../include/trace/events/skb.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/skb.h:57:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/core/net-traces.c:30: In file included from ../include/trace/events/skb.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/skb.h:57:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/core/net-traces.c:30: In file included from ../include/trace/events/skb.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/skb.h:57:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/core/net-traces.c:30: In file included from ../include/trace/events/skb.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/skb.h:76:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 76 | TRACE_EVENT(skb_copy_datagram_iovec, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/core/net-traces.c:30: In file included from ../include/trace/events/skb.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/skb.h:76:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/core/net-traces.c:30: In file included from ../include/trace/events/skb.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/skb.h:76:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/core/net-traces.c:30: In file included from ../include/trace/events/skb.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/skb.h:76:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/core/net-traces.c:30: In file included from ../include/trace/events/skb.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/skb.h:76:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/core/net-traces.c:30: In file included from ../include/trace/events/skb.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/skb.h:76:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/core/net-traces.c:30: In file included from ../include/trace/events/skb.h:98: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/skb.h:24:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 24 | TRACE_EVENT(kfree_skb, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: net/core/net-traces.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: net/core] Error 2 In file included from ../mm/percpu.c:97: In file included from ../include/trace/events/percpu.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/percpu.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 11 | TRACE_EVENT(percpu_alloc_percpu, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/percpu.c:97: In file included from ../include/trace/events/percpu.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/percpu.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/percpu.c:97: In file included from ../include/trace/events/percpu.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/percpu.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/percpu.c:97: In file included from ../include/trace/events/percpu.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/percpu.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/percpu.c:97: In file included from ../include/trace/events/percpu.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/percpu.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/percpu.c:97: In file included from ../include/trace/events/percpu.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/percpu.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/percpu.c:97: In file included from ../include/trace/events/percpu.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/percpu.h:54:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 54 | TRACE_EVENT(percpu_free_percpu, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/percpu.c:97: In file included from ../include/trace/events/percpu.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/percpu.h:54:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/percpu.c:97: In file included from ../include/trace/events/percpu.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/percpu.h:54:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/percpu.c:97: In file included from ../include/trace/events/percpu.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/percpu.h:54:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/percpu.c:97: In file included from ../include/trace/events/percpu.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/percpu.h:54:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/percpu.c:97: In file included from ../include/trace/events/percpu.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/percpu.h:54:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/percpu.c:97: In file included from ../include/trace/events/percpu.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/percpu.h:76:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 76 | TRACE_EVENT(percpu_alloc_percpu_fail, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/percpu.c:97: In file included from ../include/trace/events/percpu.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/percpu.h:76:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/percpu.c:97: In file included from ../include/trace/events/percpu.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/percpu.h:76:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/percpu.c:97: In file included from ../include/trace/events/percpu.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/percpu.h:76:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/percpu.c:97: In file included from ../include/trace/events/percpu.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/percpu.h:76:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/percpu.c:97: In file included from ../include/trace/events/percpu.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/percpu.h:76:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/percpu.c:97: In file included from ../include/trace/events/percpu.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/percpu.h:101:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 101 | TRACE_EVENT(percpu_create_chunk, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[4]: *** [../scripts/Makefile.build:244: mm/percpu.o] Error 1 In file included from ../drivers/block/null_blk/zoned.c:7: In file included from ../drivers/block/null_blk/trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/null_blk/trace.h:33:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 33 | TRACE_EVENT(nullb_zone_op, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/block/null_blk/zoned.c:7: In file included from ../drivers/block/null_blk/trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/null_blk/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/block/null_blk/zoned.c:7: In file included from ../drivers/block/null_blk/trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/null_blk/trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/block/null_blk/zoned.c:7: In file included from ../drivers/block/null_blk/trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/null_blk/trace.h:33:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/block/null_blk/zoned.c:7: In file included from ../drivers/block/null_blk/trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/null_blk/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/block/null_blk/zoned.c:7: In file included from ../drivers/block/null_blk/trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/null_blk/trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/block/null_blk/zoned.c:7: In file included from ../drivers/block/null_blk/trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/null_blk/trace.h:62:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 62 | TRACE_EVENT(nullb_report_zones, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/block/null_blk/zoned.c:7: In file included from ../drivers/block/null_blk/trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/null_blk/trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/block/null_blk/zoned.c:7: In file included from ../drivers/block/null_blk/trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/null_blk/trace.h:62:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/block/null_blk/zoned.c:7: In file included from ../drivers/block/null_blk/trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/null_blk/trace.h:62:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/block/null_blk/zoned.c:7: In file included from ../drivers/block/null_blk/trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/null_blk/trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/block/null_blk/zoned.c:7: In file included from ../drivers/block/null_blk/trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/null_blk/trace.h:62:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/block/null_blk/zoned.c:7: In file included from ../drivers/block/null_blk/trace.h:85: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/block/null_blk/trace.h:33:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 33 | TRACE_EVENT(nullb_zone_op, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/block/null_blk/zoned.c:7: In file included from ../drivers/block/null_blk/trace.h:85: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/block/null_blk/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/block/null_blk/zoned.c:7: In file included from ../drivers/block/null_blk/trace.h:85: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/block/null_blk/trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/block/null_blk/zoned.c:7: In file included from ../drivers/block/null_blk/trace.h:85: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/block/null_blk/trace.h:33:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/block/null_blk/zoned.c:7: In file included from ../drivers/block/null_blk/trace.h:85: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/block/null_blk/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/block/null_blk/zoned.c:7: In file included from ../drivers/block/null_blk/trace.h:85: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/block/null_blk/trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/block/null_blk/zoned.c:7: In file included from ../drivers/block/null_blk/trace.h:85: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/block/null_blk/trace.h:62:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 62 | TRACE_EVENT(nullb_report_zones, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[6]: *** [../scripts/Makefile.build:244: drivers/block/null_blk/zoned.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: drivers/block/null_blk] Error 2 In file included from ../kernel/notifier.c:11: In file included from ../include/trace/events/notifier.h:69: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/notifier.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | DECLARE_EVENT_CLASS(notifier_info, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/notifier.c:11: In file included from ../include/trace/events/notifier.h:69: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/notifier.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/notifier.c:11: In file included from ../include/trace/events/notifier.h:69: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/notifier.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/notifier.c:11: In file included from ../include/trace/events/notifier.h:69: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/notifier.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/notifier.c:11: In file included from ../include/trace/events/notifier.h:69: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/notifier.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/notifier.c:11: In file included from ../include/trace/events/notifier.h:69: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/notifier.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/notifier.c:11: In file included from ../include/trace/events/notifier.h:69: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/notifier.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | DECLARE_EVENT_CLASS(notifier_info, | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/notifier.c:11: In file included from ../include/trace/events/notifier.h:69: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/notifier.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/notifier.c:11: In file included from ../include/trace/events/notifier.h:69: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/notifier.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/notifier.c:11: In file included from ../include/trace/events/notifier.h:69: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/notifier.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/notifier.c:11: In file included from ../include/trace/events/notifier.h:69: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/notifier.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/notifier.c:11: In file included from ../include/trace/events/notifier.h:69: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/notifier.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/notifier.c:11: In file included from ../include/trace/events/notifier.h:69: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/notifier.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | DECLARE_EVENT_CLASS(notifier_info, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../kernel/notifier.c:11: In file included from ../include/trace/events/notifier.h:69: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/notifier.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../kernel/notifier.c:11: In file included from ../include/trace/events/notifier.h:69: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/notifier.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../kernel/notifier.c:11: In file included from ../include/trace/events/notifier.h:69: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/notifier.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../kernel/notifier.c:11: In file included from ../include/trace/events/notifier.h:69: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/notifier.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../kernel/notifier.c:11: In file included from ../include/trace/events/notifier.h:69: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/notifier.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 18 errors generated. make[4]: *** [../scripts/Makefile.build:244: kernel/notifier.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: drivers/block] Error 2 In file included from ../mm/slab_common.c:36: In file included from ../include/trace/events/kmem.h:415: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kmem.h:12:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 12 | TRACE_EVENT(kmem_cache_alloc, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/slab_common.c:36: In file included from ../include/trace/events/kmem.h:415: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kmem.h:12:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/slab_common.c:36: In file included from ../include/trace/events/kmem.h:415: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kmem.h:12:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/slab_common.c:36: In file included from ../include/trace/events/kmem.h:415: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kmem.h:12:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/slab_common.c:36: In file included from ../include/trace/events/kmem.h:415: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kmem.h:12:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/slab_common.c:36: In file included from ../include/trace/events/kmem.h:415: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kmem.h:12:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/slab_common.c:36: In file included from ../include/trace/events/kmem.h:415: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kmem.h:54:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 54 | TRACE_EVENT(kmalloc, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/slab_common.c:36: In file included from ../include/trace/events/kmem.h:415: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kmem.h:54:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/slab_common.c:36: In file included from ../include/trace/events/kmem.h:415: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kmem.h:54:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/slab_common.c:36: In file included from ../include/trace/events/kmem.h:415: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kmem.h:54:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/slab_common.c:36: In file included from ../include/trace/events/kmem.h:415: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kmem.h:54:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/slab_common.c:36: In file included from ../include/trace/events/kmem.h:415: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kmem.h:54:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/slab_common.c:36: In file included from ../include/trace/events/kmem.h:415: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kmem.h:94:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 94 | TRACE_EVENT(kfree, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/slab_common.c:36: In file included from ../include/trace/events/kmem.h:415: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kmem.h:94:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/slab_common.c:36: In file included from ../include/trace/events/kmem.h:415: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kmem.h:94:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/slab_common.c:36: In file included from ../include/trace/events/kmem.h:415: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kmem.h:94:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/slab_common.c:36: In file included from ../include/trace/events/kmem.h:415: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kmem.h:94:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/slab_common.c:36: In file included from ../include/trace/events/kmem.h:415: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kmem.h:94:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/slab_common.c:36: In file included from ../include/trace/events/kmem.h:415: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kmem.h:114:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 114 | TRACE_EVENT(kmem_cache_free, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[4]: *** [../scripts/Makefile.build:244: mm/slab_common.o] Error 1 In file included from ../net/mptcp/protocol.c:30: In file included from ../include/trace/events/mptcp.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mptcp.h:18:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 18 | TRACE_EVENT(mptcp_subflow_get_send, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/mptcp/protocol.c:30: In file included from ../include/trace/events/mptcp.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mptcp.h:18:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/mptcp/protocol.c:30: In file included from ../include/trace/events/mptcp.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mptcp.h:18:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/mptcp/protocol.c:30: In file included from ../include/trace/events/mptcp.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mptcp.h:18:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/mptcp/protocol.c:30: In file included from ../include/trace/events/mptcp.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mptcp.h:18:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/mptcp/protocol.c:30: In file included from ../include/trace/events/mptcp.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mptcp.h:18:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/mptcp/protocol.c:30: In file included from ../include/trace/events/mptcp.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mptcp.h:65:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 65 | DECLARE_EVENT_CLASS(mptcp_dump_mpext, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/mptcp/protocol.c:30: In file included from ../include/trace/events/mptcp.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mptcp.h:65:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/mptcp/protocol.c:30: In file included from ../include/trace/events/mptcp.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mptcp.h:65:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/mptcp/protocol.c:30: In file included from ../include/trace/events/mptcp.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mptcp.h:65:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/mptcp/protocol.c:30: In file included from ../include/trace/events/mptcp.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mptcp.h:65:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/mptcp/protocol.c:30: In file included from ../include/trace/events/mptcp.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mptcp.h:65:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/mptcp/protocol.c:30: In file included from ../include/trace/events/mptcp.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mptcp.h:128:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 128 | TRACE_EVENT(ack_update_msk, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/mptcp/protocol.c:30: In file included from ../include/trace/events/mptcp.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mptcp.h:128:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/mptcp/protocol.c:30: In file included from ../include/trace/events/mptcp.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mptcp.h:128:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/mptcp/protocol.c:30: In file included from ../include/trace/events/mptcp.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mptcp.h:128:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/mptcp/protocol.c:30: In file included from ../include/trace/events/mptcp.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mptcp.h:128:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/mptcp/protocol.c:30: In file included from ../include/trace/events/mptcp.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mptcp.h:128:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/mptcp/protocol.c:30: In file included from ../include/trace/events/mptcp.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mptcp.h:160:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 160 | TRACE_EVENT(subflow_check_data_avail, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: net/mptcp/protocol.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: net/mptcp] Error 2 In file included from ../drivers/soc/qcom/rpmh-rsc.c:38: In file included from ../drivers/soc/qcom/trace-rpmh.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-rpmh.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 15 | TRACE_EVENT(rpmh_tx_done, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/soc/qcom/rpmh-rsc.c:38: In file included from ../drivers/soc/qcom/trace-rpmh.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-rpmh.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/soc/qcom/rpmh-rsc.c:38: In file included from ../drivers/soc/qcom/trace-rpmh.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-rpmh.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/soc/qcom/rpmh-rsc.c:38: In file included from ../drivers/soc/qcom/trace-rpmh.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-rpmh.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/soc/qcom/rpmh-rsc.c:38: In file included from ../drivers/soc/qcom/trace-rpmh.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-rpmh.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/soc/qcom/rpmh-rsc.c:38: In file included from ../drivers/soc/qcom/trace-rpmh.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-rpmh.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/soc/qcom/rpmh-rsc.c:38: In file included from ../drivers/soc/qcom/trace-rpmh.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-rpmh.h:39:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 39 | TRACE_EVENT(rpmh_send_msg, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/soc/qcom/rpmh-rsc.c:38: In file included from ../drivers/soc/qcom/trace-rpmh.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-rpmh.h:39:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/soc/qcom/rpmh-rsc.c:38: In file included from ../drivers/soc/qcom/trace-rpmh.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-rpmh.h:39:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/soc/qcom/rpmh-rsc.c:38: In file included from ../drivers/soc/qcom/trace-rpmh.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-rpmh.h:39:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/soc/qcom/rpmh-rsc.c:38: In file included from ../drivers/soc/qcom/trace-rpmh.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-rpmh.h:39:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/soc/qcom/rpmh-rsc.c:38: In file included from ../drivers/soc/qcom/trace-rpmh.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-rpmh.h:39:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/soc/qcom/rpmh-rsc.c:38: In file included from ../drivers/soc/qcom/trace-rpmh.h:87: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/soc/qcom/trace-rpmh.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 15 | TRACE_EVENT(rpmh_tx_done, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/soc/qcom/rpmh-rsc.c:38: In file included from ../drivers/soc/qcom/trace-rpmh.h:87: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/soc/qcom/trace-rpmh.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/soc/qcom/rpmh-rsc.c:38: In file included from ../drivers/soc/qcom/trace-rpmh.h:87: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/soc/qcom/trace-rpmh.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/soc/qcom/rpmh-rsc.c:38: In file included from ../drivers/soc/qcom/trace-rpmh.h:87: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/soc/qcom/trace-rpmh.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/soc/qcom/rpmh-rsc.c:38: In file included from ../drivers/soc/qcom/trace-rpmh.h:87: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/soc/qcom/trace-rpmh.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/soc/qcom/rpmh-rsc.c:38: In file included from ../drivers/soc/qcom/trace-rpmh.h:87: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/soc/qcom/trace-rpmh.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/soc/qcom/rpmh-rsc.c:38: In file included from ../drivers/soc/qcom/trace-rpmh.h:87: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/soc/qcom/trace-rpmh.h:39:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 39 | TRACE_EVENT(rpmh_send_msg, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[6]: *** [../scripts/Makefile.build:244: drivers/soc/qcom/rpmh-rsc.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: drivers/soc/qcom] Error 2 make[4]: *** [../scripts/Makefile.build:485: drivers/soc] Error 2 In file included from ../drivers/gpu/drm/drm_trace_points.c:5: In file included from ../drivers/gpu/drm/drm_trace.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/drm_trace.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 15 | TRACE_EVENT(drm_vblank_event, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/drm_trace_points.c:5: In file included from ../drivers/gpu/drm/drm_trace.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/drm_trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/drm_trace_points.c:5: In file included from ../drivers/gpu/drm/drm_trace.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/drm_trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/drm_trace_points.c:5: In file included from ../drivers/gpu/drm/drm_trace.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/drm_trace.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/drm_trace_points.c:5: In file included from ../drivers/gpu/drm/drm_trace.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/drm_trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/drm_trace_points.c:5: In file included from ../drivers/gpu/drm/drm_trace.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/drm_trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/drm_trace_points.c:5: In file included from ../drivers/gpu/drm/drm_trace.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/drm_trace.h:35:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 35 | TRACE_EVENT(drm_vblank_event_queued, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/drm_trace_points.c:5: In file included from ../drivers/gpu/drm/drm_trace.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/drm_trace.h:35:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/drm_trace_points.c:5: In file included from ../drivers/gpu/drm/drm_trace.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/drm_trace.h:35:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/drm_trace_points.c:5: In file included from ../drivers/gpu/drm/drm_trace.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/drm_trace.h:35:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/drm_trace_points.c:5: In file included from ../drivers/gpu/drm/drm_trace.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/drm_trace.h:35:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/drm_trace_points.c:5: In file included from ../drivers/gpu/drm/drm_trace.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/drm_trace.h:35:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/drm_trace_points.c:5: In file included from ../drivers/gpu/drm/drm_trace.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/drm_trace.h:52:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 52 | TRACE_EVENT(drm_vblank_event_delivered, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/drm_trace_points.c:5: In file included from ../drivers/gpu/drm/drm_trace.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/drm_trace.h:52:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/drm_trace_points.c:5: In file included from ../drivers/gpu/drm/drm_trace.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/drm_trace.h:52:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/drm_trace_points.c:5: In file included from ../drivers/gpu/drm/drm_trace.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/drm_trace.h:52:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/drm_trace_points.c:5: In file included from ../drivers/gpu/drm/drm_trace.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/drm_trace.h:52:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/drm_trace_points.c:5: In file included from ../drivers/gpu/drm/drm_trace.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/drm_trace.h:52:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/drm_trace_points.c:5: In file included from ../drivers/gpu/drm/drm_trace.h:74: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/gpu/drm/drm_trace.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 15 | TRACE_EVENT(drm_vblank_event, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[6]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/drm_trace_points.o] Error 1 make[6]: *** Waiting for unfinished jobs.... In file included from ../mm/mmap_lock.c:3: In file included from ../include/trace/events/mmap_lock.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mmap_lock.h:16:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 16 | DECLARE_EVENT_CLASS(mmap_lock, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/mmap_lock.c:3: In file included from ../include/trace/events/mmap_lock.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mmap_lock.h:16:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/mmap_lock.c:3: In file included from ../include/trace/events/mmap_lock.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mmap_lock.h:16:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/mmap_lock.c:3: In file included from ../include/trace/events/mmap_lock.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mmap_lock.h:16:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/mmap_lock.c:3: In file included from ../include/trace/events/mmap_lock.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mmap_lock.h:16:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/mmap_lock.c:3: In file included from ../include/trace/events/mmap_lock.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mmap_lock.h:16:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/mmap_lock.c:3: In file included from ../include/trace/events/mmap_lock.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mmap_lock.h:52:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 52 | TRACE_EVENT_FN(mmap_lock_acquire_returned, | ^ ../include/trace/trace_events.h:92:2: note: expanded from macro 'TRACE_EVENT_FN' 92 | TRACE_EVENT(name, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/mmap_lock.c:3: In file included from ../include/trace/events/mmap_lock.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mmap_lock.h:52:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:92:2: note: expanded from macro 'TRACE_EVENT_FN' 92 | TRACE_EVENT(name, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/mmap_lock.c:3: In file included from ../include/trace/events/mmap_lock.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mmap_lock.h:52:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:92:2: note: expanded from macro 'TRACE_EVENT_FN' 92 | TRACE_EVENT(name, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/mmap_lock.c:3: In file included from ../include/trace/events/mmap_lock.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mmap_lock.h:52:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:92:2: note: expanded from macro 'TRACE_EVENT_FN' 92 | TRACE_EVENT(name, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/mmap_lock.c:3: In file included from ../include/trace/events/mmap_lock.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mmap_lock.h:52:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:92:2: note: expanded from macro 'TRACE_EVENT_FN' 92 | TRACE_EVENT(name, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/mmap_lock.c:3: In file included from ../include/trace/events/mmap_lock.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mmap_lock.h:52:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:92:2: note: expanded from macro 'TRACE_EVENT_FN' 92 | TRACE_EVENT(name, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/mmap_lock.c:3: In file included from ../include/trace/events/mmap_lock.h:87: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/mmap_lock.h:16:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 16 | DECLARE_EVENT_CLASS(mmap_lock, | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/mmap_lock.c:3: In file included from ../include/trace/events/mmap_lock.h:87: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/mmap_lock.h:16:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/mmap_lock.c:3: In file included from ../include/trace/events/mmap_lock.h:87: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/mmap_lock.h:16:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/mmap_lock.c:3: In file included from ../include/trace/events/mmap_lock.h:87: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/mmap_lock.h:16:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/mmap_lock.c:3: In file included from ../include/trace/events/mmap_lock.h:87: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/mmap_lock.h:16:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/mmap_lock.c:3: In file included from ../include/trace/events/mmap_lock.h:87: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/mmap_lock.h:16:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/mmap_lock.c:3: In file included from ../include/trace/events/mmap_lock.h:87: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/mmap_lock.h:52:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 52 | TRACE_EVENT_FN(mmap_lock_acquire_returned, | ^ ../include/trace/trace_events.h:92:2: note: expanded from macro 'TRACE_EVENT_FN' 92 | TRACE_EVENT(name, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[4]: *** [../scripts/Makefile.build:244: mm/mmap_lock.o] Error 1 In file included from ../mm/compaction.c:64: In file included from ../include/trace/events/compaction.h:356: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/compaction.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | DECLARE_EVENT_CLASS(mm_compaction_isolate_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/compaction.c:64: In file included from ../include/trace/events/compaction.h:356: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/compaction.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/compaction.c:64: In file included from ../include/trace/events/compaction.h:356: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/compaction.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/compaction.c:64: In file included from ../include/trace/events/compaction.h:356: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/compaction.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/compaction.c:64: In file included from ../include/trace/events/compaction.h:356: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/compaction.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/compaction.c:64: In file included from ../include/trace/events/compaction.h:356: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/compaction.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/compaction.c:64: In file included from ../include/trace/events/compaction.h:356: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/compaction.h:79:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 79 | TRACE_EVENT(mm_compaction_migratepages, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/compaction.c:64: In file included from ../include/trace/events/compaction.h:356: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/compaction.h:79:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/compaction.c:64: In file included from ../include/trace/events/compaction.h:356: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/compaction.h:79:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/compaction.c:64: In file included from ../include/trace/events/compaction.h:356: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/compaction.h:79:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/compaction.c:64: In file included from ../include/trace/events/compaction.h:356: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/compaction.h:79:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/compaction.c:64: In file included from ../include/trace/events/compaction.h:356: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/compaction.h:79:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/compaction.c:64: In file included from ../include/trace/events/compaction.h:356: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/compaction.h:101:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 101 | TRACE_EVENT(mm_compaction_begin, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/compaction.c:64: In file included from ../include/trace/events/compaction.h:356: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/compaction.h:101:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/compaction.c:64: In file included from ../include/trace/events/compaction.h:356: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/compaction.h:101:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/compaction.c:64: In file included from ../include/trace/events/compaction.h:356: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/compaction.h:101:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/compaction.c:64: In file included from ../include/trace/events/compaction.h:356: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/compaction.h:101:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/compaction.c:64: In file included from ../include/trace/events/compaction.h:356: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/compaction.h:101:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/compaction.c:64: In file included from ../include/trace/events/compaction.h:356: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/compaction.h:131:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 131 | TRACE_EVENT(mm_compaction_end, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[4]: *** [../scripts/Makefile.build:244: mm/compaction.o] Error 1 make[3]: *** [../scripts/Makefile.build:485: mm] Error 2 In file included from ../arch/x86/kvm/x86.c:90: In file included from ../arch/x86/kvm/trace.h:1882: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/trace.h:17:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 17 | TRACE_EVENT(kvm_entry, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/x86.c:90: In file included from ../arch/x86/kvm/trace.h:1882: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/trace.h:17:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/x86.c:90: In file included from ../arch/x86/kvm/trace.h:1882: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/trace.h:17:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/x86.c:90: In file included from ../arch/x86/kvm/trace.h:1882: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/trace.h:17:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/x86.c:90: In file included from ../arch/x86/kvm/trace.h:1882: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/trace.h:17:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/x86.c:90: In file included from ../arch/x86/kvm/trace.h:1882: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/trace.h:17:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/x86.c:90: In file included from ../arch/x86/kvm/trace.h:1882: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/trace.h:40:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 40 | TRACE_EVENT(kvm_hypercall, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/x86.c:90: In file included from ../arch/x86/kvm/trace.h:1882: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/trace.h:40:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/x86.c:90: In file included from ../arch/x86/kvm/trace.h:1882: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/trace.h:40:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/x86.c:90: In file included from ../arch/x86/kvm/trace.h:1882: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/trace.h:40:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/x86.c:90: In file included from ../arch/x86/kvm/trace.h:1882: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/trace.h:40:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/x86.c:90: In file included from ../arch/x86/kvm/trace.h:1882: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/trace.h:40:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/x86.c:90: In file included from ../arch/x86/kvm/trace.h:1882: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/trace.h:69:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 69 | TRACE_EVENT(kvm_hv_hypercall, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/x86.c:90: In file included from ../arch/x86/kvm/trace.h:1882: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/trace.h:69:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/x86.c:90: In file included from ../arch/x86/kvm/trace.h:1882: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/trace.h:69:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/x86.c:90: In file included from ../arch/x86/kvm/trace.h:1882: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/trace.h:69:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/x86.c:90: In file included from ../arch/x86/kvm/trace.h:1882: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/trace.h:69:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/x86.c:90: In file included from ../arch/x86/kvm/trace.h:1882: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/trace.h:69:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/x86.c:90: In file included from ../arch/x86/kvm/trace.h:1882: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/trace.h:100:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 100 | TRACE_EVENT(kvm_hv_hypercall_done, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: arch/x86/kvm/x86.o] Error 1 In file included from ../drivers/net/phy/mdio_bus.c:38: In file included from ../include/trace/events/mdio.h:43: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mdio.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | TRACE_EVENT_CONDITION(mdio_access, | ^ ../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' 32 | TRACE_EVENT(name, \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/phy/mdio_bus.c:38: In file included from ../include/trace/events/mdio.h:43: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mdio.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' 32 | TRACE_EVENT(name, \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/phy/mdio_bus.c:38: In file included from ../include/trace/events/mdio.h:43: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mdio.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' 32 | TRACE_EVENT(name, \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/phy/mdio_bus.c:38: In file included from ../include/trace/events/mdio.h:43: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mdio.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' 32 | TRACE_EVENT(name, \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/phy/mdio_bus.c:38: In file included from ../include/trace/events/mdio.h:43: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mdio.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' 32 | TRACE_EVENT(name, \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/phy/mdio_bus.c:38: In file included from ../include/trace/events/mdio.h:43: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mdio.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' 32 | TRACE_EVENT(name, \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/phy/mdio_bus.c:38: In file included from ../include/trace/events/mdio.h:43: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/mdio.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | TRACE_EVENT_CONDITION(mdio_access, | ^ ../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' 32 | TRACE_EVENT(name, \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/phy/mdio_bus.c:38: In file included from ../include/trace/events/mdio.h:43: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/mdio.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' 32 | TRACE_EVENT(name, \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/phy/mdio_bus.c:38: In file included from ../include/trace/events/mdio.h:43: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/mdio.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' 32 | TRACE_EVENT(name, \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/phy/mdio_bus.c:38: In file included from ../include/trace/events/mdio.h:43: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/mdio.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' 32 | TRACE_EVENT(name, \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/phy/mdio_bus.c:38: In file included from ../include/trace/events/mdio.h:43: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/mdio.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' 32 | TRACE_EVENT(name, \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/phy/mdio_bus.c:38: In file included from ../include/trace/events/mdio.h:43: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/mdio.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' 32 | TRACE_EVENT(name, \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/phy/mdio_bus.c:38: In file included from ../include/trace/events/mdio.h:43: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/mdio.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | TRACE_EVENT_CONDITION(mdio_access, | ^ ../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' 32 | TRACE_EVENT(name, \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/phy/mdio_bus.c:38: In file included from ../include/trace/events/mdio.h:43: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/mdio.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' 32 | TRACE_EVENT(name, \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/phy/mdio_bus.c:38: In file included from ../include/trace/events/mdio.h:43: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/mdio.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' 32 | TRACE_EVENT(name, \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/phy/mdio_bus.c:38: In file included from ../include/trace/events/mdio.h:43: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/mdio.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' 32 | TRACE_EVENT(name, \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/phy/mdio_bus.c:38: In file included from ../include/trace/events/mdio.h:43: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/mdio.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' 32 | TRACE_EVENT(name, \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/phy/mdio_bus.c:38: In file included from ../include/trace/events/mdio.h:43: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/mdio.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' 32 | TRACE_EVENT(name, \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 18 errors generated. make[6]: *** [../scripts/Makefile.build:244: drivers/net/phy/mdio_bus.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: drivers/net/phy] Error 2 make[5]: *** Waiting for unfinished jobs.... In file included from ../block/blk-iocost.c:751: In file included from ../include/trace/events/iocost.h:225: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iocost.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | DECLARE_EVENT_CLASS(iocost_iocg_state, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../block/blk-iocost.c:751: In file included from ../include/trace/events/iocost.h:225: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iocost.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../block/blk-iocost.c:751: In file included from ../include/trace/events/iocost.h:225: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iocost.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../block/blk-iocost.c:751: In file included from ../include/trace/events/iocost.h:225: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iocost.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../block/blk-iocost.c:751: In file included from ../include/trace/events/iocost.h:225: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iocost.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../block/blk-iocost.c:751: In file included from ../include/trace/events/iocost.h:225: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iocost.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../block/blk-iocost.c:751: In file included from ../include/trace/events/iocost.h:225: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iocost.h:76:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 76 | DECLARE_EVENT_CLASS(iocg_inuse_update, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../block/blk-iocost.c:751: In file included from ../include/trace/events/iocost.h:225: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iocost.h:76:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../block/blk-iocost.c:751: In file included from ../include/trace/events/iocost.h:225: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iocost.h:76:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../block/blk-iocost.c:751: In file included from ../include/trace/events/iocost.h:225: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iocost.h:76:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../block/blk-iocost.c:751: In file included from ../include/trace/events/iocost.h:225: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iocost.h:76:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../block/blk-iocost.c:751: In file included from ../include/trace/events/iocost.h:225: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iocost.h:76:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../block/blk-iocost.c:751: In file included from ../include/trace/events/iocost.h:225: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iocost.h:142:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 142 | TRACE_EVENT(iocost_ioc_vrate_adj, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../block/blk-iocost.c:751: In file included from ../include/trace/events/iocost.h:225: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iocost.h:142:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../block/blk-iocost.c:751: In file included from ../include/trace/events/iocost.h:225: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iocost.h:142:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../block/blk-iocost.c:751: In file included from ../include/trace/events/iocost.h:225: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iocost.h:142:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../block/blk-iocost.c:751: In file included from ../include/trace/events/iocost.h:225: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iocost.h:142:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../block/blk-iocost.c:751: In file included from ../include/trace/events/iocost.h:225: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iocost.h:142:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../block/blk-iocost.c:751: In file included from ../include/trace/events/iocost.h:225: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iocost.h:181:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 181 | TRACE_EVENT(iocost_iocg_forgive_debt, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[4]: *** [../scripts/Makefile.build:244: block/blk-iocost.o] Error 1 In file included from ../block/blk-wbt.c:35: In file included from ../include/trace/events/wbt.h:158: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/wbt.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 15 | TRACE_EVENT(wbt_stat, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../block/blk-wbt.c:35: In file included from ../include/trace/events/wbt.h:158: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/wbt.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../block/blk-wbt.c:35: In file included from ../include/trace/events/wbt.h:158: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/wbt.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../block/blk-wbt.c:35: In file included from ../include/trace/events/wbt.h:158: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/wbt.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../block/blk-wbt.c:35: In file included from ../include/trace/events/wbt.h:158: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/wbt.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../block/blk-wbt.c:35: In file included from ../include/trace/events/wbt.h:158: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/wbt.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../block/blk-wbt.c:35: In file included from ../include/trace/events/wbt.h:158: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/wbt.h:59:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 59 | TRACE_EVENT(wbt_lat, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../block/blk-wbt.c:35: In file included from ../include/trace/events/wbt.h:158: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/wbt.h:59:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../block/blk-wbt.c:35: In file included from ../include/trace/events/wbt.h:158: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/wbt.h:59:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../block/blk-wbt.c:35: In file included from ../include/trace/events/wbt.h:158: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/wbt.h:59:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../block/blk-wbt.c:35: In file included from ../include/trace/events/wbt.h:158: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/wbt.h:59:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../block/blk-wbt.c:35: In file included from ../include/trace/events/wbt.h:158: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/wbt.h:59:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../block/blk-wbt.c:35: In file included from ../include/trace/events/wbt.h:158: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/wbt.h:89:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 89 | TRACE_EVENT(wbt_step, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../block/blk-wbt.c:35: In file included from ../include/trace/events/wbt.h:158: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/wbt.h:89:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../block/blk-wbt.c:35: In file included from ../include/trace/events/wbt.h:158: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/wbt.h:89:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../block/blk-wbt.c:35: In file included from ../include/trace/events/wbt.h:158: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/wbt.h:89:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../block/blk-wbt.c:35: In file included from ../include/trace/events/wbt.h:158: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/wbt.h:89:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../block/blk-wbt.c:35: In file included from ../include/trace/events/wbt.h:158: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/wbt.h:89:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../block/blk-wbt.c:35: In file included from ../include/trace/events/wbt.h:158: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/wbt.h:129:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 129 | TRACE_EVENT(wbt_timer, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[4]: *** [../scripts/Makefile.build:244: block/blk-wbt.o] Error 1 make[3]: *** [../scripts/Makefile.build:485: block] Error 2 In file included from ../kernel/printk/printk.c:56: In file included from ../include/trace/events/printk.h:37: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/printk.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | TRACE_EVENT(console, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/printk/printk.c:56: In file included from ../include/trace/events/printk.h:37: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/printk.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/printk/printk.c:56: In file included from ../include/trace/events/printk.h:37: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/printk.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/printk/printk.c:56: In file included from ../include/trace/events/printk.h:37: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/printk.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/printk/printk.c:56: In file included from ../include/trace/events/printk.h:37: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/printk.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/printk/printk.c:56: In file included from ../include/trace/events/printk.h:37: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/printk.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/printk/printk.c:56: In file included from ../include/trace/events/printk.h:37: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/printk.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | TRACE_EVENT(console, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/printk/printk.c:56: In file included from ../include/trace/events/printk.h:37: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/printk.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/printk/printk.c:56: In file included from ../include/trace/events/printk.h:37: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/printk.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/printk/printk.c:56: In file included from ../include/trace/events/printk.h:37: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/printk.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/printk/printk.c:56: In file included from ../include/trace/events/printk.h:37: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/printk.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/printk/printk.c:56: In file included from ../include/trace/events/printk.h:37: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/printk.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/printk/printk.c:56: In file included from ../include/trace/events/printk.h:37: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/printk.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | TRACE_EVENT(console, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../kernel/printk/printk.c:56: In file included from ../include/trace/events/printk.h:37: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/printk.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../kernel/printk/printk.c:56: In file included from ../include/trace/events/printk.h:37: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/printk.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../kernel/printk/printk.c:56: In file included from ../include/trace/events/printk.h:37: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/printk.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../kernel/printk/printk.c:56: In file included from ../include/trace/events/printk.h:37: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/printk.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../kernel/printk/printk.c:56: In file included from ../include/trace/events/printk.h:37: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/printk.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 18 errors generated. make[5]: *** [../scripts/Makefile.build:244: kernel/printk/printk.o] Error 1 In file included from ../kernel/locking/mutex.c:34: In file included from ../include/trace/events/lock.h:144: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/lock.h:24:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 24 | TRACE_EVENT(lock_acquire, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/locking/mutex.c:34: In file included from ../include/trace/events/lock.h:144: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/lock.h:24:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/locking/mutex.c:34: In file included from ../include/trace/events/lock.h:144: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/lock.h:24:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/locking/mutex.c:34: In file included from ../include/trace/events/lock.h:144: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/lock.h:24:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/locking/mutex.c:34: In file included from ../include/trace/events/lock.h:144: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/lock.h:24:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/locking/mutex.c:34: In file included from ../include/trace/events/lock.h:144: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/lock.h:24:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/locking/mutex.c:34: In file included from ../include/trace/events/lock.h:144: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/lock.h:50:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 50 | DECLARE_EVENT_CLASS(lock, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/locking/mutex.c:34: In file included from ../include/trace/events/lock.h:144: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/lock.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/locking/mutex.c:34: In file included from ../include/trace/events/lock.h:144: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/lock.h:50:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/locking/mutex.c:34: In file included from ../include/trace/events/lock.h:144: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/lock.h:50:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/locking/mutex.c:34: In file included from ../include/trace/events/lock.h:144: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/lock.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/locking/mutex.c:34: In file included from ../include/trace/events/lock.h:144: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/lock.h:50:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/locking/mutex.c:34: In file included from ../include/trace/events/lock.h:144: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/lock.h:95:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 95 | TRACE_EVENT(contention_begin, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/locking/mutex.c:34: In file included from ../include/trace/events/lock.h:144: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/lock.h:95:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/locking/mutex.c:34: In file included from ../include/trace/events/lock.h:144: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/lock.h:95:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/locking/mutex.c:34: In file included from ../include/trace/events/lock.h:144: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/lock.h:95:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/locking/mutex.c:34: In file included from ../include/trace/events/lock.h:144: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/lock.h:95:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/locking/mutex.c:34: In file included from ../include/trace/events/lock.h:144: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/lock.h:95:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/locking/mutex.c:34: In file included from ../include/trace/events/lock.h:144: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/lock.h:122:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 122 | TRACE_EVENT(contention_end, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: kernel/locking/mutex.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: kernel/printk] Error 2 make[4]: *** [../scripts/Makefile.build:485: kernel/locking] Error 2 In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 15 | DECLARE_EVENT_CLASS(mv88e6xxx_atu_violation, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/dsa/mv88e6xxx/trace.h:58:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 58 | DECLARE_EVENT_CLASS(mv88e6xxx_vtu_violation, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/dsa/mv88e6xxx/trace.h:58:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/dsa/mv88e6xxx/trace.h:58:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/dsa/mv88e6xxx/trace.h:58:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/dsa/mv88e6xxx/trace.h:58:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/dsa/mv88e6xxx/trace.h:58:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 15 | DECLARE_EVENT_CLASS(mv88e6xxx_atu_violation, | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/dsa/mv88e6xxx/trace.h:58:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 58 | DECLARE_EVENT_CLASS(mv88e6xxx_vtu_violation, | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[7]: *** [../scripts/Makefile.build:244: drivers/net/dsa/mv88e6xxx/trace.o] Error 1 make[6]: *** [../scripts/Makefile.build:485: drivers/net/dsa/mv88e6xxx] Error 2 make[5]: *** [../scripts/Makefile.build:485: drivers/net/dsa] Error 2 In file included from ../fs/dax.c:31: In file included from ../include/trace/events/fs_dax.h:286: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/fs_dax.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | DECLARE_EVENT_CLASS(dax_pmd_fault_class, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../fs/dax.c:31: In file included from ../include/trace/events/fs_dax.h:286: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/fs_dax.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../fs/dax.c:31: In file included from ../include/trace/events/fs_dax.h:286: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/fs_dax.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../fs/dax.c:31: In file included from ../include/trace/events/fs_dax.h:286: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/fs_dax.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../fs/dax.c:31: In file included from ../include/trace/events/fs_dax.h:286: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/fs_dax.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../fs/dax.c:31: In file included from ../include/trace/events/fs_dax.h:286: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/fs_dax.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../fs/dax.c:31: In file included from ../include/trace/events/fs_dax.h:286: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/fs_dax.h:63:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 63 | DECLARE_EVENT_CLASS(dax_pmd_load_hole_class, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../fs/dax.c:31: In file included from ../include/trace/events/fs_dax.h:286: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/fs_dax.h:63:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../fs/dax.c:31: In file included from ../include/trace/events/fs_dax.h:286: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/fs_dax.h:63:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../fs/dax.c:31: In file included from ../include/trace/events/fs_dax.h:286: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/fs_dax.h:63:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../fs/dax.c:31: In file included from ../include/trace/events/fs_dax.h:286: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/fs_dax.h:63:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../fs/dax.c:31: In file included from ../include/trace/events/fs_dax.h:286: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/fs_dax.h:63:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../fs/dax.c:31: In file included from ../include/trace/events/fs_dax.h:286: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/fs_dax.h:105:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 105 | DECLARE_EVENT_CLASS(dax_pmd_insert_mapping_class, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../fs/dax.c:31: In file included from ../include/trace/events/fs_dax.h:286: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/fs_dax.h:105:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../fs/dax.c:31: In file included from ../include/trace/events/fs_dax.h:286: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/fs_dax.h:105:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../fs/dax.c:31: In file included from ../include/trace/events/fs_dax.h:286: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/fs_dax.h:105:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../fs/dax.c:31: In file included from ../include/trace/events/fs_dax.h:286: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/fs_dax.h:105:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../fs/dax.c:31: In file included from ../include/trace/events/fs_dax.h:286: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/fs_dax.h:105:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../fs/dax.c:31: In file included from ../include/trace/events/fs_dax.h:286: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/fs_dax.h:153:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 153 | DECLARE_EVENT_CLASS(dax_pte_fault_class, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[4]: *** [../scripts/Makefile.build:244: fs/dax.o] Error 1 make[3]: *** [../scripts/Makefile.build:485: fs] Error 2 In file included from ../arch/x86/kvm/mmu/mmu.c:193: In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/mmu/mmutrace.h:67:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 67 | TRACE_EVENT( | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/mmu/mmu.c:193: In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/mmu/mmutrace.h:67:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/mmu/mmu.c:193: In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/mmu/mmutrace.h:67:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/mmu/mmu.c:193: In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/mmu/mmutrace.h:67:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/mmu/mmu.c:193: In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/mmu/mmutrace.h:67:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/mmu/mmu.c:193: In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/mmu/mmutrace.h:67:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/mmu/mmu.c:193: In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/mmu/mmutrace.h:88:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 88 | TRACE_EVENT( | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/mmu/mmu.c:193: In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/mmu/mmutrace.h:88:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/mmu/mmu.c:193: In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/mmu/mmutrace.h:88:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/mmu/mmu.c:193: In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/mmu/mmutrace.h:88:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/mmu/mmu.c:193: In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/mmu/mmutrace.h:88:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/mmu/mmu.c:193: In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/mmu/mmutrace.h:88:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/mmu/mmu.c:193: In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/mmu/mmutrace.h:106:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 106 | DECLARE_EVENT_CLASS(kvm_mmu_set_bit_class, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/mmu/mmu.c:193: In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/mmu/mmutrace.h:106:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/mmu/mmu.c:193: In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/mmu/mmutrace.h:106:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/mmu/mmu.c:193: In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/mmu/mmutrace.h:106:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/mmu/mmu.c:193: In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/mmu/mmutrace.h:106:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/mmu/mmu.c:193: In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/mmu/mmutrace.h:106:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/mmu/mmu.c:193: In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/mmu/mmutrace.h:140:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 140 | TRACE_EVENT( | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: arch/x86/kvm/mmu/mmu.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: arch/x86/kvm] Error 2 make[3]: *** [../scripts/Makefile.build:485: arch/x86] Error 2 In file included from ../kernel/irq/matrix.c:38: In file included from ../include/trace/events/irq_matrix.h:201: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq_matrix.h:12:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 12 | DECLARE_EVENT_CLASS(irq_matrix_global, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/irq/matrix.c:38: In file included from ../include/trace/events/irq_matrix.h:201: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq_matrix.h:12:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/irq/matrix.c:38: In file included from ../include/trace/events/irq_matrix.h:201: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq_matrix.h:12:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/irq/matrix.c:38: In file included from ../include/trace/events/irq_matrix.h:201: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq_matrix.h:12:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/irq/matrix.c:38: In file included from ../include/trace/events/irq_matrix.h:201: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq_matrix.h:12:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/irq/matrix.c:38: In file included from ../include/trace/events/irq_matrix.h:201: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq_matrix.h:12:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/irq/matrix.c:38: In file included from ../include/trace/events/irq_matrix.h:201: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq_matrix.h:37:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 37 | DECLARE_EVENT_CLASS(irq_matrix_global_update, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/irq/matrix.c:38: In file included from ../include/trace/events/irq_matrix.h:201: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq_matrix.h:37:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/irq/matrix.c:38: In file included from ../include/trace/events/irq_matrix.h:201: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq_matrix.h:37:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/irq/matrix.c:38: In file included from ../include/trace/events/irq_matrix.h:201: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq_matrix.h:37:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/irq/matrix.c:38: In file included from ../include/trace/events/irq_matrix.h:201: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq_matrix.h:37:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/irq/matrix.c:38: In file included from ../include/trace/events/irq_matrix.h:201: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq_matrix.h:37:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/irq/matrix.c:38: In file included from ../include/trace/events/irq_matrix.h:201: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq_matrix.h:65:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 65 | DECLARE_EVENT_CLASS(irq_matrix_cpu, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/irq/matrix.c:38: In file included from ../include/trace/events/irq_matrix.h:201: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq_matrix.h:65:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/irq/matrix.c:38: In file included from ../include/trace/events/irq_matrix.h:201: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq_matrix.h:65:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/irq/matrix.c:38: In file included from ../include/trace/events/irq_matrix.h:201: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq_matrix.h:65:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/irq/matrix.c:38: In file included from ../include/trace/events/irq_matrix.h:201: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq_matrix.h:65:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/irq/matrix.c:38: In file included from ../include/trace/events/irq_matrix.h:201: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq_matrix.h:65:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/irq/matrix.c:38: In file included from ../include/trace/events/irq_matrix.h:201: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/irq_matrix.h:12:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 12 | DECLARE_EVENT_CLASS(irq_matrix_global, | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: kernel/irq/matrix.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: kernel/irq] Error 2 In file included from ../drivers/net/wireless/ath/trace.c:20: In file included from ../drivers/net/wireless/ath/trace.h:68: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/trace.h:33:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 33 | TRACE_EVENT(ath_log, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/trace.c:20: In file included from ../drivers/net/wireless/ath/trace.h:68: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/trace.c:20: In file included from ../drivers/net/wireless/ath/trace.h:68: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/trace.c:20: In file included from ../drivers/net/wireless/ath/trace.h:68: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/trace.h:33:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/trace.c:20: In file included from ../drivers/net/wireless/ath/trace.h:68: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/trace.c:20: In file included from ../drivers/net/wireless/ath/trace.h:68: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/trace.c:20: In file included from ../drivers/net/wireless/ath/trace.h:68: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/wireless/ath/trace.h:33:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 33 | TRACE_EVENT(ath_log, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/trace.c:20: In file included from ../drivers/net/wireless/ath/trace.h:68: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/wireless/ath/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/trace.c:20: In file included from ../drivers/net/wireless/ath/trace.h:68: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/wireless/ath/trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/trace.c:20: In file included from ../drivers/net/wireless/ath/trace.h:68: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/wireless/ath/trace.h:33:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/trace.c:20: In file included from ../drivers/net/wireless/ath/trace.h:68: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/wireless/ath/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/trace.c:20: In file included from ../drivers/net/wireless/ath/trace.h:68: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/wireless/ath/trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/trace.c:20: In file included from ../drivers/net/wireless/ath/trace.h:68: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/ath/trace.h:33:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 33 | TRACE_EVENT(ath_log, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/wireless/ath/trace.c:20: In file included from ../drivers/net/wireless/ath/trace.h:68: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/ath/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/wireless/ath/trace.c:20: In file included from ../drivers/net/wireless/ath/trace.h:68: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/ath/trace.h:33:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/wireless/ath/trace.c:20: In file included from ../drivers/net/wireless/ath/trace.h:68: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/ath/trace.h:33:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/trace.c:20: In file included from ../drivers/net/wireless/ath/trace.h:68: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/ath/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/trace.c:20: In file included from ../drivers/net/wireless/ath/trace.h:68: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/ath/trace.h:33:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 18 errors generated. make[7]: *** [../scripts/Makefile.build:244: drivers/net/wireless/ath/trace.o] Error 1 make[7]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:36:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 36 | TRACE_EVENT(brcmf_err, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:36:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:36:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:36:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:36:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:36:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:50:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 50 | TRACE_EVENT(brcmf_dbg, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:50:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:50:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:50:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:66:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 66 | TRACE_EVENT(brcmf_hexdump, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:66:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:66:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:66:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:66:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:66:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:82:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 82 | TRACE_EVENT(brcmf_bcdchdr, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[9]: *** [../scripts/Makefile.build:244: drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.o] Error 1 make[8]: *** [../scripts/Makefile.build:485: drivers/net/wireless/broadcom/brcm80211/brcmfmac] Error 2 make[8]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:29:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 29 | TRACE_EVENT(brcms_timer, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:29:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:29:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:29:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:29:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:29:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:58:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 58 | TRACE_EVENT(brcms_dpc, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:58:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:58:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:58:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:58:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:58:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:73:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 73 | TRACE_EVENT(brcms_macintstatus, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:73:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:73:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:73:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:73:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:73:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:29:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 29 | TRACE_EVENT(brcms_timer, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[9]: *** [../scripts/Makefile.build:244: drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.o] Error 1 make[8]: *** [../scripts/Makefile.build:485: drivers/net/wireless/broadcom/brcm80211/brcmsmac] Error 2 make[7]: *** [../scripts/Makefile.build:485: drivers/net/wireless/broadcom/brcm80211] Error 2 make[6]: *** [../scripts/Makefile.build:485: drivers/net/wireless/broadcom] Error 2 make[6]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/wil6210/trace.h:29:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 29 | DECLARE_EVENT_CLASS(wil6210_wmi, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/wil6210/trace.h:29:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/wil6210/trace.h:29:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/wil6210/trace.h:29:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/wil6210/trace.h:29:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/wil6210/trace.h:29:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/wil6210/trace.h:69:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 69 | DECLARE_EVENT_CLASS(wil6210_log_event, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/wil6210/trace.h:69:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/wil6210/trace.h:69:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/wil6210/trace.h:69:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/wil6210/trace.h:69:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/wil6210/trace.h:69:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/wil6210/trace.h:101:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 101 | TRACE_EVENT(wil6210_irq_pseudo, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/wil6210/trace.h:101:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/wil6210/trace.h:101:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/wil6210/trace.h:101:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/wil6210/trace.h:101:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/wil6210/trace.h:101:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/wil6210/trace.h:114:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 114 | DECLARE_EVENT_CLASS(wil6210_irq, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/ath/wil6210/trace.o] Error 1 make[7]: *** [../scripts/Makefile.build:485: drivers/net/wireless/ath/wil6210] Error 2 In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath6kl/trace.h:39:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 39 | TRACE_EVENT(ath6kl_wmi_cmd, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath6kl/trace.h:39:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath6kl/trace.h:39:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath6kl/trace.h:39:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath6kl/trace.h:39:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath6kl/trace.h:39:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath6kl/trace.h:62:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 62 | TRACE_EVENT(ath6kl_wmi_event, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath6kl/trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath6kl/trace.h:62:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath6kl/trace.h:62:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath6kl/trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath6kl/trace.h:62:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath6kl/trace.h:85:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 85 | TRACE_EVENT(ath6kl_sdio, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath6kl/trace.h:85:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath6kl/trace.h:85:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath6kl/trace.h:85:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath6kl/trace.h:85:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath6kl/trace.h:85:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath6kl/trace.h:120:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 120 | TRACE_EVENT(ath6kl_sdio_scat, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/ath/ath6kl/trace.o] Error 1 make[7]: *** [../scripts/Makefile.build:485: drivers/net/wireless/ath/ath6kl] Error 2 In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath5k/trace.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 21 | TRACE_EVENT(ath5k_rx, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath5k/trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath5k/trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath5k/trace.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath5k/trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath5k/trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath5k/trace.h:39:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 39 | TRACE_EVENT(ath5k_tx, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath5k/trace.h:39:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath5k/trace.h:39:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath5k/trace.h:39:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath5k/trace.h:39:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath5k/trace.h:39:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath5k/trace.h:65:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 65 | TRACE_EVENT(ath5k_tx_complete, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath5k/trace.h:65:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath5k/trace.h:65:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath5k/trace.h:65:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath5k/trace.h:65:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath5k/trace.h:65:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/wireless/ath/ath5k/trace.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 21 | TRACE_EVENT(ath5k_rx, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/ath/ath5k/base.o] Error 1 make[7]: *** [../scripts/Makefile.build:485: drivers/net/wireless/ath/ath5k] Error 2 In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: In file included from ../include/trace/events/iscsi.h:107: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iscsi.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 21 | DECLARE_EVENT_CLASS(iscsi_log_msg, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: In file included from ../include/trace/events/iscsi.h:107: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: In file included from ../include/trace/events/iscsi.h:107: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: In file included from ../include/trace/events/iscsi.h:107: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iscsi.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: In file included from ../include/trace/events/iscsi.h:107: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: In file included from ../include/trace/events/iscsi.h:107: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: In file included from ../include/trace/events/iscsi.h:107: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/iscsi.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 21 | DECLARE_EVENT_CLASS(iscsi_log_msg, | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: In file included from ../include/trace/events/iscsi.h:107: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: In file included from ../include/trace/events/iscsi.h:107: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: In file included from ../include/trace/events/iscsi.h:107: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/iscsi.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: In file included from ../include/trace/events/iscsi.h:107: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: In file included from ../include/trace/events/iscsi.h:107: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: In file included from ../include/trace/events/iscsi.h:107: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/iscsi.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 21 | DECLARE_EVENT_CLASS(iscsi_log_msg, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: In file included from ../include/trace/events/iscsi.h:107: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: In file included from ../include/trace/events/iscsi.h:107: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: In file included from ../include/trace/events/iscsi.h:107: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/iscsi.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: In file included from ../include/trace/events/iscsi.h:107: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: In file included from ../include/trace/events/iscsi.h:107: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 18 errors generated. make[5]: *** [../scripts/Makefile.build:244: drivers/scsi/scsi_transport_iscsi.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: drivers/scsi] Error 2 In file included from ../drivers/gpu/drm/scheduler/sched_main.c:88: In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:35:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 35 | DECLARE_EVENT_CLASS(drm_sched_job, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/scheduler/sched_main.c:88: In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:35:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/scheduler/sched_main.c:88: In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:35:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/scheduler/sched_main.c:88: In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:35:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/scheduler/sched_main.c:88: In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:35:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/scheduler/sched_main.c:88: In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:35:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/scheduler/sched_main.c:88: In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:72:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 72 | TRACE_EVENT(drm_sched_process_job, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/scheduler/sched_main.c:88: In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:72:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/scheduler/sched_main.c:88: In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:72:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/scheduler/sched_main.c:88: In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:72:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/scheduler/sched_main.c:88: In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:72:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/scheduler/sched_main.c:88: In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:72:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/scheduler/sched_main.c:88: In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:85:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 85 | TRACE_EVENT(drm_sched_job_wait_dep, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/scheduler/sched_main.c:88: In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:85:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/scheduler/sched_main.c:88: In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:85:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/scheduler/sched_main.c:88: In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:85:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/scheduler/sched_main.c:88: In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:85:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/scheduler/sched_main.c:88: In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:85:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/scheduler/sched_main.c:88: In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:35:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 35 | DECLARE_EVENT_CLASS(drm_sched_job, | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/scheduler/sched_main.o] Error 1 make[6]: *** [../scripts/Makefile.build:485: drivers/gpu/drm/scheduler] Error 2 In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt7601u/trace.h:29:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 29 | DECLARE_EVENT_CLASS(dev_reg_evtu, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt7601u/trace.h:29:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt7601u/trace.h:29:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt7601u/trace.h:29:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt7601u/trace.h:29:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt7601u/trace.h:29:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt7601u/trace.h:56:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 56 | TRACE_EVENT(mt_submit_urb, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt7601u/trace.h:56:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt7601u/trace.h:56:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt7601u/trace.h:56:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt7601u/trace.h:56:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt7601u/trace.h:56:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt7601u/trace.h:78:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 78 | TRACE_EVENT(mt_mcu_msg_send, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt7601u/trace.h:78:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt7601u/trace.h:78:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt7601u/trace.h:78:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt7601u/trace.h:78:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt7601u/trace.h:78:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt7601u/trace.h:98:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 98 | TRACE_EVENT(mt_vend_req, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/mediatek/mt7601u/trace.o] Error 1 make[7]: *** [../scripts/Makefile.build:485: drivers/net/wireless/mediatek/mt7601u] Error 2 make[7]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 23 | TRACE_EVENT(lp_event, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 23 | TRACE_EVENT(lp_event, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 23 | TRACE_EVENT(lp_event, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 18 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/mediatek/mt76/mt792x_trace.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/hyperv/netvsc_trace.c:7: In file included from ../drivers/net/hyperv/netvsc_trace.h:182: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/hyperv/netvsc_trace.h:42:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 42 | DECLARE_EVENT_CLASS(rndis_msg_class, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/hyperv/netvsc_trace.c:7: In file included from ../drivers/net/hyperv/netvsc_trace.h:182: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/hyperv/netvsc_trace.h:42:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/hyperv/netvsc_trace.c:7: In file included from ../drivers/net/hyperv/netvsc_trace.h:182: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/hyperv/netvsc_trace.h:42:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/hyperv/netvsc_trace.c:7: In file included from ../drivers/net/hyperv/netvsc_trace.h:182: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/hyperv/netvsc_trace.h:42:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/hyperv/netvsc_trace.c:7: In file included from ../drivers/net/hyperv/netvsc_trace.h:182: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/hyperv/netvsc_trace.h:42:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/hyperv/netvsc_trace.c:7: In file included from ../drivers/net/hyperv/netvsc_trace.h:182: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/hyperv/netvsc_trace.h:42:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/hyperv/netvsc_trace.c:7: In file included from ../drivers/net/hyperv/netvsc_trace.h:182: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/hyperv/netvsc_trace.h:115:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 115 | TRACE_EVENT(nvsp_send, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/hyperv/netvsc_trace.c:7: In file included from ../drivers/net/hyperv/netvsc_trace.h:182: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/hyperv/netvsc_trace.h:115:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/hyperv/netvsc_trace.c:7: In file included from ../drivers/net/hyperv/netvsc_trace.h:182: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/hyperv/netvsc_trace.h:115:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/hyperv/netvsc_trace.c:7: In file included from ../drivers/net/hyperv/netvsc_trace.h:182: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/hyperv/netvsc_trace.h:115:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/hyperv/netvsc_trace.c:7: In file included from ../drivers/net/hyperv/netvsc_trace.h:182: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/hyperv/netvsc_trace.h:115:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/hyperv/netvsc_trace.c:7: In file included from ../drivers/net/hyperv/netvsc_trace.h:182: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/hyperv/netvsc_trace.h:115:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/hyperv/netvsc_trace.c:7: In file included from ../drivers/net/hyperv/netvsc_trace.h:182: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/hyperv/netvsc_trace.h:132:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 132 | TRACE_EVENT(nvsp_send_pkt, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/hyperv/netvsc_trace.c:7: In file included from ../drivers/net/hyperv/netvsc_trace.h:182: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/hyperv/netvsc_trace.h:132:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/hyperv/netvsc_trace.c:7: In file included from ../drivers/net/hyperv/netvsc_trace.h:182: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/hyperv/netvsc_trace.h:132:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/hyperv/netvsc_trace.c:7: In file included from ../drivers/net/hyperv/netvsc_trace.h:182: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/hyperv/netvsc_trace.h:132:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/hyperv/netvsc_trace.c:7: In file included from ../drivers/net/hyperv/netvsc_trace.h:182: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/hyperv/netvsc_trace.h:132:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/hyperv/netvsc_trace.c:7: In file included from ../drivers/net/hyperv/netvsc_trace.h:182: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/hyperv/netvsc_trace.h:132:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/hyperv/netvsc_trace.c:7: In file included from ../drivers/net/hyperv/netvsc_trace.h:182: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/hyperv/netvsc_trace.h:157:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 157 | TRACE_EVENT(nvsp_recv, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[6]: *** [../scripts/Makefile.build:244: drivers/net/hyperv/netvsc_trace.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: drivers/net/hyperv] Error 2 In file included from ../drivers/net/wireless/ath/ath12k/trace.c:10: In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath12k/trace.h:24:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 24 | TRACE_EVENT(ath12k_htt_pktlog, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath12k/trace.c:10: In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath12k/trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath12k/trace.c:10: In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath12k/trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath12k/trace.c:10: In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath12k/trace.h:24:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath12k/trace.c:10: In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath12k/trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath12k/trace.c:10: In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath12k/trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath12k/trace.c:10: In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath12k/trace.h:55:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 55 | TRACE_EVENT(ath12k_htt_ppdu_stats, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath12k/trace.c:10: In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath12k/trace.h:55:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath12k/trace.c:10: In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath12k/trace.h:55:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath12k/trace.c:10: In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath12k/trace.h:55:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath12k/trace.c:10: In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath12k/trace.h:55:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath12k/trace.c:10: In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath12k/trace.h:55:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath12k/trace.c:10: In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath12k/trace.h:98:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 98 | TRACE_EVENT(ath12k_htt_rxdesc, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath12k/trace.c:10: In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath12k/trace.h:98:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath12k/trace.c:10: In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath12k/trace.h:98:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath12k/trace.c:10: In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath12k/trace.h:98:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath12k/trace.c:10: In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath12k/trace.h:98:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath12k/trace.c:10: In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath12k/trace.h:98:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath12k/trace.c:10: In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath12k/trace.h:143:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 143 | TRACE_EVENT(ath12k_wmi_diag, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/ath/ath12k/trace.o] Error 1 make[7]: *** [../scripts/Makefile.build:485: drivers/net/wireless/ath/ath12k] Error 2 In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/vc4/vc4_trace.h:17:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 17 | TRACE_EVENT(vc4_wait_for_seqno_begin, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/vc4/vc4_trace.h:17:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/vc4/vc4_trace.h:17:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/vc4/vc4_trace.h:17:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/vc4/vc4_trace.h:17:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/vc4/vc4_trace.h:17:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/vc4/vc4_trace.h:37:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 37 | TRACE_EVENT(vc4_wait_for_seqno_end, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/vc4/vc4_trace.h:37:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/vc4/vc4_trace.h:37:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/vc4/vc4_trace.h:37:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/vc4/vc4_trace.h:37:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/vc4/vc4_trace.h:37:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/vc4/vc4_trace.h:55:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 55 | TRACE_EVENT(vc4_submit_cl_ioctl, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/vc4/vc4_trace.h:55:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/vc4/vc4_trace.h:55:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/vc4/vc4_trace.h:55:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/vc4/vc4_trace.h:55:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/vc4/vc4_trace.h:55:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/vc4/vc4_trace.h:80:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 80 | TRACE_EVENT(vc4_submit_cl, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/vc4/vc4_trace_points.o] Error 1 make[6]: *** [../scripts/Makefile.build:485: drivers/gpu/drm/vc4] Error 2 In file included from ../drivers/net/thunderbolt/trace.c:10: In file included from ../drivers/net/thunderbolt/trace.h:141: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/thunderbolt/trace.h:25:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 25 | DECLARE_EVENT_CLASS(tbnet_frame, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/thunderbolt/trace.c:10: In file included from ../drivers/net/thunderbolt/trace.h:141: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/thunderbolt/trace.h:25:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/thunderbolt/trace.c:10: In file included from ../drivers/net/thunderbolt/trace.h:141: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/thunderbolt/trace.h:25:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/thunderbolt/trace.c:10: In file included from ../drivers/net/thunderbolt/trace.h:141: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/thunderbolt/trace.h:25:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/thunderbolt/trace.c:10: In file included from ../drivers/net/thunderbolt/trace.h:141: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/thunderbolt/trace.h:25:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/thunderbolt/trace.c:10: In file included from ../drivers/net/thunderbolt/trace.h:141: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/thunderbolt/trace.h:25:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/thunderbolt/trace.c:10: In file included from ../drivers/net/thunderbolt/trace.h:141: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/thunderbolt/trace.h:64:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 64 | DECLARE_EVENT_CLASS(tbnet_ip_frame, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/thunderbolt/trace.c:10: In file included from ../drivers/net/thunderbolt/trace.h:141: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/thunderbolt/trace.h:64:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/thunderbolt/trace.c:10: In file included from ../drivers/net/thunderbolt/trace.h:141: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/thunderbolt/trace.h:64:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/thunderbolt/trace.c:10: In file included from ../drivers/net/thunderbolt/trace.h:141: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/thunderbolt/trace.h:64:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/thunderbolt/trace.c:10: In file included from ../drivers/net/thunderbolt/trace.h:141: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/thunderbolt/trace.h:64:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/thunderbolt/trace.c:10: In file included from ../drivers/net/thunderbolt/trace.h:141: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/thunderbolt/trace.h:64:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/thunderbolt/trace.c:10: In file included from ../drivers/net/thunderbolt/trace.h:141: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/thunderbolt/trace.h:98:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 98 | DECLARE_EVENT_CLASS(tbnet_skb, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/thunderbolt/trace.c:10: In file included from ../drivers/net/thunderbolt/trace.h:141: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/thunderbolt/trace.h:98:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/thunderbolt/trace.c:10: In file included from ../drivers/net/thunderbolt/trace.h:141: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/thunderbolt/trace.h:98:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/thunderbolt/trace.c:10: In file included from ../drivers/net/thunderbolt/trace.h:141: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/thunderbolt/trace.h:98:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/thunderbolt/trace.c:10: In file included from ../drivers/net/thunderbolt/trace.h:141: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/thunderbolt/trace.h:98:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/thunderbolt/trace.c:10: In file included from ../drivers/net/thunderbolt/trace.h:141: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/thunderbolt/trace.h:98:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/thunderbolt/trace.c:10: In file included from ../drivers/net/thunderbolt/trace.h:141: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/thunderbolt/trace.h:25:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 25 | DECLARE_EVENT_CLASS(tbnet_frame, | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[6]: *** [../scripts/Makefile.build:244: drivers/net/thunderbolt/trace.o] Error 1 In file included from ../drivers/net/wireless/silabs/wfx/debug.c:20: In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/silabs/wfx/traces.h:159:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 159 | DECLARE_EVENT_CLASS(hif_data, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/silabs/wfx/debug.c:20: In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/silabs/wfx/traces.h:159:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/silabs/wfx/debug.c:20: In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/silabs/wfx/traces.h:159:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/silabs/wfx/debug.c:20: In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/silabs/wfx/traces.h:159:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/silabs/wfx/debug.c:20: In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/silabs/wfx/traces.h:159:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/silabs/wfx/debug.c:20: In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/silabs/wfx/traces.h:159:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/silabs/wfx/debug.c:20: In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/silabs/wfx/traces.h:236:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 236 | DECLARE_EVENT_CLASS(io_data, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/silabs/wfx/debug.c:20: In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/silabs/wfx/traces.h:236:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/silabs/wfx/debug.c:20: In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/silabs/wfx/traces.h:236:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/silabs/wfx/debug.c:20: In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/silabs/wfx/traces.h:236:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/silabs/wfx/debug.c:20: In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/silabs/wfx/traces.h:236:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/silabs/wfx/debug.c:20: In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/silabs/wfx/traces.h:236:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/silabs/wfx/debug.c:20: In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/silabs/wfx/traces.h:279:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 279 | DECLARE_EVENT_CLASS(io_data32, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/silabs/wfx/debug.c:20: In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/silabs/wfx/traces.h:279:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/silabs/wfx/debug.c:20: In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/silabs/wfx/traces.h:279:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/silabs/wfx/debug.c:20: In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/silabs/wfx/traces.h:279:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/silabs/wfx/debug.c:20: In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/silabs/wfx/traces.h:279:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/silabs/wfx/debug.c:20: In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/silabs/wfx/traces.h:279:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/silabs/wfx/debug.c:20: In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/silabs/wfx/traces.h:314:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 314 | DECLARE_EVENT_CLASS(piggyback, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/silabs/wfx/debug.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: drivers/net/thunderbolt] Error 2 make[7]: *** [../scripts/Makefile.build:485: drivers/net/wireless/silabs/wfx] Error 2 make[6]: *** [../scripts/Makefile.build:485: drivers/net/wireless/silabs] Error 2 In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 27 | DECLARE_EVENT_CLASS(dev_reg_evt, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/usb_trace.h:54:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 54 | DECLARE_EVENT_CLASS(urb_transfer, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/usb_trace.h:54:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/usb_trace.h:54:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/usb_trace.h:54:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/usb_trace.h:54:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/usb_trace.h:54:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 27 | DECLARE_EVENT_CLASS(dev_reg_evt, | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/wireless/mediatek/mt76/usb_trace.h:54:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 54 | DECLARE_EVENT_CLASS(urb_transfer, | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/mediatek/mt76/usb_trace.o] Error 1 In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:17:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 17 | TRACE_EVENT(iwlwifi_dev_ioread32, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:17:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:17:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:17:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:17:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:17:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:34:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 34 | TRACE_EVENT(iwlwifi_dev_iowrite8, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:34:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:34:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:34:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:34:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:34:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:51:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 51 | TRACE_EVENT(iwlwifi_dev_iowrite32, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:51:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:51:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:51:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:51:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:51:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:68:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 68 | TRACE_EVENT(iwlwifi_dev_iowrite64, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/intel/iwlwifi/iwl-devtrace.o] Error 1 make[7]: *** [../scripts/Makefile.build:485: drivers/net/wireless/intel/iwlwifi] Error 2 make[6]: *** [../scripts/Makefile.build:485: drivers/net/wireless/intel] Error 2 In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath11k/trace.h:36:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 36 | TRACE_EVENT(ath11k_htt_pktlog, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath11k/trace.h:36:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath11k/trace.h:36:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath11k/trace.h:36:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath11k/trace.h:36:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath11k/trace.h:36:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath11k/trace.h:67:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 67 | TRACE_EVENT(ath11k_htt_ppdu_stats, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath11k/trace.h:67:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath11k/trace.h:67:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath11k/trace.h:67:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath11k/trace.h:67:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath11k/trace.h:67:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath11k/trace.h:94:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 94 | TRACE_EVENT(ath11k_htt_rxdesc, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath11k/trace.h:94:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath11k/trace.h:94:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath11k/trace.h:94:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath11k/trace.h:94:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath11k/trace.h:94:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath11k/trace.h:124:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 124 | DECLARE_EVENT_CLASS(ath11k_log_event, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/ath/ath11k/trace.o] Error 1 make[7]: *** [../scripts/Makefile.build:485: drivers/net/wireless/ath/ath11k] Error 2 In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/trace.h:32:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 32 | DECLARE_EVENT_CLASS(dev_reg_evt, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/trace.h:32:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/trace.h:32:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/trace.h:32:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/trace.h:32:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/trace.h:32:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/trace.h:59:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 59 | TRACE_EVENT(dev_irq, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/trace.h:59:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/trace.h:59:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/trace.h:59:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/trace.h:59:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/trace.h:59:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/trace.h:82:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 82 | DECLARE_EVENT_CLASS(dev_txid_evt, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/trace.h:82:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/trace.h:82:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/trace.h:82:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/trace.h:82:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/trace.h:82:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/wireless/mediatek/mt76/trace.h:32:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 32 | DECLARE_EVENT_CLASS(dev_reg_evt, | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/mediatek/mt76/trace.o] Error 1 In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath10k/trace.h:49:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 49 | DECLARE_EVENT_CLASS(ath10k_log_event, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath10k/trace.h:49:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath10k/trace.h:49:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath10k/trace.h:49:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath10k/trace.h:49:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath10k/trace.h:49:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath10k/trace.h:85:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 85 | TRACE_EVENT(ath10k_log_dbg, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath10k/trace.h:85:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath10k/trace.h:85:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath10k/trace.h:85:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath10k/trace.h:85:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath10k/trace.h:85:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath10k/trace.h:108:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 108 | TRACE_EVENT(ath10k_log_dbg_dump, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath10k/trace.h:108:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath10k/trace.h:108:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath10k/trace.h:108:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath10k/trace.h:108:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath10k/trace.h:108:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath10k/trace.h:141:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 141 | TRACE_EVENT(ath10k_wmi_cmd, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/ath/ath10k/trace.o] Error 1 make[7]: *** [../scripts/Makefile.build:485: drivers/net/wireless/ath/ath10k] Error 2 make[6]: *** [../scripts/Makefile.build:485: drivers/net/wireless/ath] Error 2 In file included from ../drivers/net/fjes/fjes_trace.c:13: In file included from ../drivers/net/fjes/fjes_trace.h:365: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/fjes/fjes_trace.h:18:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 18 | TRACE_EVENT(fjes_hw_issue_request_command, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/fjes/fjes_trace.c:13: In file included from ../drivers/net/fjes/fjes_trace.h:365: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/fjes/fjes_trace.h:18:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/fjes/fjes_trace.c:13: In file included from ../drivers/net/fjes/fjes_trace.h:365: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/fjes/fjes_trace.h:18:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/fjes/fjes_trace.c:13: In file included from ../drivers/net/fjes/fjes_trace.h:365: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/fjes/fjes_trace.h:18:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/fjes/fjes_trace.c:13: In file included from ../drivers/net/fjes/fjes_trace.h:365: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/fjes/fjes_trace.h:18:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/fjes/fjes_trace.c:13: In file included from ../drivers/net/fjes/fjes_trace.h:365: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/fjes/fjes_trace.h:18:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/fjes/fjes_trace.c:13: In file included from ../drivers/net/fjes/fjes_trace.h:365: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/fjes/fjes_trace.h:50:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 50 | TRACE_EVENT(fjes_hw_request_info, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/fjes/fjes_trace.c:13: In file included from ../drivers/net/fjes/fjes_trace.h:365: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/fjes/fjes_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/fjes/fjes_trace.c:13: In file included from ../drivers/net/fjes/fjes_trace.h:365: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/fjes/fjes_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/fjes/fjes_trace.c:13: In file included from ../drivers/net/fjes/fjes_trace.h:365: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/fjes/fjes_trace.h:50:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/fjes/fjes_trace.c:13: In file included from ../drivers/net/fjes/fjes_trace.h:365: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/fjes/fjes_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/fjes/fjes_trace.c:13: In file included from ../drivers/net/fjes/fjes_trace.h:365: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/fjes/fjes_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/fjes/fjes_trace.c:13: In file included from ../drivers/net/fjes/fjes_trace.h:365: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/fjes/fjes_trace.h:81:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 81 | TRACE_EVENT(fjes_hw_request_info_err, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/fjes/fjes_trace.c:13: In file included from ../drivers/net/fjes/fjes_trace.h:365: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/fjes/fjes_trace.h:81:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/fjes/fjes_trace.c:13: In file included from ../drivers/net/fjes/fjes_trace.h:365: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/fjes/fjes_trace.h:81:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/fjes/fjes_trace.c:13: In file included from ../drivers/net/fjes/fjes_trace.h:365: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/fjes/fjes_trace.h:81:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/fjes/fjes_trace.c:13: In file included from ../drivers/net/fjes/fjes_trace.h:365: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/fjes/fjes_trace.h:81:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/fjes/fjes_trace.c:13: In file included from ../drivers/net/fjes/fjes_trace.h:365: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/fjes/fjes_trace.h:81:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/fjes/fjes_trace.c:13: In file included from ../drivers/net/fjes/fjes_trace.h:365: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/fjes/fjes_trace.h:93:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 93 | TRACE_EVENT(fjes_hw_register_buff_addr_req, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[6]: *** [../scripts/Makefile.build:244: drivers/net/fjes/fjes_trace.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: drivers/net/fjes] Error 2 In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 26 | DECLARE_EVENT_CLASS(dev_evt, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:43:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 43 | TRACE_EVENT(mac_txstat_fetch, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:43:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:43:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:43:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:43:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:43:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 26 | DECLARE_EVENT_CLASS(dev_evt, | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:43:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 43 | TRACE_EVENT(mac_txstat_fetch, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/mediatek/mt76/mt76x02_trace.o] Error 1 In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/v3d/v3d_trace.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 15 | TRACE_EVENT(v3d_submit_cl_ioctl, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/v3d/v3d_trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/v3d/v3d_trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/v3d/v3d_trace.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/v3d/v3d_trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/v3d/v3d_trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/v3d/v3d_trace.h:37:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 37 | TRACE_EVENT(v3d_submit_cl, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/v3d/v3d_trace.h:37:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/v3d/v3d_trace.h:37:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/v3d/v3d_trace.h:37:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/v3d/v3d_trace.h:37:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/v3d/v3d_trace.h:37:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/v3d/v3d_trace.h:67:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 67 | TRACE_EVENT(v3d_bcl_irq, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/v3d/v3d_trace.h:67:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/v3d/v3d_trace.h:67:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/v3d/v3d_trace.h:67:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/v3d/v3d_trace.h:67:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/v3d/v3d_trace.h:67:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/v3d/v3d_trace.h:87:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 87 | TRACE_EVENT(v3d_rcl_irq, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/v3d/v3d_trace_points.o] Error 1 make[6]: *** [../scripts/Makefile.build:485: drivers/gpu/drm/v3d] Error 2 In file included from ../kernel/sched/core.c:84: In file included from ../include/trace/events/sched.h:830: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/sched.h:16:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 16 | TRACE_EVENT(sched_kthread_stop, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/sched/core.c:84: In file included from ../include/trace/events/sched.h:830: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/sched.h:16:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/sched/core.c:84: In file included from ../include/trace/events/sched.h:830: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/sched.h:16:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/sched/core.c:84: In file included from ../include/trace/events/sched.h:830: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/sched.h:16:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/sched/core.c:84: In file included from ../include/trace/events/sched.h:830: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/sched.h:16:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/sched/core.c:84: In file included from ../include/trace/events/sched.h:830: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/sched.h:16:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/sched/core.c:84: In file included from ../include/trace/events/sched.h:830: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/sched.h:38:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 38 | TRACE_EVENT(sched_kthread_stop_ret, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/sched/core.c:84: In file included from ../include/trace/events/sched.h:830: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/sched.h:38:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/sched/core.c:84: In file included from ../include/trace/events/sched.h:830: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/sched.h:38:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/sched/core.c:84: In file included from ../include/trace/events/sched.h:830: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/sched.h:38:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/sched/core.c:84: In file included from ../include/trace/events/sched.h:830: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/sched.h:38:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/sched/core.c:84: In file included from ../include/trace/events/sched.h:830: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/sched.h:38:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/sched/core.c:84: In file included from ../include/trace/events/sched.h:830: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/sched.h:64:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 64 | TRACE_EVENT(sched_kthread_work_queue_work, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/sched/core.c:84: In file included from ../include/trace/events/sched.h:830: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/sched.h:64:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/sched/core.c:84: In file included from ../include/trace/events/sched.h:830: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/sched.h:64:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/sched/core.c:84: In file included from ../include/trace/events/sched.h:830: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/sched.h:64:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/sched/core.c:84: In file included from ../include/trace/events/sched.h:830: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/sched.h:64:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/sched/core.c:84: In file included from ../include/trace/events/sched.h:830: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/sched.h:64:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/sched/core.c:84: In file included from ../include/trace/events/sched.h:830: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/sched.h:93:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 93 | TRACE_EVENT(sched_kthread_work_execute_start, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: kernel/sched/core.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: kernel/sched] Error 2 make[3]: *** [../scripts/Makefile.build:485: kernel] Error 2 In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:13:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 13 | TRACE_EVENT(funeth_tx, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:13:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:13:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:13:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:43:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 43 | TRACE_EVENT(funeth_tx_free, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:43:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:43:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:43:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:43:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:43:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:73:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 73 | TRACE_EVENT(funeth_rx, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:73:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:73:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:73:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:73:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:73:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:13:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 13 | TRACE_EVENT(funeth_tx, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/fungible/funeth/funeth_rx.o] Error 1 make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/fungible/funeth] Error 2 make[6]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/fungible] Error 2 make[6]: *** Waiting for unfinished jobs.... In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/radeon/radeon_trace.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 15 | TRACE_EVENT(radeon_bo_create, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/radeon/radeon_trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/radeon/radeon_trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/radeon/radeon_trace.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/radeon/radeon_trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/radeon/radeon_trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/radeon/radeon_trace.h:30:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 30 | TRACE_EVENT(radeon_cs, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/radeon/radeon_trace.h:30:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/radeon/radeon_trace.h:30:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/radeon/radeon_trace.h:30:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/radeon/radeon_trace.h:30:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/radeon/radeon_trace.h:30:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/radeon/radeon_trace.h:50:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 50 | TRACE_EVENT(radeon_vm_grab_id, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/radeon/radeon_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/radeon/radeon_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/radeon/radeon_trace.h:50:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/radeon/radeon_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/radeon/radeon_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/radeon/radeon_trace.h:65:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 65 | TRACE_EVENT(radeon_vm_bo_update, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/radeon/radeon_trace_points.o] Error 1 make[6]: *** [../scripts/Makefile.build:485: drivers/gpu/drm/radeon] Error 2 In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 24 | DECLARE_EVENT_CLASS(dpaa2_eth_fd, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:109:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 109 | DECLARE_EVENT_CLASS(dpaa2_eth_buf, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:109:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:109:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:109:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:109:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:109:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 24 | DECLARE_EVENT_CLASS(dpaa2_eth_fd, | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:109:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 109 | DECLARE_EVENT_CLASS(dpaa2_eth_buf, | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.o] Error 1 make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/freescale/dpaa2] Error 2 make[7]: *** Waiting for unfinished jobs.... In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 11 | DECLARE_EVENT_CLASS(virtio_gpu_cmd, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 11 | DECLARE_EVENT_CLASS(virtio_gpu_cmd, | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 11 | DECLARE_EVENT_CLASS(virtio_gpu_cmd, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 18 errors generated. make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/virtio/virtgpu_trace_points.o] Error 1 make[6]: *** [../scripts/Makefile.build:485: drivers/gpu/drm/virtio] Error 2 In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_atomic_trace.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 11 | TRACE_EVENT(msm_atomic_commit_tail_start, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_atomic_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_atomic_trace.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_atomic_trace.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_atomic_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_atomic_trace.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_atomic_trace.h:26:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 26 | TRACE_EVENT(msm_atomic_commit_tail_finish, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_atomic_trace.h:26:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_atomic_trace.h:26:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_atomic_trace.h:26:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_atomic_trace.h:26:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_atomic_trace.h:26:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_atomic_trace.h:41:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 41 | TRACE_EVENT(msm_atomic_async_commit_start, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_atomic_trace.h:41:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_atomic_trace.h:41:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_atomic_trace.h:41:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_atomic_trace.h:41:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_atomic_trace.h:41:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_atomic_trace.h:54:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 54 | TRACE_EVENT(msm_atomic_async_commit_finish, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/msm/msm_atomic_tracepoints.o] Error 1 make[7]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:20:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 20 | TRACE_EVENT(otx2_msg_alloc, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:20:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:20:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:20:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:20:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:20:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:35:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 35 | TRACE_EVENT(otx2_msg_send, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:35:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:35:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:35:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:35:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:35:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:50:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 50 | TRACE_EVENT(otx2_msg_check, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:50:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:68:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 68 | TRACE_EVENT(otx2_msg_interrupt, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[9]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.o] Error 1 make[8]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/marvell/octeontx2/af] Error 2 make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/marvell/octeontx2] Error 2 make[6]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/marvell] Error 2 In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:16:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 16 | TRACE_EVENT(hclge_vf_mbx_get, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:16:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:16:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:16:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:16:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:16:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:47:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 47 | TRACE_EVENT(hclge_vf_mbx_send, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:47:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:47:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:47:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:47:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:47:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:80:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 80 | DECLARE_EVENT_CLASS(hclge_vf_cmd_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:80:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:80:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:80:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:80:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:80:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:16:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 16 | TRACE_EVENT(hclge_vf_mbx_get, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c:11: In file included from ../include/trace/events/mlxsw.h:119: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mlxsw.h:16:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 16 | TRACE_EVENT(mlxsw_sp_acl_atcam_entry_add_ctcam_spill, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c:11: In file included from ../include/trace/events/mlxsw.h:119: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mlxsw.h:16:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c:11: In file included from ../include/trace/events/mlxsw.h:119: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mlxsw.h:16:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c:11: In file included from ../include/trace/events/mlxsw.h:119: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mlxsw.h:16:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c:11: In file included from ../include/trace/events/mlxsw.h:119: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mlxsw.h:16:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c:11: In file included from ../include/trace/events/mlxsw.h:119: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mlxsw.h:16:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c:11: In file included from ../include/trace/events/mlxsw.h:119: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mlxsw.h:36:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 36 | TRACE_EVENT(mlxsw_sp_acl_tcam_vregion_rehash, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c:11: In file included from ../include/trace/events/mlxsw.h:119: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mlxsw.h:36:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c:11: In file included from ../include/trace/events/mlxsw.h:119: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mlxsw.h:36:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c:11: In file included from ../include/trace/events/mlxsw.h:119: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mlxsw.h:36:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c:11: In file included from ../include/trace/events/mlxsw.h:119: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mlxsw.h:36:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c:11: In file included from ../include/trace/events/mlxsw.h:119: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mlxsw.h:36:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c:11: In file included from ../include/trace/events/mlxsw.h:119: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mlxsw.h:56:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 56 | TRACE_EVENT(mlxsw_sp_acl_tcam_vregion_migrate, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c:11: In file included from ../include/trace/events/mlxsw.h:119: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mlxsw.h:56:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c:11: In file included from ../include/trace/events/mlxsw.h:119: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mlxsw.h:56:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c:11: In file included from ../include/trace/events/mlxsw.h:119: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mlxsw.h:56:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c:11: In file included from ../include/trace/events/mlxsw.h:119: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mlxsw.h:56:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c:11: In file included from ../include/trace/events/mlxsw.h:119: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mlxsw.h:56:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c:11: In file included from ../include/trace/events/mlxsw.h:119: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mlxsw.h:76:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 76 | TRACE_EVENT(mlxsw_sp_acl_tcam_vregion_migrate_end, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.o] Error 1 In file included from ../drivers/gpu/drm/tegra/trace.c:2: In file included from ../drivers/gpu/drm/tegra/trace.h:68: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/tegra/trace.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | DECLARE_EVENT_CLASS(register_access, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/tegra/trace.c:2: In file included from ../drivers/gpu/drm/tegra/trace.h:68: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/tegra/trace.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/tegra/trace.c:2: In file included from ../drivers/gpu/drm/tegra/trace.h:68: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/tegra/trace.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/tegra/trace.c:2: In file included from ../drivers/gpu/drm/tegra/trace.h:68: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/tegra/trace.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/tegra/trace.c:2: In file included from ../drivers/gpu/drm/tegra/trace.h:68: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/tegra/trace.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/tegra/trace.c:2: In file included from ../drivers/gpu/drm/tegra/trace.h:68: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/tegra/trace.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/tegra/trace.c:2: In file included from ../drivers/gpu/drm/tegra/trace.h:68: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/gpu/drm/tegra/trace.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | DECLARE_EVENT_CLASS(register_access, | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/tegra/trace.c:2: In file included from ../drivers/gpu/drm/tegra/trace.h:68: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/gpu/drm/tegra/trace.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/tegra/trace.c:2: In file included from ../drivers/gpu/drm/tegra/trace.h:68: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/gpu/drm/tegra/trace.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/tegra/trace.c:2: In file included from ../drivers/gpu/drm/tegra/trace.h:68: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/gpu/drm/tegra/trace.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/tegra/trace.c:2: In file included from ../drivers/gpu/drm/tegra/trace.h:68: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/gpu/drm/tegra/trace.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/tegra/trace.c:2: In file included from ../drivers/gpu/drm/tegra/trace.h:68: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/gpu/drm/tegra/trace.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/tegra/trace.c:2: In file included from ../drivers/gpu/drm/tegra/trace.h:68: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/tegra/trace.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | DECLARE_EVENT_CLASS(register_access, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/gpu/drm/tegra/trace.c:2: In file included from ../drivers/gpu/drm/tegra/trace.h:68: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/tegra/trace.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/gpu/drm/tegra/trace.c:2: In file included from ../drivers/gpu/drm/tegra/trace.h:68: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/tegra/trace.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/gpu/drm/tegra/trace.c:2: In file included from ../drivers/gpu/drm/tegra/trace.h:68: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/tegra/trace.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/gpu/drm/tegra/trace.c:2: In file included from ../drivers/gpu/drm/tegra/trace.h:68: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/tegra/trace.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/gpu/drm/tegra/trace.c:2: In file included from ../drivers/gpu/drm/tegra/trace.h:68: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/tegra/trace.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 18 errors generated. make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/tegra/trace.o] Error 1 make[6]: *** [../scripts/Makefile.build:485: drivers/gpu/drm/tegra] Error 2 make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/mellanox/mlxsw] Error 2 make[7]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 15 | DECLARE_EVENT_CLASS(hns3_skb_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:67:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 67 | TRACE_EVENT(hns3_tx_desc, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:67:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:67:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:67:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:67:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:67:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:98:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 98 | TRACE_EVENT(hns3_rx_desc, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:98:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:98:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:98:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:98:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:98:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 15 | DECLARE_EVENT_CLASS(hns3_skb_template, | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/hisilicon/hns3/hns3_enet.o] Error 1 In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 29 | DECLARE_EVENT_CLASS(dpaa_eth_fd, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 29 | DECLARE_EVENT_CLASS(dpaa_eth_fd, | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 29 | DECLARE_EVENT_CLASS(dpaa_eth_fd, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 18 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/freescale/dpaa/dpaa_eth.o] Error 1 make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/freescale/dpaa] Error 2 make[6]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/freescale] Error 2 In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 21 | TRACE_EVENT(e1000e_trace_mac_register, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 21 | TRACE_EVENT(e1000e_trace_mac_register, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 21 | TRACE_EVENT(e1000e_trace_mac_register, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ ../drivers/net/ethernet/intel/e1000e/netdev.c:4460:22: warning: shift count >= width of type [-Wshift-count-overflow] 4460 | adapter->cc.mask = CYCLECOUNTER_MASK(64); | ^~~~~~~~~~~~~~~~~~~~~ ../include/linux/timecounter.h:14:59: note: expanded from macro 'CYCLECOUNTER_MASK' 14 | #define CYCLECOUNTER_MASK(bits) (u64)((bits) < 64 ? ((1ULL<<(bits))-1) : -1) | ^ ~~~~~~ ../drivers/net/ethernet/intel/e1000e/netdev.c:7383:46: warning: shift count >= width of type [-Wshift-count-overflow] 7383 | err = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64)); | ^~~~~~~~~~~~~~~~ ../include/linux/dma-mapping.h:77:54: note: expanded from macro 'DMA_BIT_MASK' 77 | #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) | ^ ~~~ 2 warnings and 18 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/intel/e1000e/netdev.o] Error 1 make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/intel/e1000e] Error 2 make[7]: *** Waiting for unfinished jobs.... In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_gpu_trace.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 11 | TRACE_EVENT(msm_gpu_submit, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_gpu_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_gpu_trace.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_gpu_trace.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_gpu_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_gpu_trace.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_gpu_trace.h:33:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 33 | TRACE_EVENT(msm_gpu_submit_flush, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_gpu_trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_gpu_trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_gpu_trace.h:33:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_gpu_trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_gpu_trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_gpu_trace.h:56:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 56 | TRACE_EVENT(msm_gpu_submit_retired, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_gpu_trace.h:56:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_gpu_trace.h:56:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_gpu_trace.h:56:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_gpu_trace.h:56:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_gpu_trace.h:56:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/msm_gpu_trace.h:87:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 87 | TRACE_EVENT(msm_gpu_freq_change, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/msm/msm_gpu_tracepoints.o] Error 1 In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 20 | DECLARE_EVENT_CLASS(xe_guc_ct_flow_control, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_guc.h:61:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 61 | DECLARE_EVENT_CLASS(xe_guc_ctb, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_guc.h:61:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_guc.h:61:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_guc.h:61:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_guc.h:61:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_guc.h:61:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 20 | DECLARE_EVENT_CLASS(xe_guc_ct_flow_control, | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/gpu/drm/xe/xe_trace_guc.h:61:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 61 | DECLARE_EVENT_CLASS(xe_guc_ctb, | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/xe/xe_trace_guc.o] Error 1 make[7]: *** Waiting for unfinished jobs.... In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_bo.h:23:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 23 | DECLARE_EVENT_CLASS(xe_bo, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_bo.h:23:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_bo.h:23:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_bo.h:23:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_bo.h:23:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_bo.h:23:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_bo.h:51:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 51 | TRACE_EVENT(xe_bo_move, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_bo.h:51:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_bo.h:51:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_bo.h:51:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_bo.h:51:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_bo.h:51:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_bo.h:78:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 78 | DECLARE_EVENT_CLASS(xe_vma, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_bo.h:78:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_bo.h:78:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_bo.h:78:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_bo.h:78:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_bo.h:78:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_bo.h:180:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 180 | DECLARE_EVENT_CLASS(xe_vm, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/xe/xe_trace_bo.o] Error 1 In file included from ../net/wireless/trace.c:5: In file included from ../net/wireless/trace.h:4093: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/wireless/trace.h:249:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 249 | DECLARE_EVENT_CLASS(wiphy_work_event, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/wireless/trace.c:5: In file included from ../net/wireless/trace.h:4093: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/wireless/trace.h:249:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/wireless/trace.c:5: In file included from ../net/wireless/trace.h:4093: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/wireless/trace.h:249:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/wireless/trace.c:5: In file included from ../net/wireless/trace.h:4093: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/wireless/trace.h:249:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/wireless/trace.c:5: In file included from ../net/wireless/trace.h:4093: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/wireless/trace.h:249:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/wireless/trace.c:5: In file included from ../net/wireless/trace.h:4093: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/wireless/trace.h:249:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/wireless/trace.c:5: In file included from ../net/wireless/trace.h:4093: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/wireless/trace.h:286:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 286 | TRACE_EVENT(wiphy_delayed_work_queue, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/wireless/trace.c:5: In file included from ../net/wireless/trace.h:4093: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/wireless/trace.h:286:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/wireless/trace.c:5: In file included from ../net/wireless/trace.h:4093: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/wireless/trace.h:286:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/wireless/trace.c:5: In file included from ../net/wireless/trace.h:4093: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/wireless/trace.h:286:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/wireless/trace.c:5: In file included from ../net/wireless/trace.h:4093: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/wireless/trace.h:286:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/wireless/trace.c:5: In file included from ../net/wireless/trace.h:4093: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/wireless/trace.h:286:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/wireless/trace.c:5: In file included from ../net/wireless/trace.h:4093: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/wireless/trace.h:307:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 307 | TRACE_EVENT(wiphy_work_worker_start, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/wireless/trace.c:5: In file included from ../net/wireless/trace.h:4093: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/wireless/trace.h:307:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/wireless/trace.c:5: In file included from ../net/wireless/trace.h:4093: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/wireless/trace.h:307:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/wireless/trace.c:5: In file included from ../net/wireless/trace.h:4093: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/wireless/trace.h:307:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/wireless/trace.c:5: In file included from ../net/wireless/trace.h:4093: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/wireless/trace.h:307:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/wireless/trace.c:5: In file included from ../net/wireless/trace.h:4093: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/wireless/trace.h:307:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/wireless/trace.c:5: In file included from ../net/wireless/trace.h:4093: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../net/wireless/trace.h:323:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 323 | TRACE_EVENT(rdev_suspend, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: net/wireless/trace.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: net/wireless] Error 2 make[3]: *** [../scripts/Makefile.build:485: net] Error 2 In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 27 | DECLARE_EVENT_CLASS(dev_token, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 27 | DECLARE_EVENT_CLASS(dev_token, | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 27 | DECLARE_EVENT_CLASS(dev_token, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 18 errors generated. make[9]: *** [../scripts/Makefile.build:244: drivers/net/wireless/mediatek/mt76/mt7615/trace.o] Error 1 make[8]: *** [../scripts/Makefile.build:485: drivers/net/wireless/mediatek/mt76/mt7615] Error 2 make[7]: *** [../scripts/Makefile.build:485: drivers/net/wireless/mediatek/mt76] Error 2 make[6]: *** [../scripts/Makefile.build:485: drivers/net/wireless/mediatek] Error 2 make[5]: *** [../scripts/Makefile.build:485: drivers/net/wireless] Error 2 In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:17:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 17 | TRACE_EVENT(hclge_pf_mbx_get, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:17:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:17:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:17:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:17:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:17:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:50:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 50 | TRACE_EVENT(hclge_pf_mbx_send, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:50:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:81:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 81 | DECLARE_EVENT_CLASS(hclge_pf_cmd_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:81:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:81:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:81:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:81:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:81:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:132:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 132 | DECLARE_EVENT_CLASS(hclge_pf_special_cmd_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.o] Error 1 make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/hisilicon/hns3] Error 2 make[6]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/hisilicon] Error 2 In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/iavf/iavf_trace.h:59:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 59 | DECLARE_EVENT_CLASS( | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/iavf/iavf_trace.h:59:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/iavf/iavf_trace.h:59:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/iavf/iavf_trace.h:59:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/iavf/iavf_trace.h:59:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/iavf/iavf_trace.h:59:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/iavf/iavf_trace.h:111:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 111 | DECLARE_EVENT_CLASS( | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/iavf/iavf_trace.h:111:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/iavf/iavf_trace.h:111:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/iavf/iavf_trace.h:111:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/iavf/iavf_trace.h:111:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/iavf/iavf_trace.h:111:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/iavf/iavf_trace.h:156:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 156 | DECLARE_EVENT_CLASS( | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/iavf/iavf_trace.h:156:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/iavf/iavf_trace.h:156:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/iavf/iavf_trace.h:156:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/iavf/iavf_trace.h:156:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/iavf/iavf_trace.h:156:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/ethernet/intel/iavf/iavf_trace.h:59:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 59 | DECLARE_EVENT_CLASS( | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/intel/iavf/iavf_main.o] Error 1 make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/intel/iavf] Error 2 In file included from ../drivers/gpu/drm/xe/xe_trace.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace.h:379: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace.h:27:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 27 | DECLARE_EVENT_CLASS(xe_gt_tlb_invalidation_fence, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace.h:379: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace.h:379: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace.h:27:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace.h:379: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace.h:27:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace.h:379: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace.h:379: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace.h:27:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace.h:379: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace.h:83:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 83 | DECLARE_EVENT_CLASS(xe_exec_queue, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace.h:379: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace.h:83:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace.h:379: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace.h:83:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace.h:379: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace.h:83:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace.h:379: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace.h:83:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace.h:379: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace.h:83:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace.h:379: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace.h:205:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 205 | DECLARE_EVENT_CLASS(xe_sched_job, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace.h:379: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace.h:205:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace.h:379: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace.h:205:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace.h:379: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace.h:205:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace.h:379: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace.h:205:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace.h:379: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace.h:205:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace.h:379: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace.h:276:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 276 | DECLARE_EVENT_CLASS(xe_sched_msg, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/xe/xe_trace.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 13 | TRACE_EVENT(mlx5_cmd, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 13 | TRACE_EVENT(mlx5_cmd, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 13 | TRACE_EVENT(mlx5_cmd, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 18 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/cmd.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/i40e/i40e_trace.h:60:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 60 | TRACE_EVENT(i40e_napi_poll, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/i40e/i40e_trace.h:60:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/i40e/i40e_trace.h:60:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/i40e/i40e_trace.h:60:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/i40e/i40e_trace.h:60:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/i40e/i40e_trace.h:60:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/i40e/i40e_trace.h:108:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 108 | DECLARE_EVENT_CLASS( | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/i40e/i40e_trace.h:108:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/i40e/i40e_trace.h:108:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/i40e/i40e_trace.h:108:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/i40e/i40e_trace.h:108:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/i40e/i40e_trace.h:108:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/i40e/i40e_trace.h:160:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 160 | DECLARE_EVENT_CLASS( | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/i40e/i40e_trace.h:160:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/i40e/i40e_trace.h:160:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/i40e/i40e_trace.h:160:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/i40e/i40e_trace.h:160:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/i40e/i40e_trace.h:160:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/i40e/i40e_trace.h:205:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 205 | DECLARE_EVENT_CLASS( | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/intel/i40e/i40e_main.o] Error 1 make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/intel/i40e] Error 2 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 43 | TRACE_EVENT(mlx5_fw, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 43 | TRACE_EVENT(mlx5_fw, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 43 | TRACE_EVENT(mlx5_fw, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 18 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.o] Error 1 In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/ice/ice_trace.h:63:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 63 | DECLARE_EVENT_CLASS(ice_rx_dim_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/ice/ice_trace.h:63:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/ice/ice_trace.h:63:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/ice/ice_trace.h:63:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/ice/ice_trace.h:63:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/ice/ice_trace.h:63:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/ice/ice_trace.h:90:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 90 | DECLARE_EVENT_CLASS(ice_tx_dim_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/ice/ice_trace.h:90:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/ice/ice_trace.h:90:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/ice/ice_trace.h:90:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/ice/ice_trace.h:90:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/ice/ice_trace.h:90:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/ice/ice_trace.h:118:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 118 | DECLARE_EVENT_CLASS(ice_tx_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/ice/ice_trace.h:118:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/ice/ice_trace.h:118:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/ice/ice_trace.h:118:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/ice/ice_trace.h:118:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/ice/ice_trace.h:118:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/ice/ice_trace.h:148:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 148 | DECLARE_EVENT_CLASS(ice_rx_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/intel/ice/ice_main.o] Error 1 make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/intel/ice] Error 2 make[6]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/intel] Error 2 In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:24:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 24 | TRACE_EVENT(intel_pipe_enable, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:24:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:52:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 52 | TRACE_EVENT(intel_pipe_disable, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:52:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:52:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:52:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:52:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:52:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:81:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 81 | TRACE_EVENT(intel_crtc_flip_done, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:81:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:81:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:81:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:81:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:81:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:104:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 104 | TRACE_EVENT(intel_pipe_crc, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[7]: *** [../drivers/gpu/drm/xe/Makefile:183: drivers/gpu/drm/xe/i915-display/intel_display_trace.o] Error 1 make[6]: *** [../scripts/Makefile.build:485: drivers/gpu/drm/xe] Error 2 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | TRACE_EVENT(mlx5_sf_vhca_event, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | TRACE_EVENT(mlx5_sf_vhca_event, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | TRACE_EVENT(mlx5_sf_vhca_event, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 18 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.o] Error 1 In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:42:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 42 | TRACE_EVENT(spt_alloc, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:42:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:42:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:42:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:42:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:42:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:72:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 72 | TRACE_EVENT(spt_free, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:72:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:72:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:72:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:72:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:72:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:97:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 97 | TRACE_EVENT(gma_index, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:97:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:97:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:97:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:97:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:97:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:115:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 115 | TRACE_EVENT(gma_translate, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/i915/gvt/trace_points.o] Error 1 make[7]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:64:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 64 | TRACE_EVENT(mlx5_fs_add_ft, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:64:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:64:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:64:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:64:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:64:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:83:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 83 | TRACE_EVENT(mlx5_fs_del_ft, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:83:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:83:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:83:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:83:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:83:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:99:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 99 | TRACE_EVENT(mlx5_fs_add_fg, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:99:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:99:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:99:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:99:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:99:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:150:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 150 | TRACE_EVENT(mlx5_fs_del_fg, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:13:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 13 | DECLARE_EVENT_CLASS(mlx5_esw_bridge_fdb_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:13:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:13:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:13:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:56:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 56 | DECLARE_EVENT_CLASS(mlx5_esw_bridge_vlan_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:56:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:56:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:56:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:56:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:56:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:83:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 83 | DECLARE_EVENT_CLASS(mlx5_esw_bridge_port_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:83:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:83:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:83:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:83:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:83:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:113:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 113 | DECLARE_EVENT_CLASS(mlx5_esw_bridge_mdb_port_change_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: sound/soc] Error 2 make[3]: *** [../scripts/Makefile.build:485: sound] Error 2 In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 21 | TRACE_EVENT(i915_gem_object_create, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:38:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 38 | TRACE_EVENT(i915_gem_shrink, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:38:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:38:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:38:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:38:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:38:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:58:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 58 | TRACE_EVENT(i915_vma_bind, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:58:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:58:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:58:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:58:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:58:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:84:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 84 | TRACE_EVENT(i915_vma_unbind, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/i915/i915_trace_points.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:13:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 13 | TRACE_EVENT(mlx5_esw_vport_qos_destroy, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:13:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:13:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:13:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:29:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 29 | DECLARE_EVENT_CLASS(mlx5_esw_vport_qos_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:29:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:29:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:29:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:29:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:29:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:62:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 62 | DECLARE_EVENT_CLASS(mlx5_esw_group_qos_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:62:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:62:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:62:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:62:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:62:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:94:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 94 | TRACE_EVENT(mlx5_esw_group_qos_config, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | TRACE_EVENT(mlx5e_rep_neigh_update, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | TRACE_EVENT(mlx5e_rep_neigh_update, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | TRACE_EVENT(mlx5e_rep_neigh_update, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 18 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/en_rep.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | DECLARE_EVENT_CLASS(mlx5_sf_dev_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | DECLARE_EVENT_CLASS(mlx5_sf_dev_template, | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | DECLARE_EVENT_CLASS(mlx5_sf_dev_template, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 18 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.o] Error 1 In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:24:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 24 | TRACE_EVENT(dpu_perf_set_qos_luts, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:24:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:50:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 50 | TRACE_EVENT(dpu_perf_set_danger_luts, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:50:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:74:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 74 | TRACE_EVENT(dpu_perf_set_ot, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:74:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:74:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:74:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:74:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:74:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:94:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 94 | TRACE_EVENT(dpu_cmd_release_bw, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/msm/disp/dpu1/dpu_kms.o] Error 1 make[6]: *** [../scripts/Makefile.build:485: drivers/gpu/drm/msm] Error 2 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:25:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 25 | DECLARE_EVENT_CLASS(mlx5e_flower_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:25:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:25:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:25:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:25:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:25:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:58:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 58 | TRACE_EVENT(mlx5e_stats_flower, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:58:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:58:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:58:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:58:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:58:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:77:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 77 | TRACE_EVENT(mlx5e_tc_update_neigh_used_value, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:77:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:77:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:77:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:77:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:77:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:25:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 25 | DECLARE_EVENT_CLASS(mlx5e_flower_template, | ^ ../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | TRACE_EVENT(mlx5_sf_add, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:38:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 38 | TRACE_EVENT(mlx5_sf_free, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:38:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:38:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:38:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:38:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:38:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:59:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 59 | TRACE_EVENT(mlx5_sf_hwc_alloc, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:59:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:59:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:59:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:59:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:59:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:80:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 80 | TRACE_EVENT(mlx5_sf_hwc_free, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.o] Error 1 make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/mellanox/mlx5/core] Error 2 make[6]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/mellanox] Error 2 make[5]: *** [../scripts/Makefile.build:485: drivers/net/ethernet] Error 2 make[4]: *** [../scripts/Makefile.build:485: drivers/net] Error 2 In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:24:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 24 | TRACE_EVENT(intel_pipe_enable, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:24:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:52:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 52 | TRACE_EVENT(intel_pipe_disable, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:52:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:52:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:52:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:52:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:52:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:81:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 81 | TRACE_EVENT(intel_crtc_flip_done, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:81:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:81:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:81:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:81:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:81:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:104:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 104 | TRACE_EVENT(intel_pipe_crc, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/i915/display/intel_display_trace.o] Error 1 make[6]: *** [../scripts/Makefile.build:485: drivers/gpu/drm/i915] Error 2 In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c:30: In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:563: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:38:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 38 | TRACE_EVENT(amdgpu_device_rreg, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c:30: In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:563: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:38:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c:30: In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:563: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:38:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c:30: In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:563: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:38:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c:30: In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:563: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:38:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c:30: In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:563: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:38:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c:30: In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:563: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:57:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 57 | TRACE_EVENT(amdgpu_device_wreg, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c:30: In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:563: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:57:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c:30: In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:563: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:57:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c:30: In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:563: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:57:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c:30: In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:563: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:57:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c:30: In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:563: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:57:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c:30: In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:563: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:76:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 76 | TRACE_EVENT(amdgpu_iv, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c:30: In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:563: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:76:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c:30: In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:563: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:76:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c:30: In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:563: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:76:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c:30: In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:563: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:76:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c:30: In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:563: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:76:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c:30: In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:563: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:116:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 116 | TRACE_EVENT(amdgpu_bo_create, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.o] Error 1 make[7]: *** Waiting for unfinished jobs.... In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:41: In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:734: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:44:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 44 | DECLARE_EVENT_CLASS(amdgpu_dc_reg_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:41: In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:734: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:44:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:41: In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:734: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:44:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:41: In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:734: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:44:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:41: In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:734: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:44:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:41: In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:734: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:44:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:41: In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:734: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:72:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 72 | TRACE_EVENT(amdgpu_dc_performance, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:41: In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:734: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:72:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:41: In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:734: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:72:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:41: In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:734: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:72:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:41: In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:734: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:72:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:41: In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:734: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:72:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:41: In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:734: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:103:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 103 | TRACE_EVENT(amdgpu_dm_connector_atomic_check, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:41: In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:734: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:103:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:41: In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:734: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:103:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:41: In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:734: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:103:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:41: In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:734: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:103:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:41: In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:734: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:103:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:41: In file included from ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:734: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:160:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 160 | TRACE_EVENT(amdgpu_dm_crtc_atomic_check, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.o] Error 1 make[6]: *** [../scripts/Makefile.build:485: drivers/gpu/drm/amd/amdgpu] Error 2 make[5]: *** [../scripts/Makefile.build:485: drivers/gpu/drm] Error 2 make[4]: *** [../scripts/Makefile.build:485: drivers/gpu] Error 2 make[3]: *** [../scripts/Makefile.build:485: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-0/Makefile:1925: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/Makefile:224: __sub-make] Error 2 make: *** [Makefile:224: __sub-make] Error 2 New errors added --- /tmp/tmp.1v0DfGnd15 2024-08-28 09:26:22.322501523 -0700 +++ /tmp/tmp.FqZHjARqLp 2024-08-28 09:26:41.065904678 -0700 @@ -8,2 +8,2 @@ -In file included from ../samples/ftrace/sample-trace-array.c:18: -In file included from ../samples/ftrace/sample-trace-array.h:84: +In file included from ../arch/x86/lib/msr.c:7: +In file included from ../arch/x86/include/asm/msr-trace.h:58: @@ -12,2 +12,2 @@ -../samples/ftrace/sample-trace-array.h:60:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 60 | TRACE_EVENT(sample_event, +../arch/x86/include/asm/msr-trace.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 21 | DECLARE_EVENT_CLASS(msr_trace_class, @@ -15,3 +14,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -24,2 +21,2 @@ -In file included from ../samples/ftrace/sample-trace-array.c:18: -In file included from ../samples/ftrace/sample-trace-array.h:84: +In file included from ../arch/x86/lib/msr.c:7: +In file included from ../arch/x86/include/asm/msr-trace.h:58: @@ -28,4 +25 @@ -../samples/ftrace/sample-trace-array.h:60:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../arch/x86/include/asm/msr-trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' @@ -38,2 +32,2 @@ -In file included from ../samples/ftrace/sample-trace-array.c:18: -In file included from ../samples/ftrace/sample-trace-array.h:84: +In file included from ../arch/x86/lib/msr.c:7: +In file included from ../arch/x86/include/asm/msr-trace.h:58: @@ -42,4 +36 @@ -../samples/ftrace/sample-trace-array.h:60:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../arch/x86/include/asm/msr-trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' @@ -52,2 +43,2 @@ -In file included from ../samples/ftrace/sample-trace-array.c:18: -In file included from ../samples/ftrace/sample-trace-array.h:84: +In file included from ../arch/x86/lib/msr.c:7: +In file included from ../arch/x86/include/asm/msr-trace.h:58: @@ -56,4 +47 @@ -../samples/ftrace/sample-trace-array.h:60:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../arch/x86/include/asm/msr-trace.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -66,2 +54,2 @@ -In file included from ../samples/ftrace/sample-trace-array.c:18: -In file included from ../samples/ftrace/sample-trace-array.h:84: +In file included from ../arch/x86/lib/msr.c:7: +In file included from ../arch/x86/include/asm/msr-trace.h:58: @@ -70,4 +58 @@ -../samples/ftrace/sample-trace-array.h:60:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../arch/x86/include/asm/msr-trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' @@ -80,2 +65,2 @@ -In file included from ../samples/ftrace/sample-trace-array.c:18: -In file included from ../samples/ftrace/sample-trace-array.h:84: +In file included from ../arch/x86/lib/msr.c:7: +In file included from ../arch/x86/include/asm/msr-trace.h:58: @@ -84,4 +69 @@ -../samples/ftrace/sample-trace-array.h:60:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../arch/x86/include/asm/msr-trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' @@ -94,90 +75,0 @@ -In file included from ../samples/ftrace/sample-trace-array.c:18: -In file included from ../samples/ftrace/sample-trace-array.h:84: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../samples/ftrace/sample-trace-array.h:60:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 60 | TRACE_EVENT(sample_event, - | ^ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ - | ^ -In file included from ../samples/ftrace/sample-trace-array.c:18: -In file included from ../samples/ftrace/sample-trace-array.h:84: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../samples/ftrace/sample-trace-array.h:60:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ - | ^ -In file included from ../samples/ftrace/sample-trace-array.c:18: -In file included from ../samples/ftrace/sample-trace-array.h:84: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../samples/ftrace/sample-trace-array.h:60:1: error: use of undeclared identifier 'bpf_trace_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ - | ^ -In file included from ../samples/ftrace/sample-trace-array.c:18: -In file included from ../samples/ftrace/sample-trace-array.h:84: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../samples/ftrace/sample-trace-array.h:60:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ - | ^ -In file included from ../samples/ftrace/sample-trace-array.c:18: -In file included from ../samples/ftrace/sample-trace-array.h:84: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../samples/ftrace/sample-trace-array.h:60:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ - | ^ -In file included from ../samples/ftrace/sample-trace-array.c:18: -In file included from ../samples/ftrace/sample-trace-array.h:84: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../samples/ftrace/sample-trace-array.h:60:1: error: use of undeclared identifier 'bpf_trace_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ - | ^ -12 errors generated. -make[5]: *** [../scripts/Makefile.build:244: samples/ftrace/sample-trace-array.o] Error 1 -make[4]: *** [../scripts/Makefile.build:485: samples/ftrace] Error 2 -make[4]: *** Waiting for unfinished jobs.... @@ -186,2 +78,2 @@ -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: @@ -191,2 +83,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -194,2 +86,2 @@ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -199,2 +91,2 @@ -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: @@ -202,2 +94,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -205,2 +97,2 @@ -../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -210,2 +102,2 @@ -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: @@ -213,2 +105,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -216,2 +108,2 @@ -../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -221,2 +113,2 @@ -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: @@ -224,2 +116,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -227,2 +119,2 @@ -../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -232,2 +124,2 @@ -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: @@ -235,2 +127,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -238,2 +130,2 @@ -../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -243,2 +135,2 @@ -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: @@ -246,2 +138,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -249,2 +141,2 @@ -../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -320 +212 @@ -12 errors generated. +18 errors generated. @@ -412,2 +304,2 @@ -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: @@ -420,2 +312,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -423,2 +315,2 @@ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -428,2 +320,2 @@ -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: @@ -434,2 +326,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -437,2 +329,2 @@ -../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -442,3 +334,3 @@ -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../arch/x86/entry/vsyscall/vsyscall_trace.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../arch/x86/entry/vsyscall/vsyscall_trace.h:10:1: error: use of undeclared identifier 'trace_event_guard' @@ -448,2 +340,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -451,2 +343,2 @@ -../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -456,2 +348,2 @@ -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: @@ -462,2 +354,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -465,2 +357,2 @@ -../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ +../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -470,2 +362,2 @@ -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: @@ -476,2 +368,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -479,2 +371,2 @@ -../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ +../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -484,94 +376,3 @@ -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../arch/x86/entry/vsyscall/vsyscall_trace.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ - | ^ -12 errors generated. -make[6]: *** [../scripts/Makefile.build:244: arch/x86/entry/vsyscall/vsyscall_64.o] Error 1 -make[5]: *** [../scripts/Makefile.build:485: arch/x86/entry/vsyscall] Error 2 -make[4]: *** [../scripts/Makefile.build:485: arch/x86/entry] Error 2 -make[4]: *** Waiting for unfinished jobs.... -In file included from ../sound/firewire/amdtp-stream.c:27: -In file included from ../sound/firewire/amdtp-stream-trace.h:81: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../sound/firewire/amdtp-stream-trace.h:16:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 16 | TRACE_EVENT(amdtp_packet, - | ^ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ - | ^ -In file included from ../sound/firewire/amdtp-stream.c:27: -In file included from ../sound/firewire/amdtp-stream-trace.h:81: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../sound/firewire/amdtp-stream-trace.h:16:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ - | ^ -In file included from ../sound/firewire/amdtp-stream.c:27: -In file included from ../sound/firewire/amdtp-stream-trace.h:81: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../sound/firewire/amdtp-stream-trace.h:16:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ - | ^ -In file included from ../sound/firewire/amdtp-stream.c:27: -In file included from ../sound/firewire/amdtp-stream-trace.h:81: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../sound/firewire/amdtp-stream-trace.h:16:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ - | ^ -In file included from ../sound/firewire/amdtp-stream.c:27: -In file included from ../sound/firewire/amdtp-stream-trace.h:81: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../sound/firewire/amdtp-stream-trace.h:16:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ - | ^ -In file included from ../sound/firewire/amdtp-stream.c:27: -In file included from ../sound/firewire/amdtp-stream-trace.h:81: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../sound/firewire/amdtp-stream-trace.h:16:1: error: use of undeclared identifier 'trace_event_guard' +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../arch/x86/entry/vsyscall/vsyscall_trace.h:10:1: error: use of undeclared identifier 'trace_event_guard' @@ -581,2 +382,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -584,2 +385,2 @@ -../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -587,2 +388,2 @@ -In file included from ../sound/firewire/amdtp-stream.c:27: -In file included from ../sound/firewire/amdtp-stream-trace.h:81: +In file included from ../arch/x86/entry/vsyscall/vsyscall_64.c:43: +In file included from ../arch/x86/entry/vsyscall/vsyscall_trace.h:30: @@ -591,2 +392,2 @@ -../sound/firewire/amdtp-stream-trace.h:16:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 16 | TRACE_EVENT(amdtp_packet, +../arch/x86/entry/vsyscall/vsyscall_trace.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 10 | TRACE_EVENT(emulate_vsyscall, @@ -603,2 +404,2 @@ -In file included from ../sound/firewire/amdtp-stream.c:27: -In file included from ../sound/firewire/amdtp-stream-trace.h:81: +In file included from ../arch/x86/entry/vsyscall/vsyscall_64.c:43: +In file included from ../arch/x86/entry/vsyscall/vsyscall_trace.h:30: @@ -607 +408 @@ -../sound/firewire/amdtp-stream-trace.h:16:1: error: use of undeclared identifier 'preempt_notrace' +../arch/x86/entry/vsyscall/vsyscall_trace.h:10:1: error: use of undeclared identifier 'preempt_notrace' @@ -617,2 +418,2 @@ -In file included from ../sound/firewire/amdtp-stream.c:27: -In file included from ../sound/firewire/amdtp-stream-trace.h:81: +In file included from ../arch/x86/entry/vsyscall/vsyscall_64.c:43: +In file included from ../arch/x86/entry/vsyscall/vsyscall_trace.h:30: @@ -621 +422 @@ -../sound/firewire/amdtp-stream-trace.h:16:1: error: use of undeclared identifier 'bpf_trace_guard' +../arch/x86/entry/vsyscall/vsyscall_trace.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' @@ -631,2 +432,2 @@ -In file included from ../sound/firewire/amdtp-stream.c:27: -In file included from ../sound/firewire/amdtp-stream-trace.h:81: +In file included from ../arch/x86/entry/vsyscall/vsyscall_64.c:43: +In file included from ../arch/x86/entry/vsyscall/vsyscall_trace.h:30: @@ -635 +436 @@ -../sound/firewire/amdtp-stream-trace.h:16:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../arch/x86/entry/vsyscall/vsyscall_trace.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -645,2 +446,2 @@ -In file included from ../sound/firewire/amdtp-stream.c:27: -In file included from ../sound/firewire/amdtp-stream-trace.h:81: +In file included from ../arch/x86/entry/vsyscall/vsyscall_64.c:43: +In file included from ../arch/x86/entry/vsyscall/vsyscall_trace.h:30: @@ -649 +450 @@ -../sound/firewire/amdtp-stream-trace.h:16:1: error: use of undeclared identifier 'preempt_notrace' +../arch/x86/entry/vsyscall/vsyscall_trace.h:10:1: error: use of undeclared identifier 'preempt_notrace' @@ -659,2 +460,2 @@ -In file included from ../sound/firewire/amdtp-stream.c:27: -In file included from ../sound/firewire/amdtp-stream-trace.h:81: +In file included from ../arch/x86/entry/vsyscall/vsyscall_64.c:43: +In file included from ../arch/x86/entry/vsyscall/vsyscall_trace.h:30: @@ -663 +464 @@ -../sound/firewire/amdtp-stream-trace.h:16:1: error: use of undeclared identifier 'bpf_trace_guard' +../arch/x86/entry/vsyscall/vsyscall_trace.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' @@ -673,3 +474,5 @@ -12 errors generated. -make[5]: *** [../scripts/Makefile.build:244: sound/firewire/amdtp-stream.o] Error 1 -make[5]: *** Waiting for unfinished jobs.... +18 errors generated. +make[6]: *** [../scripts/Makefile.build:244: arch/x86/entry/vsyscall/vsyscall_64.o] Error 1 +make[5]: *** [../scripts/Makefile.build:485: arch/x86/entry/vsyscall] Error 2 +make[4]: *** [../scripts/Makefile.build:485: arch/x86/entry] Error 2 +make[4]: *** Waiting for unfinished jobs.... @@ -987 +790,262 @@ -make[3]: *** [../scripts/Makefile.build:485: samples] Error 2 +make[4]: *** Waiting for unfinished jobs.... +In file included from ../sound/firewire/amdtp-stream.c:27: +In file included from ../sound/firewire/amdtp-stream-trace.h:81: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../sound/firewire/amdtp-stream-trace.h:16:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 16 | TRACE_EVENT(amdtp_packet, + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../sound/firewire/amdtp-stream.c:27: +In file included from ../sound/firewire/amdtp-stream-trace.h:81: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../sound/firewire/amdtp-stream-trace.h:16:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../sound/firewire/amdtp-stream.c:27: +In file included from ../sound/firewire/amdtp-stream-trace.h:81: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../sound/firewire/amdtp-stream-trace.h:16:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../sound/firewire/amdtp-stream.c:27: +In file included from ../sound/firewire/amdtp-stream-trace.h:81: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../sound/firewire/amdtp-stream-trace.h:16:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../sound/firewire/amdtp-stream.c:27: +In file included from ../sound/firewire/amdtp-stream-trace.h:81: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../sound/firewire/amdtp-stream-trace.h:16:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../sound/firewire/amdtp-stream.c:27: +In file included from ../sound/firewire/amdtp-stream-trace.h:81: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../sound/firewire/amdtp-stream-trace.h:16:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../sound/firewire/amdtp-stream.c:27: +In file included from ../sound/firewire/amdtp-stream-trace.h:81: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../sound/firewire/amdtp-stream-trace.h:16:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 16 | TRACE_EVENT(amdtp_packet, + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../sound/firewire/amdtp-stream.c:27: +In file included from ../sound/firewire/amdtp-stream-trace.h:81: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../sound/firewire/amdtp-stream-trace.h:16:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../sound/firewire/amdtp-stream.c:27: +In file included from ../sound/firewire/amdtp-stream-trace.h:81: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../sound/firewire/amdtp-stream-trace.h:16:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../sound/firewire/amdtp-stream.c:27: +In file included from ../sound/firewire/amdtp-stream-trace.h:81: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../sound/firewire/amdtp-stream-trace.h:16:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../sound/firewire/amdtp-stream.c:27: +In file included from ../sound/firewire/amdtp-stream-trace.h:81: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../sound/firewire/amdtp-stream-trace.h:16:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../sound/firewire/amdtp-stream.c:27: +In file included from ../sound/firewire/amdtp-stream-trace.h:81: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../sound/firewire/amdtp-stream-trace.h:16:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../sound/firewire/amdtp-stream.c:27: +In file included from ../sound/firewire/amdtp-stream-trace.h:81: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../sound/firewire/amdtp-stream-trace.h:16:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 16 | TRACE_EVENT(amdtp_packet, + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../sound/firewire/amdtp-stream.c:27: +In file included from ../sound/firewire/amdtp-stream-trace.h:81: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../sound/firewire/amdtp-stream-trace.h:16:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../sound/firewire/amdtp-stream.c:27: +In file included from ../sound/firewire/amdtp-stream-trace.h:81: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../sound/firewire/amdtp-stream-trace.h:16:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../sound/firewire/amdtp-stream.c:27: +In file included from ../sound/firewire/amdtp-stream-trace.h:81: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../sound/firewire/amdtp-stream-trace.h:16:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../sound/firewire/amdtp-stream.c:27: +In file included from ../sound/firewire/amdtp-stream-trace.h:81: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../sound/firewire/amdtp-stream-trace.h:16:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../sound/firewire/amdtp-stream.c:27: +In file included from ../sound/firewire/amdtp-stream-trace.h:81: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../sound/firewire/amdtp-stream-trace.h:16:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +18 errors generated. +make[5]: *** [../scripts/Makefile.build:244: sound/firewire/amdtp-stream.o] Error 1 +make[5]: *** Waiting for unfinished jobs.... @@ -1266,2 +1330,2 @@ -In file included from ../drivers/pwm/core.c:27: -In file included from ../include/trace/events/pwm.h:58: +In file included from ../samples/ftrace/sample-trace-array.c:18: +In file included from ../samples/ftrace/sample-trace-array.h:84: @@ -1270,2 +1334,2 @@ -../include/trace/events/pwm.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 11 | DECLARE_EVENT_CLASS(pwm, +../samples/ftrace/sample-trace-array.h:60:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 60 | TRACE_EVENT(sample_event, @@ -1272,0 +1337,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -1279,2 +1346,2 @@ -In file included from ../drivers/pwm/core.c:27: -In file included from ../include/trace/events/pwm.h:58: +In file included from ../samples/ftrace/sample-trace-array.c:18: +In file included from ../samples/ftrace/sample-trace-array.h:84: @@ -1283 +1350,4 @@ -../include/trace/events/pwm.h:11:1: error: use of undeclared identifier 'preempt_notrace' +../samples/ftrace/sample-trace-array.h:60:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -1290,2 +1360,2 @@ -In file included from ../drivers/pwm/core.c:27: -In file included from ../include/trace/events/pwm.h:58: +In file included from ../samples/ftrace/sample-trace-array.c:18: +In file included from ../samples/ftrace/sample-trace-array.h:84: @@ -1294 +1364,4 @@ -../include/trace/events/pwm.h:11:1: error: use of undeclared identifier 'trace_event_guard' +../samples/ftrace/sample-trace-array.h:60:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -1301,2 +1374,2 @@ -In file included from ../drivers/pwm/core.c:27: -In file included from ../include/trace/events/pwm.h:58: +In file included from ../samples/ftrace/sample-trace-array.c:18: +In file included from ../samples/ftrace/sample-trace-array.h:84: @@ -1305 +1378,4 @@ -../include/trace/events/pwm.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../samples/ftrace/sample-trace-array.h:60:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -1312,2 +1388,2 @@ -In file included from ../drivers/pwm/core.c:27: -In file included from ../include/trace/events/pwm.h:58: +In file included from ../samples/ftrace/sample-trace-array.c:18: +In file included from ../samples/ftrace/sample-trace-array.h:84: @@ -1316 +1392,4 @@ -../include/trace/events/pwm.h:11:1: error: use of undeclared identifier 'preempt_notrace' +../samples/ftrace/sample-trace-array.h:60:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -1323,2 +1402,2 @@ -In file included from ../drivers/pwm/core.c:27: -In file included from ../include/trace/events/pwm.h:58: +In file included from ../samples/ftrace/sample-trace-array.c:18: +In file included from ../samples/ftrace/sample-trace-array.h:84: @@ -1327 +1406,4 @@ -../include/trace/events/pwm.h:11:1: error: use of undeclared identifier 'trace_event_guard' +../samples/ftrace/sample-trace-array.h:60:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -1334,2 +1416,88 @@ -In file included from ../drivers/pwm/core.c:27: -In file included from ../include/trace/events/pwm.h:58: +In file included from ../samples/ftrace/sample-trace-array.c:18: +In file included from ../samples/ftrace/sample-trace-array.h:84: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../samples/ftrace/sample-trace-array.h:60:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 60 | TRACE_EVENT(sample_event, + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../samples/ftrace/sample-trace-array.c:18: +In file included from ../samples/ftrace/sample-trace-array.h:84: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../samples/ftrace/sample-trace-array.h:60:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../samples/ftrace/sample-trace-array.c:18: +In file included from ../samples/ftrace/sample-trace-array.h:84: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../samples/ftrace/sample-trace-array.h:60:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../samples/ftrace/sample-trace-array.c:18: +In file included from ../samples/ftrace/sample-trace-array.h:84: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../samples/ftrace/sample-trace-array.h:60:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../samples/ftrace/sample-trace-array.c:18: +In file included from ../samples/ftrace/sample-trace-array.h:84: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../samples/ftrace/sample-trace-array.h:60:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../samples/ftrace/sample-trace-array.c:18: +In file included from ../samples/ftrace/sample-trace-array.h:84: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../samples/ftrace/sample-trace-array.h:60:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../samples/ftrace/sample-trace-array.c:18: +In file included from ../samples/ftrace/sample-trace-array.h:84: @@ -1338,2 +1506,2 @@ -../include/trace/events/pwm.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 11 | DECLARE_EVENT_CLASS(pwm, +../samples/ftrace/sample-trace-array.h:60:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 60 | TRACE_EVENT(sample_event, @@ -1340,0 +1509,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -1347,2 +1518,2 @@ -In file included from ../drivers/pwm/core.c:27: -In file included from ../include/trace/events/pwm.h:58: +In file included from ../samples/ftrace/sample-trace-array.c:18: +In file included from ../samples/ftrace/sample-trace-array.h:84: @@ -1351 +1522,4 @@ -../include/trace/events/pwm.h:11:1: error: use of undeclared identifier 'preempt_notrace' +../samples/ftrace/sample-trace-array.h:60:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -1358,2 +1532,2 @@ -In file included from ../drivers/pwm/core.c:27: -In file included from ../include/trace/events/pwm.h:58: +In file included from ../samples/ftrace/sample-trace-array.c:18: +In file included from ../samples/ftrace/sample-trace-array.h:84: @@ -1362 +1536,4 @@ -../include/trace/events/pwm.h:11:1: error: use of undeclared identifier 'bpf_trace_guard' +../samples/ftrace/sample-trace-array.h:60:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -1369,2 +1546,2 @@ -In file included from ../drivers/pwm/core.c:27: -In file included from ../include/trace/events/pwm.h:58: +In file included from ../samples/ftrace/sample-trace-array.c:18: +In file included from ../samples/ftrace/sample-trace-array.h:84: @@ -1373 +1550,4 @@ -../include/trace/events/pwm.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../samples/ftrace/sample-trace-array.h:60:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -1380,2 +1560,2 @@ -In file included from ../drivers/pwm/core.c:27: -In file included from ../include/trace/events/pwm.h:58: +In file included from ../samples/ftrace/sample-trace-array.c:18: +In file included from ../samples/ftrace/sample-trace-array.h:84: @@ -1384 +1564,4 @@ -../include/trace/events/pwm.h:11:1: error: use of undeclared identifier 'preempt_notrace' +../samples/ftrace/sample-trace-array.h:60:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -1391,2 +1574,2 @@ -In file included from ../drivers/pwm/core.c:27: -In file included from ../include/trace/events/pwm.h:58: +In file included from ../samples/ftrace/sample-trace-array.c:18: +In file included from ../samples/ftrace/sample-trace-array.h:84: @@ -1395 +1578,4 @@ -../include/trace/events/pwm.h:11:1: error: use of undeclared identifier 'bpf_trace_guard' +../samples/ftrace/sample-trace-array.h:60:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -1402,6 +1588,6 @@ -12 errors generated. -make[5]: *** [../scripts/Makefile.build:244: drivers/pwm/core.o] Error 1 -make[4]: *** [../scripts/Makefile.build:485: drivers/pwm] Error 2 -make[4]: *** Waiting for unfinished jobs.... -In file included from ../sound/core/pcm_native.c:32: -In file included from ../sound/core/pcm_param_trace.h:143: +18 errors generated. +make[5]: *** [../scripts/Makefile.build:244: samples/ftrace/sample-trace-array.o] Error 1 +make[4]: *** [../scripts/Makefile.build:485: samples/ftrace] Error 2 +make[3]: *** [../scripts/Makefile.build:485: samples] Error 2 +In file included from ../sound/core/pcm_lib.c:25: +In file included from ../sound/core/pcm_trace.h:149: @@ -1410,2 +1596,2 @@ -../sound/core/pcm_param_trace.h:28:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 28 | TRACE_EVENT(hw_mask_param, +../sound/core/pcm_trace.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 11 | TRACE_EVENT(hwptr, @@ -1422,2 +1608,2 @@ -In file included from ../sound/core/pcm_native.c:32: -In file included from ../sound/core/pcm_param_trace.h:143: +In file included from ../sound/core/pcm_lib.c:25: +In file included from ../sound/core/pcm_trace.h:149: @@ -1426 +1612 @@ -../sound/core/pcm_param_trace.h:28:1: error: use of undeclared identifier 'preempt_notrace' +../sound/core/pcm_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' @@ -1436,2 +1622,2 @@ -In file included from ../sound/core/pcm_native.c:32: -In file included from ../sound/core/pcm_param_trace.h:143: +In file included from ../sound/core/pcm_lib.c:25: +In file included from ../sound/core/pcm_trace.h:149: @@ -1440 +1626 @@ -../sound/core/pcm_param_trace.h:28:1: error: use of undeclared identifier 'trace_event_guard' +../sound/core/pcm_trace.h:11:1: error: use of undeclared identifier 'trace_event_guard' @@ -1450,2 +1636,2 @@ -In file included from ../sound/core/pcm_native.c:32: -In file included from ../sound/core/pcm_param_trace.h:143: +In file included from ../sound/core/pcm_lib.c:25: +In file included from ../sound/core/pcm_trace.h:149: @@ -1454 +1640 @@ -../sound/core/pcm_param_trace.h:28:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../sound/core/pcm_trace.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -1464,2 +1650,2 @@ -In file included from ../sound/core/pcm_native.c:32: -In file included from ../sound/core/pcm_param_trace.h:143: +In file included from ../sound/core/pcm_lib.c:25: +In file included from ../sound/core/pcm_trace.h:149: @@ -1468 +1654 @@ -../sound/core/pcm_param_trace.h:28:1: error: use of undeclared identifier 'preempt_notrace' +../sound/core/pcm_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' @@ -1478,2 +1664,2 @@ -In file included from ../sound/core/pcm_native.c:32: -In file included from ../sound/core/pcm_param_trace.h:143: +In file included from ../sound/core/pcm_lib.c:25: +In file included from ../sound/core/pcm_trace.h:149: @@ -1482 +1668 @@ -../sound/core/pcm_param_trace.h:28:1: error: use of undeclared identifier 'trace_event_guard' +../sound/core/pcm_trace.h:11:1: error: use of undeclared identifier 'trace_event_guard' @@ -1492,2 +1678,2 @@ -In file included from ../sound/core/pcm_native.c:32: -In file included from ../sound/core/pcm_param_trace.h:143: +In file included from ../sound/core/pcm_lib.c:25: +In file included from ../sound/core/pcm_trace.h:149: @@ -1496,2 +1682,2 @@ -../sound/core/pcm_param_trace.h:68:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 68 | TRACE_EVENT(hw_interval_param, +../sound/core/pcm_trace.h:50:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 50 | TRACE_EVENT(xrun, @@ -1508,2 +1694,2 @@ -In file included from ../sound/core/pcm_native.c:32: -In file included from ../sound/core/pcm_param_trace.h:143: +In file included from ../sound/core/pcm_lib.c:25: +In file included from ../sound/core/pcm_trace.h:149: @@ -1512 +1698 @@ -../sound/core/pcm_param_trace.h:68:1: error: use of undeclared identifier 'preempt_notrace' +../sound/core/pcm_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' @@ -1522,2 +1708,2 @@ -In file included from ../sound/core/pcm_native.c:32: -In file included from ../sound/core/pcm_param_trace.h:143: +In file included from ../sound/core/pcm_lib.c:25: +In file included from ../sound/core/pcm_trace.h:149: @@ -1526 +1712 @@ -../sound/core/pcm_param_trace.h:68:1: error: use of undeclared identifier 'trace_event_guard' +../sound/core/pcm_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' @@ -1536,2 +1722,2 @@ -In file included from ../sound/core/pcm_native.c:32: -In file included from ../sound/core/pcm_param_trace.h:143: +In file included from ../sound/core/pcm_lib.c:25: +In file included from ../sound/core/pcm_trace.h:149: @@ -1540 +1726 @@ -../sound/core/pcm_param_trace.h:68:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../sound/core/pcm_trace.h:50:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -1550,2 +1736,2 @@ -In file included from ../sound/core/pcm_native.c:32: -In file included from ../sound/core/pcm_param_trace.h:143: +In file included from ../sound/core/pcm_lib.c:25: +In file included from ../sound/core/pcm_trace.h:149: @@ -1554 +1740 @@ -../sound/core/pcm_param_trace.h:68:1: error: use of undeclared identifier 'preempt_notrace' +../sound/core/pcm_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' @@ -1564,2 +1750,2 @@ -In file included from ../sound/core/pcm_native.c:32: -In file included from ../sound/core/pcm_param_trace.h:143: +In file included from ../sound/core/pcm_lib.c:25: +In file included from ../sound/core/pcm_trace.h:149: @@ -1568 +1754 @@ -../sound/core/pcm_param_trace.h:68:1: error: use of undeclared identifier 'trace_event_guard' +../sound/core/pcm_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' @@ -1578,6 +1764,6 @@ -In file included from ../sound/core/pcm_native.c:32: -In file included from ../sound/core/pcm_param_trace.h:143: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../sound/core/pcm_param_trace.h:28:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 28 | TRACE_EVENT(hw_mask_param, +In file included from ../sound/core/pcm_lib.c:25: +In file included from ../sound/core/pcm_trace.h:149: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../sound/core/pcm_trace.h:83:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 83 | TRACE_EVENT(hw_ptr_error, @@ -1588,2 +1774,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -1591,2 +1777,2 @@ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -1594,5 +1780,5 @@ -In file included from ../sound/core/pcm_native.c:32: -In file included from ../sound/core/pcm_param_trace.h:143: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../sound/core/pcm_param_trace.h:28:1: error: use of undeclared identifier 'preempt_notrace' +In file included from ../sound/core/pcm_lib.c:25: +In file included from ../sound/core/pcm_trace.h:149: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../sound/core/pcm_trace.h:83:1: error: use of undeclared identifier 'preempt_notrace' @@ -1602,2 +1788,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -1605,2 +1791,2 @@ -../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -1608,5 +1794,5 @@ -In file included from ../sound/core/pcm_native.c:32: -In file included from ../sound/core/pcm_param_trace.h:143: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../sound/core/pcm_param_trace.h:28:1: error: use of undeclared identifier 'bpf_trace_guard' +In file included from ../sound/core/pcm_lib.c:25: +In file included from ../sound/core/pcm_trace.h:149: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../sound/core/pcm_trace.h:83:1: error: use of undeclared identifier 'trace_event_guard' @@ -1616,2 +1802,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -1619,2 +1805,2 @@ -../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -1622,5 +1808,5 @@ -In file included from ../sound/core/pcm_native.c:32: -In file included from ../sound/core/pcm_param_trace.h:143: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../sound/core/pcm_param_trace.h:28:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +In file included from ../sound/core/pcm_lib.c:25: +In file included from ../sound/core/pcm_trace.h:149: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../sound/core/pcm_trace.h:83:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -1630,2 +1816,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -1633,2 +1819,2 @@ -../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ +../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -1636,5 +1822,5 @@ -In file included from ../sound/core/pcm_native.c:32: -In file included from ../sound/core/pcm_param_trace.h:143: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../sound/core/pcm_param_trace.h:28:1: error: use of undeclared identifier 'preempt_notrace' +In file included from ../sound/core/pcm_lib.c:25: +In file included from ../sound/core/pcm_trace.h:149: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../sound/core/pcm_trace.h:83:1: error: use of undeclared identifier 'preempt_notrace' @@ -1644,2 +1830,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -1647,2 +1833,2 @@ -../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ +../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -1650,5 +1836,5 @@ -In file included from ../sound/core/pcm_native.c:32: -In file included from ../sound/core/pcm_param_trace.h:143: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../sound/core/pcm_param_trace.h:28:1: error: use of undeclared identifier 'bpf_trace_guard' +In file included from ../sound/core/pcm_lib.c:25: +In file included from ../sound/core/pcm_trace.h:149: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../sound/core/pcm_trace.h:83:1: error: use of undeclared identifier 'trace_event_guard' @@ -1658,2 +1844,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -1661,2 +1847,2 @@ -../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ +../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -1664,6 +1850,6 @@ -In file included from ../sound/core/pcm_native.c:32: -In file included from ../sound/core/pcm_param_trace.h:143: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../sound/core/pcm_param_trace.h:68:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 68 | TRACE_EVENT(hw_interval_param, +In file included from ../sound/core/pcm_lib.c:25: +In file included from ../sound/core/pcm_trace.h:149: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../sound/core/pcm_trace.h:106:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 106 | TRACE_EVENT(applptr, @@ -1674,2 +1860,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -1677,2 +1863,2 @@ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -1682 +1868 @@ -make[5]: *** [../scripts/Makefile.build:244: sound/core/pcm_native.o] Error 1 +make[5]: *** [../scripts/Makefile.build:244: sound/core/pcm_lib.o] Error 1 @@ -1684,2 +1870,2 @@ -In file included from ../arch/x86/mm/fault.c:42: -In file included from ../arch/x86/include/asm/trace/exceptions.h:54: +In file included from ../sound/core/pcm_native.c:32: +In file included from ../sound/core/pcm_param_trace.h:143: @@ -1688,2 +1874,2 @@ -../arch/x86/include/asm/trace/exceptions.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 14 | DECLARE_EVENT_CLASS(x86_exceptions, +../sound/core/pcm_param_trace.h:28:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 28 | TRACE_EVENT(hw_mask_param, @@ -1690,0 +1877,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -1697,2 +1886,2 @@ -In file included from ../arch/x86/mm/fault.c:42: -In file included from ../arch/x86/include/asm/trace/exceptions.h:54: +In file included from ../sound/core/pcm_native.c:32: +In file included from ../sound/core/pcm_param_trace.h:143: @@ -1701 +1890,4 @@ -../arch/x86/include/asm/trace/exceptions.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../sound/core/pcm_param_trace.h:28:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -1708,2 +1900,2 @@ -In file included from ../arch/x86/mm/fault.c:42: -In file included from ../arch/x86/include/asm/trace/exceptions.h:54: +In file included from ../sound/core/pcm_native.c:32: +In file included from ../sound/core/pcm_param_trace.h:143: @@ -1712 +1904,4 @@ -../arch/x86/include/asm/trace/exceptions.h:14:1: error: use of undeclared identifier 'trace_event_guard' +../sound/core/pcm_param_trace.h:28:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -1719,2 +1914,2 @@ -In file included from ../arch/x86/mm/fault.c:42: -In file included from ../arch/x86/include/asm/trace/exceptions.h:54: +In file included from ../sound/core/pcm_native.c:32: +In file included from ../sound/core/pcm_param_trace.h:143: @@ -1723 +1918,4 @@ -../arch/x86/include/asm/trace/exceptions.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../sound/core/pcm_param_trace.h:28:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -1730,2 +1928,2 @@ -In file included from ../arch/x86/mm/fault.c:42: -In file included from ../arch/x86/include/asm/trace/exceptions.h:54: +In file included from ../sound/core/pcm_native.c:32: +In file included from ../sound/core/pcm_param_trace.h:143: @@ -1734 +1932,4 @@ -../arch/x86/include/asm/trace/exceptions.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../sound/core/pcm_param_trace.h:28:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -1741,2 +1942,2 @@ -In file included from ../arch/x86/mm/fault.c:42: -In file included from ../arch/x86/include/asm/trace/exceptions.h:54: +In file included from ../sound/core/pcm_native.c:32: +In file included from ../sound/core/pcm_param_trace.h:143: @@ -1745 +1946,4 @@ -../arch/x86/include/asm/trace/exceptions.h:14:1: error: use of undeclared identifier 'trace_event_guard' +../sound/core/pcm_param_trace.h:28:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -1752,73 +1956,2 @@ -In file included from ../arch/x86/mm/fault.c:42: -In file included from ../arch/x86/include/asm/trace/exceptions.h:54: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../arch/x86/include/asm/trace/exceptions.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 14 | DECLARE_EVENT_CLASS(x86_exceptions, - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ - | ^ -In file included from ../arch/x86/mm/fault.c:42: -In file included from ../arch/x86/include/asm/trace/exceptions.h:54: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../arch/x86/include/asm/trace/exceptions.h:14:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ - | ^ -In file included from ../arch/x86/mm/fault.c:42: -In file included from ../arch/x86/include/asm/trace/exceptions.h:54: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../arch/x86/include/asm/trace/exceptions.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ - | ^ -In file included from ../arch/x86/mm/fault.c:42: -In file included from ../arch/x86/include/asm/trace/exceptions.h:54: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../arch/x86/include/asm/trace/exceptions.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ - | ^ -In file included from ../arch/x86/mm/fault.c:42: -In file included from ../arch/x86/include/asm/trace/exceptions.h:54: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../arch/x86/include/asm/trace/exceptions.h:14:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ - | ^ -In file included from ../arch/x86/mm/fault.c:42: -In file included from ../arch/x86/include/asm/trace/exceptions.h:54: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../arch/x86/include/asm/trace/exceptions.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ - | ^ -12 errors generated. -make[5]: *** [../scripts/Makefile.build:244: arch/x86/mm/fault.o] Error 1 -make[4]: *** [../scripts/Makefile.build:485: arch/x86/mm] Error 2 -In file included from ../sound/core/pcm_lib.c:25: -In file included from ../sound/core/pcm_trace.h:149: +In file included from ../sound/core/pcm_native.c:32: +In file included from ../sound/core/pcm_param_trace.h:143: @@ -1827,2 +1960,2 @@ -../sound/core/pcm_trace.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 11 | TRACE_EVENT(hwptr, +../sound/core/pcm_param_trace.h:68:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 68 | TRACE_EVENT(hw_interval_param, @@ -1839,2 +1972,2 @@ -In file included from ../sound/core/pcm_lib.c:25: -In file included from ../sound/core/pcm_trace.h:149: +In file included from ../sound/core/pcm_native.c:32: +In file included from ../sound/core/pcm_param_trace.h:143: @@ -1843 +1976 @@ -../sound/core/pcm_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' +../sound/core/pcm_param_trace.h:68:1: error: use of undeclared identifier 'preempt_notrace' @@ -1853,2 +1986,2 @@ -In file included from ../sound/core/pcm_lib.c:25: -In file included from ../sound/core/pcm_trace.h:149: +In file included from ../sound/core/pcm_native.c:32: +In file included from ../sound/core/pcm_param_trace.h:143: @@ -1857 +1990 @@ -../sound/core/pcm_trace.h:11:1: error: use of undeclared identifier 'trace_event_guard' +../sound/core/pcm_param_trace.h:68:1: error: use of undeclared identifier 'trace_event_guard' @@ -1867,2 +2000,2 @@ -In file included from ../sound/core/pcm_lib.c:25: -In file included from ../sound/core/pcm_trace.h:149: +In file included from ../sound/core/pcm_native.c:32: +In file included from ../sound/core/pcm_param_trace.h:143: @@ -1871 +2004 @@ -../sound/core/pcm_trace.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../sound/core/pcm_param_trace.h:68:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -1881,2 +2014,2 @@ -In file included from ../sound/core/pcm_lib.c:25: -In file included from ../sound/core/pcm_trace.h:149: +In file included from ../sound/core/pcm_native.c:32: +In file included from ../sound/core/pcm_param_trace.h:143: @@ -1885 +2018 @@ -../sound/core/pcm_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' +../sound/core/pcm_param_trace.h:68:1: error: use of undeclared identifier 'preempt_notrace' @@ -1895,2 +2028,2 @@ -In file included from ../sound/core/pcm_lib.c:25: -In file included from ../sound/core/pcm_trace.h:149: +In file included from ../sound/core/pcm_native.c:32: +In file included from ../sound/core/pcm_param_trace.h:143: @@ -1899 +2032 @@ -../sound/core/pcm_trace.h:11:1: error: use of undeclared identifier 'trace_event_guard' +../sound/core/pcm_param_trace.h:68:1: error: use of undeclared identifier 'trace_event_guard' @@ -1909,2 +2042,109 @@ -In file included from ../sound/core/pcm_lib.c:25: -In file included from ../sound/core/pcm_trace.h:149: +In file included from ../sound/core/pcm_native.c:32: +In file included from ../sound/core/pcm_param_trace.h:143: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../sound/core/pcm_param_trace.h:28:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 28 | TRACE_EVENT(hw_mask_param, + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../sound/core/pcm_native.c:32: +In file included from ../sound/core/pcm_param_trace.h:143: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../sound/core/pcm_param_trace.h:28:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../sound/core/pcm_native.c:32: +In file included from ../sound/core/pcm_param_trace.h:143: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../sound/core/pcm_param_trace.h:28:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../sound/core/pcm_native.c:32: +In file included from ../sound/core/pcm_param_trace.h:143: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../sound/core/pcm_param_trace.h:28:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../sound/core/pcm_native.c:32: +In file included from ../sound/core/pcm_param_trace.h:143: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../sound/core/pcm_param_trace.h:28:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../sound/core/pcm_native.c:32: +In file included from ../sound/core/pcm_param_trace.h:143: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../sound/core/pcm_param_trace.h:28:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../sound/core/pcm_native.c:32: +In file included from ../sound/core/pcm_param_trace.h:143: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../sound/core/pcm_param_trace.h:68:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 68 | TRACE_EVENT(hw_interval_param, + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. +make[5]: *** [../scripts/Makefile.build:244: sound/core/pcm_native.o] Error 1 +make[4]: *** [../scripts/Makefile.build:485: sound/core] Error 2 +make[4]: *** Waiting for unfinished jobs.... +In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: +In file included from ../include/trace/events/gpu_mem.h:57: @@ -1913,2 +2153,2 @@ -../sound/core/pcm_trace.h:50:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 50 | TRACE_EVENT(xrun, +../include/trace/events/gpu_mem.h:30:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 30 | TRACE_EVENT(gpu_mem_total, @@ -1925,2 +2165,2 @@ -In file included from ../sound/core/pcm_lib.c:25: -In file included from ../sound/core/pcm_trace.h:149: +In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: +In file included from ../include/trace/events/gpu_mem.h:57: @@ -1929 +2169 @@ -../sound/core/pcm_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/gpu_mem.h:30:1: error: use of undeclared identifier 'preempt_notrace' @@ -1939,2 +2179,2 @@ -In file included from ../sound/core/pcm_lib.c:25: -In file included from ../sound/core/pcm_trace.h:149: +In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: +In file included from ../include/trace/events/gpu_mem.h:57: @@ -1943 +2183 @@ -../sound/core/pcm_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/gpu_mem.h:30:1: error: use of undeclared identifier 'trace_event_guard' @@ -1953,2 +2193,2 @@ -In file included from ../sound/core/pcm_lib.c:25: -In file included from ../sound/core/pcm_trace.h:149: +In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: +In file included from ../include/trace/events/gpu_mem.h:57: @@ -1957 +2197 @@ -../sound/core/pcm_trace.h:50:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/gpu_mem.h:30:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -1967,2 +2207,2 @@ -In file included from ../sound/core/pcm_lib.c:25: -In file included from ../sound/core/pcm_trace.h:149: +In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: +In file included from ../include/trace/events/gpu_mem.h:57: @@ -1971 +2211 @@ -../sound/core/pcm_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/gpu_mem.h:30:1: error: use of undeclared identifier 'preempt_notrace' @@ -1981,2 +2221,2 @@ -In file included from ../sound/core/pcm_lib.c:25: -In file included from ../sound/core/pcm_trace.h:149: +In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: +In file included from ../include/trace/events/gpu_mem.h:57: @@ -1985 +2225 @@ -../sound/core/pcm_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/gpu_mem.h:30:1: error: use of undeclared identifier 'trace_event_guard' @@ -1995,6 +2235,92 @@ -In file included from ../sound/core/pcm_lib.c:25: -In file included from ../sound/core/pcm_trace.h:149: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../sound/core/pcm_trace.h:83:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 83 | TRACE_EVENT(hw_ptr_error, +In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: +In file included from ../include/trace/events/gpu_mem.h:57: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/gpu_mem.h:30:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 30 | TRACE_EVENT(gpu_mem_total, + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: +In file included from ../include/trace/events/gpu_mem.h:57: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/gpu_mem.h:30:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: +In file included from ../include/trace/events/gpu_mem.h:57: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/gpu_mem.h:30:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: +In file included from ../include/trace/events/gpu_mem.h:57: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/gpu_mem.h:30:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: +In file included from ../include/trace/events/gpu_mem.h:57: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/gpu_mem.h:30:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: +In file included from ../include/trace/events/gpu_mem.h:57: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/gpu_mem.h:30:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: +In file included from ../include/trace/events/gpu_mem.h:57: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/gpu_mem.h:30:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 30 | TRACE_EVENT(gpu_mem_total, @@ -2004,0 +2331,87 @@ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: +In file included from ../include/trace/events/gpu_mem.h:57: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/gpu_mem.h:30:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: +In file included from ../include/trace/events/gpu_mem.h:57: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/gpu_mem.h:30:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: +In file included from ../include/trace/events/gpu_mem.h:57: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/gpu_mem.h:30:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: +In file included from ../include/trace/events/gpu_mem.h:57: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/gpu_mem.h:30:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: +In file included from ../include/trace/events/gpu_mem.h:57: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/gpu_mem.h:30:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +18 errors generated. +make[6]: *** [../scripts/Makefile.build:244: drivers/gpu/trace/trace_gpu_mem.o] Error 1 +make[5]: *** [../scripts/Makefile.build:485: drivers/gpu/trace] Error 2 +make[5]: *** Waiting for unfinished jobs.... +In file included from ../drivers/pwm/core.c:27: +In file included from ../include/trace/events/pwm.h:58: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/pwm.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 11 | DECLARE_EVENT_CLASS(pwm, + | ^ @@ -2011,2 +2424,2 @@ -In file included from ../sound/core/pcm_lib.c:25: -In file included from ../sound/core/pcm_trace.h:149: +In file included from ../drivers/pwm/core.c:27: +In file included from ../include/trace/events/pwm.h:58: @@ -2015,4 +2428 @@ -../sound/core/pcm_trace.h:83:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/pwm.h:11:1: error: use of undeclared identifier 'preempt_notrace' @@ -2025,2 +2435,2 @@ -In file included from ../sound/core/pcm_lib.c:25: -In file included from ../sound/core/pcm_trace.h:149: +In file included from ../drivers/pwm/core.c:27: +In file included from ../include/trace/events/pwm.h:58: @@ -2029,4 +2439 @@ -../sound/core/pcm_trace.h:83:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/pwm.h:11:1: error: use of undeclared identifier 'trace_event_guard' @@ -2039,2 +2446,2 @@ -In file included from ../sound/core/pcm_lib.c:25: -In file included from ../sound/core/pcm_trace.h:149: +In file included from ../drivers/pwm/core.c:27: +In file included from ../include/trace/events/pwm.h:58: @@ -2043,4 +2450 @@ -../sound/core/pcm_trace.h:83:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/pwm.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -2053,2 +2457,2 @@ -In file included from ../sound/core/pcm_lib.c:25: -In file included from ../sound/core/pcm_trace.h:149: +In file included from ../drivers/pwm/core.c:27: +In file included from ../include/trace/events/pwm.h:58: @@ -2057,4 +2461 @@ -../sound/core/pcm_trace.h:83:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/pwm.h:11:1: error: use of undeclared identifier 'preempt_notrace' @@ -2067,2 +2468,2 @@ -In file included from ../sound/core/pcm_lib.c:25: -In file included from ../sound/core/pcm_trace.h:149: +In file included from ../drivers/pwm/core.c:27: +In file included from ../include/trace/events/pwm.h:58: @@ -2071,4 +2472 @@ -../sound/core/pcm_trace.h:83:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/pwm.h:11:1: error: use of undeclared identifier 'trace_event_guard' @@ -2081,6 +2479,6 @@ -In file included from ../sound/core/pcm_lib.c:25: -In file included from ../sound/core/pcm_trace.h:149: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../sound/core/pcm_trace.h:106:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 106 | TRACE_EVENT(applptr, +In file included from ../drivers/pwm/core.c:27: +In file included from ../include/trace/events/pwm.h:58: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/pwm.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 11 | DECLARE_EVENT_CLASS(pwm, @@ -2088,2 +2486,2 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -2091,2 +2489,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -2094,2 +2492,7 @@ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +In file included from ../drivers/pwm/core.c:27: +In file included from ../include/trace/events/pwm.h:58: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/pwm.h:11:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -2097,4 +2500,118 @@ -fatal error: too many errors emitted, stopping now [-ferror-limit=] -20 errors generated. -make[5]: *** [../scripts/Makefile.build:244: sound/core/pcm_lib.o] Error 1 -make[4]: *** [../scripts/Makefile.build:485: sound/core] Error 2 +../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/pwm/core.c:27: +In file included from ../include/trace/events/pwm.h:58: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/pwm.h:11:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/pwm/core.c:27: +In file included from ../include/trace/events/pwm.h:58: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/pwm.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/pwm/core.c:27: +In file included from ../include/trace/events/pwm.h:58: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/pwm.h:11:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/pwm/core.c:27: +In file included from ../include/trace/events/pwm.h:58: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/pwm.h:11:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/pwm/core.c:27: +In file included from ../include/trace/events/pwm.h:58: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/pwm.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 11 | DECLARE_EVENT_CLASS(pwm, + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/pwm/core.c:27: +In file included from ../include/trace/events/pwm.h:58: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/pwm.h:11:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/pwm/core.c:27: +In file included from ../include/trace/events/pwm.h:58: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/pwm.h:11:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/pwm/core.c:27: +In file included from ../include/trace/events/pwm.h:58: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/pwm.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/pwm/core.c:27: +In file included from ../include/trace/events/pwm.h:58: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/pwm.h:11:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/pwm/core.c:27: +In file included from ../include/trace/events/pwm.h:58: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/pwm.h:11:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +18 errors generated. +make[5]: *** [../scripts/Makefile.build:244: drivers/pwm/core.o] Error 1 +make[4]: *** [../scripts/Makefile.build:485: drivers/pwm] Error 2 @@ -2102,2 +2619,2 @@ -In file included from ../drivers/dma-buf/dma-fence.c:21: -In file included from ../include/trace/events/dma_fence.h:89: +In file included from ../arch/x86/mm/fault.c:42: +In file included from ../arch/x86/include/asm/trace/exceptions.h:54: @@ -2106,2 +2623,2 @@ -../include/trace/events/dma_fence.h:12:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 12 | DECLARE_EVENT_CLASS(dma_fence, +../arch/x86/include/asm/trace/exceptions.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 14 | DECLARE_EVENT_CLASS(x86_exceptions, @@ -2115,2 +2632,2 @@ -In file included from ../drivers/dma-buf/dma-fence.c:21: -In file included from ../include/trace/events/dma_fence.h:89: +In file included from ../arch/x86/mm/fault.c:42: +In file included from ../arch/x86/include/asm/trace/exceptions.h:54: @@ -2119 +2636 @@ -../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'preempt_notrace' +../arch/x86/include/asm/trace/exceptions.h:14:1: error: use of undeclared identifier 'preempt_notrace' @@ -2126,2 +2643,2 @@ -In file included from ../drivers/dma-buf/dma-fence.c:21: -In file included from ../include/trace/events/dma_fence.h:89: +In file included from ../arch/x86/mm/fault.c:42: +In file included from ../arch/x86/include/asm/trace/exceptions.h:54: @@ -2130 +2647 @@ -../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'trace_event_guard' +../arch/x86/include/asm/trace/exceptions.h:14:1: error: use of undeclared identifier 'trace_event_guard' @@ -2137,2 +2654,2 @@ -In file included from ../drivers/dma-buf/dma-fence.c:21: -In file included from ../include/trace/events/dma_fence.h:89: +In file included from ../arch/x86/mm/fault.c:42: +In file included from ../arch/x86/include/asm/trace/exceptions.h:54: @@ -2141 +2658 @@ -../include/trace/events/dma_fence.h:12:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../arch/x86/include/asm/trace/exceptions.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -2148,2 +2665,2 @@ -In file included from ../drivers/dma-buf/dma-fence.c:21: -In file included from ../include/trace/events/dma_fence.h:89: +In file included from ../arch/x86/mm/fault.c:42: +In file included from ../arch/x86/include/asm/trace/exceptions.h:54: @@ -2152 +2669 @@ -../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'preempt_notrace' +../arch/x86/include/asm/trace/exceptions.h:14:1: error: use of undeclared identifier 'preempt_notrace' @@ -2159,2 +2676,2 @@ -In file included from ../drivers/dma-buf/dma-fence.c:21: -In file included from ../include/trace/events/dma_fence.h:89: +In file included from ../arch/x86/mm/fault.c:42: +In file included from ../arch/x86/include/asm/trace/exceptions.h:54: @@ -2163 +2680 @@ -../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'trace_event_guard' +../arch/x86/include/asm/trace/exceptions.h:14:1: error: use of undeclared identifier 'trace_event_guard' @@ -2170,2 +2687,70 @@ -In file included from ../drivers/dma-buf/dma-fence.c:21: -In file included from ../include/trace/events/dma_fence.h:89: +In file included from ../arch/x86/mm/fault.c:42: +In file included from ../arch/x86/include/asm/trace/exceptions.h:54: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../arch/x86/include/asm/trace/exceptions.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 14 | DECLARE_EVENT_CLASS(x86_exceptions, + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../arch/x86/mm/fault.c:42: +In file included from ../arch/x86/include/asm/trace/exceptions.h:54: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../arch/x86/include/asm/trace/exceptions.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../arch/x86/mm/fault.c:42: +In file included from ../arch/x86/include/asm/trace/exceptions.h:54: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../arch/x86/include/asm/trace/exceptions.h:14:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../arch/x86/mm/fault.c:42: +In file included from ../arch/x86/include/asm/trace/exceptions.h:54: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../arch/x86/include/asm/trace/exceptions.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../arch/x86/mm/fault.c:42: +In file included from ../arch/x86/include/asm/trace/exceptions.h:54: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../arch/x86/include/asm/trace/exceptions.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../arch/x86/mm/fault.c:42: +In file included from ../arch/x86/include/asm/trace/exceptions.h:54: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../arch/x86/include/asm/trace/exceptions.h:14:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../arch/x86/mm/fault.c:42: +In file included from ../arch/x86/include/asm/trace/exceptions.h:54: @@ -2174,2 +2759,2 @@ -../include/trace/events/dma_fence.h:12:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 12 | DECLARE_EVENT_CLASS(dma_fence, +../arch/x86/include/asm/trace/exceptions.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 14 | DECLARE_EVENT_CLASS(x86_exceptions, @@ -2183,2 +2768,2 @@ -In file included from ../drivers/dma-buf/dma-fence.c:21: -In file included from ../include/trace/events/dma_fence.h:89: +In file included from ../arch/x86/mm/fault.c:42: +In file included from ../arch/x86/include/asm/trace/exceptions.h:54: @@ -2187 +2772 @@ -../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'preempt_notrace' +../arch/x86/include/asm/trace/exceptions.h:14:1: error: use of undeclared identifier 'preempt_notrace' @@ -2194,2 +2779,2 @@ -In file included from ../drivers/dma-buf/dma-fence.c:21: -In file included from ../include/trace/events/dma_fence.h:89: +In file included from ../arch/x86/mm/fault.c:42: +In file included from ../arch/x86/include/asm/trace/exceptions.h:54: @@ -2198 +2783 @@ -../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'bpf_trace_guard' +../arch/x86/include/asm/trace/exceptions.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' @@ -2205,2 +2790,2 @@ -In file included from ../drivers/dma-buf/dma-fence.c:21: -In file included from ../include/trace/events/dma_fence.h:89: +In file included from ../arch/x86/mm/fault.c:42: +In file included from ../arch/x86/include/asm/trace/exceptions.h:54: @@ -2209 +2794 @@ -../include/trace/events/dma_fence.h:12:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../arch/x86/include/asm/trace/exceptions.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -2216,2 +2801,2 @@ -In file included from ../drivers/dma-buf/dma-fence.c:21: -In file included from ../include/trace/events/dma_fence.h:89: +In file included from ../arch/x86/mm/fault.c:42: +In file included from ../arch/x86/include/asm/trace/exceptions.h:54: @@ -2220 +2805 @@ -../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'preempt_notrace' +../arch/x86/include/asm/trace/exceptions.h:14:1: error: use of undeclared identifier 'preempt_notrace' @@ -2227,2 +2812,2 @@ -In file included from ../drivers/dma-buf/dma-fence.c:21: -In file included from ../include/trace/events/dma_fence.h:89: +In file included from ../arch/x86/mm/fault.c:42: +In file included from ../arch/x86/include/asm/trace/exceptions.h:54: @@ -2231 +2816 @@ -../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'bpf_trace_guard' +../arch/x86/include/asm/trace/exceptions.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' @@ -2238,3 +2823,3 @@ -12 errors generated. -make[5]: *** [../scripts/Makefile.build:244: drivers/dma-buf/dma-fence.o] Error 1 -make[5]: *** Waiting for unfinished jobs.... +18 errors generated. +make[5]: *** [../scripts/Makefile.build:244: arch/x86/mm/fault.o] Error 1 +make[4]: *** [../scripts/Makefile.build:485: arch/x86/mm] Error 2 @@ -3050,2 +3635,5 @@ -In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: -In file included from ../include/trace/events/gpu_mem.h:57: +make[6]: *** [../scripts/Makefile.build:485: drivers/bus/mhi/host] Error 2 +make[5]: *** [../scripts/Makefile.build:485: drivers/bus/mhi] Error 2 +make[4]: *** [../scripts/Makefile.build:485: drivers/bus] Error 2 +In file included from ../drivers/gpu/host1x/dev.c:23: +In file included from ../include/trace/events/host1x.h:267: @@ -3054,2 +3642,2 @@ -../include/trace/events/gpu_mem.h:30:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 30 | TRACE_EVENT(gpu_mem_total, +../include/trace/events/host1x.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 21 | DECLARE_EVENT_CLASS(host1x, @@ -3057,3 +3644,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -3066,2 +3651,2 @@ -In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: -In file included from ../include/trace/events/gpu_mem.h:57: +In file included from ../drivers/gpu/host1x/dev.c:23: +In file included from ../include/trace/events/host1x.h:267: @@ -3070,4 +3655 @@ -../include/trace/events/gpu_mem.h:30:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/host1x.h:21:1: error: use of undeclared identifier 'preempt_notrace' @@ -3080,2 +3662,2 @@ -In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: -In file included from ../include/trace/events/gpu_mem.h:57: +In file included from ../drivers/gpu/host1x/dev.c:23: +In file included from ../include/trace/events/host1x.h:267: @@ -3084,4 +3666 @@ -../include/trace/events/gpu_mem.h:30:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/host1x.h:21:1: error: use of undeclared identifier 'trace_event_guard' @@ -3094,2 +3673,2 @@ -In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: -In file included from ../include/trace/events/gpu_mem.h:57: +In file included from ../drivers/gpu/host1x/dev.c:23: +In file included from ../include/trace/events/host1x.h:267: @@ -3098,4 +3677 @@ -../include/trace/events/gpu_mem.h:30:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/host1x.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -3108,2 +3684,2 @@ -In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: -In file included from ../include/trace/events/gpu_mem.h:57: +In file included from ../drivers/gpu/host1x/dev.c:23: +In file included from ../include/trace/events/host1x.h:267: @@ -3112,4 +3688 @@ -../include/trace/events/gpu_mem.h:30:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/host1x.h:21:1: error: use of undeclared identifier 'preempt_notrace' @@ -3122,2 +3695,2 @@ -In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: -In file included from ../include/trace/events/gpu_mem.h:57: +In file included from ../drivers/gpu/host1x/dev.c:23: +In file included from ../include/trace/events/host1x.h:267: @@ -3126,4 +3699 @@ -../include/trace/events/gpu_mem.h:30:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/host1x.h:21:1: error: use of undeclared identifier 'trace_event_guard' @@ -3136,95 +3706,2 @@ -In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: -In file included from ../include/trace/events/gpu_mem.h:57: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/gpu_mem.h:30:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 30 | TRACE_EVENT(gpu_mem_total, - | ^ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ - | ^ -In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: -In file included from ../include/trace/events/gpu_mem.h:57: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/gpu_mem.h:30:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ - | ^ -In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: -In file included from ../include/trace/events/gpu_mem.h:57: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/gpu_mem.h:30:1: error: use of undeclared identifier 'bpf_trace_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ - | ^ -In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: -In file included from ../include/trace/events/gpu_mem.h:57: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/gpu_mem.h:30:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ - | ^ -In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: -In file included from ../include/trace/events/gpu_mem.h:57: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/gpu_mem.h:30:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ - | ^ -In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: -In file included from ../include/trace/events/gpu_mem.h:57: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/gpu_mem.h:30:1: error: use of undeclared identifier 'bpf_trace_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ - | ^ -12 errors generated. -make[6]: *** [../scripts/Makefile.build:244: drivers/gpu/trace/trace_gpu_mem.o] Error 1 -make[5]: *** [../scripts/Makefile.build:485: drivers/gpu/trace] Error 2 -make[5]: *** Waiting for unfinished jobs.... -make[6]: *** [../scripts/Makefile.build:485: drivers/bus/mhi/host] Error 2 -make[5]: *** [../scripts/Makefile.build:485: drivers/bus/mhi] Error 2 -make[4]: *** [../scripts/Makefile.build:485: drivers/bus] Error 2 -In file included from ../sound/firewire/motu/amdtp-motu.c:13: -In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: +In file included from ../drivers/gpu/host1x/dev.c:23: +In file included from ../include/trace/events/host1x.h:267: @@ -3233,2 +3710,2 @@ -../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 21 | TRACE_EVENT(data_block_sph, +../include/trace/events/host1x.h:49:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 49 | TRACE_EVENT(host1x_cdma_push, @@ -3245,2 +3722,2 @@ -In file included from ../sound/firewire/motu/amdtp-motu.c:13: -In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: +In file included from ../drivers/gpu/host1x/dev.c:23: +In file included from ../include/trace/events/host1x.h:267: @@ -3249 +3726 @@ -../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/host1x.h:49:1: error: use of undeclared identifier 'preempt_notrace' @@ -3259,2 +3736,2 @@ -In file included from ../sound/firewire/motu/amdtp-motu.c:13: -In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: +In file included from ../drivers/gpu/host1x/dev.c:23: +In file included from ../include/trace/events/host1x.h:267: @@ -3263 +3740 @@ -../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/host1x.h:49:1: error: use of undeclared identifier 'trace_event_guard' @@ -3273,2 +3750,2 @@ -In file included from ../sound/firewire/motu/amdtp-motu.c:13: -In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: +In file included from ../drivers/gpu/host1x/dev.c:23: +In file included from ../include/trace/events/host1x.h:267: @@ -3277 +3754 @@ -../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/host1x.h:49:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -3287,2 +3764,2 @@ -In file included from ../sound/firewire/motu/amdtp-motu.c:13: -In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: +In file included from ../drivers/gpu/host1x/dev.c:23: +In file included from ../include/trace/events/host1x.h:267: @@ -3291 +3768 @@ -../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/host1x.h:49:1: error: use of undeclared identifier 'preempt_notrace' @@ -3301,2 +3778,2 @@ -In file included from ../sound/firewire/motu/amdtp-motu.c:13: -In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: +In file included from ../drivers/gpu/host1x/dev.c:23: +In file included from ../include/trace/events/host1x.h:267: @@ -3305 +3782 @@ -../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/host1x.h:49:1: error: use of undeclared identifier 'trace_event_guard' @@ -3315,2 +3792,2 @@ -In file included from ../sound/firewire/motu/amdtp-motu.c:13: -In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: +In file included from ../drivers/gpu/host1x/dev.c:23: +In file included from ../include/trace/events/host1x.h:267: @@ -3319,2 +3796,2 @@ -../sound/firewire/motu/amdtp-motu-trace.h:50:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 50 | TRACE_EVENT(data_block_message, +../include/trace/events/host1x.h:70:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 70 | TRACE_EVENT(host1x_cdma_push_wide, @@ -3331,2 +3808,2 @@ -In file included from ../sound/firewire/motu/amdtp-motu.c:13: -In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: +In file included from ../drivers/gpu/host1x/dev.c:23: +In file included from ../include/trace/events/host1x.h:267: @@ -3335 +3812 @@ -../sound/firewire/motu/amdtp-motu-trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/host1x.h:70:1: error: use of undeclared identifier 'preempt_notrace' @@ -3345,2 +3822,2 @@ -In file included from ../sound/firewire/motu/amdtp-motu.c:13: -In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: +In file included from ../drivers/gpu/host1x/dev.c:23: +In file included from ../include/trace/events/host1x.h:267: @@ -3349 +3826 @@ -../sound/firewire/motu/amdtp-motu-trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/host1x.h:70:1: error: use of undeclared identifier 'trace_event_guard' @@ -3359,2 +3836,2 @@ -In file included from ../sound/firewire/motu/amdtp-motu.c:13: -In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: +In file included from ../drivers/gpu/host1x/dev.c:23: +In file included from ../include/trace/events/host1x.h:267: @@ -3363 +3840 @@ -../sound/firewire/motu/amdtp-motu-trace.h:50:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/host1x.h:70:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -3373,2 +3850,2 @@ -In file included from ../sound/firewire/motu/amdtp-motu.c:13: -In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: +In file included from ../drivers/gpu/host1x/dev.c:23: +In file included from ../include/trace/events/host1x.h:267: @@ -3377 +3854 @@ -../sound/firewire/motu/amdtp-motu-trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/host1x.h:70:1: error: use of undeclared identifier 'preempt_notrace' @@ -3387,2 +3864,2 @@ -In file included from ../sound/firewire/motu/amdtp-motu.c:13: -In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: +In file included from ../drivers/gpu/host1x/dev.c:23: +In file included from ../include/trace/events/host1x.h:267: @@ -3391 +3868 @@ -../sound/firewire/motu/amdtp-motu-trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/host1x.h:70:1: error: use of undeclared identifier 'trace_event_guard' @@ -3401,92 +3878,6 @@ -In file included from ../sound/firewire/motu/amdtp-motu.c:13: -In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 21 | TRACE_EVENT(data_block_sph, - | ^ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ - | ^ -In file included from ../sound/firewire/motu/amdtp-motu.c:13: -In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ - | ^ -In file included from ../sound/firewire/motu/amdtp-motu.c:13: -In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: use of undeclared identifier 'bpf_trace_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ - | ^ -In file included from ../sound/firewire/motu/amdtp-motu.c:13: -In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ - | ^ -In file included from ../sound/firewire/motu/amdtp-motu.c:13: -In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ - | ^ -In file included from ../sound/firewire/motu/amdtp-motu.c:13: -In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: use of undeclared identifier 'bpf_trace_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ - | ^ -In file included from ../sound/firewire/motu/amdtp-motu.c:13: -In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../sound/firewire/motu/amdtp-motu-trace.h:50:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 50 | TRACE_EVENT(data_block_message, +In file included from ../drivers/gpu/host1x/dev.c:23: +In file included from ../include/trace/events/host1x.h:267: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/host1x.h:96:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 96 | TRACE_EVENT(host1x_cdma_push_gather, @@ -3497,2 +3888,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -3500,2 +3891,2 @@ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -3505,3 +3896,2 @@ -make[6]: *** [../scripts/Makefile.build:244: sound/firewire/motu/amdtp-motu.o] Error 1 -make[5]: *** [../scripts/Makefile.build:485: sound/firewire/motu] Error 2 -make[4]: *** [../scripts/Makefile.build:485: sound/firewire] Error 2 +make[6]: *** [../scripts/Makefile.build:244: drivers/gpu/host1x/dev.o] Error 1 +make[5]: *** [../scripts/Makefile.build:485: drivers/gpu/host1x] Error 2 @@ -3768,2 +4158,2 @@ -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: @@ -3776,2 +4166,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -3779,2 +4169,2 @@ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -3786,2 +4176,2 @@ -In file included from ../block/blk-core.c:45: -In file included from ../include/trace/events/block.h:609: +In file included from ../drivers/clk/clk.c:100: +In file included from ../include/trace/events/clk.h:313: @@ -3790,2 +4180,2 @@ -../include/trace/events/block.h:24:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 24 | DECLARE_EVENT_CLASS(block_buffer, +../include/trace/events/clk.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 15 | DECLARE_EVENT_CLASS(clk, @@ -3799,2 +4189,2 @@ -In file included from ../block/blk-core.c:45: -In file included from ../include/trace/events/block.h:609: +In file included from ../drivers/clk/clk.c:100: +In file included from ../include/trace/events/clk.h:313: @@ -3803 +4193 @@ -../include/trace/events/block.h:24:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/clk.h:15:1: error: use of undeclared identifier 'preempt_notrace' @@ -3810,2 +4200,2 @@ -In file included from ../block/blk-core.c:45: -In file included from ../include/trace/events/block.h:609: +In file included from ../drivers/clk/clk.c:100: +In file included from ../include/trace/events/clk.h:313: @@ -3814 +4204 @@ -../include/trace/events/block.h:24:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/clk.h:15:1: error: use of undeclared identifier 'trace_event_guard' @@ -3821,2 +4211,2 @@ -In file included from ../block/blk-core.c:45: -In file included from ../include/trace/events/block.h:609: +In file included from ../drivers/clk/clk.c:100: +In file included from ../include/trace/events/clk.h:313: @@ -3825 +4215 @@ -../include/trace/events/block.h:24:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/clk.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -3832,2 +4222,2 @@ -In file included from ../block/blk-core.c:45: -In file included from ../include/trace/events/block.h:609: +In file included from ../drivers/clk/clk.c:100: +In file included from ../include/trace/events/clk.h:313: @@ -3836 +4226 @@ -../include/trace/events/block.h:24:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/clk.h:15:1: error: use of undeclared identifier 'preempt_notrace' @@ -3843,2 +4233,2 @@ -In file included from ../block/blk-core.c:45: -In file included from ../include/trace/events/block.h:609: +In file included from ../drivers/clk/clk.c:100: +In file included from ../include/trace/events/clk.h:313: @@ -3847 +4237 @@ -../include/trace/events/block.h:24:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/clk.h:15:1: error: use of undeclared identifier 'trace_event_guard' @@ -3854,2 +4244,2 @@ -In file included from ../block/blk-core.c:45: -In file included from ../include/trace/events/block.h:609: +In file included from ../drivers/clk/clk.c:100: +In file included from ../include/trace/events/clk.h:313: @@ -3858,2 +4248,155 @@ -../include/trace/events/block.h:83:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 83 | TRACE_EVENT(block_rq_requeue, +../include/trace/events/clk.h:88:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 88 | DECLARE_EVENT_CLASS(clk_rate, + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/clk/clk.c:100: +In file included from ../include/trace/events/clk.h:313: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/clk.h:88:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/clk/clk.c:100: +In file included from ../include/trace/events/clk.h:313: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/clk.h:88:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/clk/clk.c:100: +In file included from ../include/trace/events/clk.h:313: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/clk.h:88:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/clk/clk.c:100: +In file included from ../include/trace/events/clk.h:313: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/clk.h:88:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/clk/clk.c:100: +In file included from ../include/trace/events/clk.h:313: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/clk.h:88:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/clk/clk.c:100: +In file included from ../include/trace/events/clk.h:313: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/clk.h:135:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 135 | DECLARE_EVENT_CLASS(clk_rate_range, + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/clk/clk.c:100: +In file included from ../include/trace/events/clk.h:313: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/clk.h:135:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/clk/clk.c:100: +In file included from ../include/trace/events/clk.h:313: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/clk.h:135:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/clk/clk.c:100: +In file included from ../include/trace/events/clk.h:313: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/clk.h:135:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/clk/clk.c:100: +In file included from ../include/trace/events/clk.h:313: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/clk.h:135:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/clk/clk.c:100: +In file included from ../include/trace/events/clk.h:313: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/clk.h:135:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/clk/clk.c:100: +In file included from ../include/trace/events/clk.h:313: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/clk.h:165:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 165 | DECLARE_EVENT_CLASS(clk_parent, + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. +make[5]: *** [../scripts/Makefile.build:244: drivers/clk/clk.o] Error 1 +make[4]: *** [../scripts/Makefile.build:485: drivers/clk] Error 2 +In file included from ../sound/firewire/motu/amdtp-motu.c:13: +In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 21 | TRACE_EVENT(data_block_sph, @@ -3870,2 +4413,2 @@ -In file included from ../block/blk-core.c:45: -In file included from ../include/trace/events/block.h:609: +In file included from ../sound/firewire/motu/amdtp-motu.c:13: +In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: @@ -3874 +4417 @@ -../include/trace/events/block.h:83:1: error: use of undeclared identifier 'preempt_notrace' +../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' @@ -3884,2 +4427,2 @@ -In file included from ../block/blk-core.c:45: -In file included from ../include/trace/events/block.h:609: +In file included from ../sound/firewire/motu/amdtp-motu.c:13: +In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: @@ -3888 +4431 @@ -../include/trace/events/block.h:83:1: error: use of undeclared identifier 'trace_event_guard' +../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' @@ -3898,2 +4441,2 @@ -In file included from ../block/blk-core.c:45: -In file included from ../include/trace/events/block.h:609: +In file included from ../sound/firewire/motu/amdtp-motu.c:13: +In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: @@ -3902 +4445 @@ -../include/trace/events/block.h:83:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -3912,2 +4455,2 @@ -In file included from ../block/blk-core.c:45: -In file included from ../include/trace/events/block.h:609: +In file included from ../sound/firewire/motu/amdtp-motu.c:13: +In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: @@ -3916 +4459 @@ -../include/trace/events/block.h:83:1: error: use of undeclared identifier 'preempt_notrace' +../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' @@ -3926,2 +4469,2 @@ -In file included from ../block/blk-core.c:45: -In file included from ../include/trace/events/block.h:609: +In file included from ../sound/firewire/motu/amdtp-motu.c:13: +In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: @@ -3930 +4473 @@ -../include/trace/events/block.h:83:1: error: use of undeclared identifier 'trace_event_guard' +../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' @@ -3940,2 +4483,2 @@ -In file included from ../block/blk-core.c:45: -In file included from ../include/trace/events/block.h:609: +In file included from ../sound/firewire/motu/amdtp-motu.c:13: +In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: @@ -3944,2 +4487,2 @@ -../include/trace/events/block.h:118:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 118 | DECLARE_EVENT_CLASS(block_rq_completion, +../sound/firewire/motu/amdtp-motu-trace.h:50:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 50 | TRACE_EVENT(data_block_message, @@ -3946,0 +4490,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -3953,2 +4499,2 @@ -In file included from ../block/blk-core.c:45: -In file included from ../include/trace/events/block.h:609: +In file included from ../sound/firewire/motu/amdtp-motu.c:13: +In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: @@ -3957 +4503,4 @@ -../include/trace/events/block.h:118:1: error: use of undeclared identifier 'preempt_notrace' +../sound/firewire/motu/amdtp-motu-trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -3964,2 +4513,2 @@ -In file included from ../block/blk-core.c:45: -In file included from ../include/trace/events/block.h:609: +In file included from ../sound/firewire/motu/amdtp-motu.c:13: +In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: @@ -3968 +4517,4 @@ -../include/trace/events/block.h:118:1: error: use of undeclared identifier 'trace_event_guard' +../sound/firewire/motu/amdtp-motu-trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -3975,2 +4527,2 @@ -In file included from ../block/blk-core.c:45: -In file included from ../include/trace/events/block.h:609: +In file included from ../sound/firewire/motu/amdtp-motu.c:13: +In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: @@ -3979 +4531,4 @@ -../include/trace/events/block.h:118:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../sound/firewire/motu/amdtp-motu-trace.h:50:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -3986,2 +4541,2 @@ -In file included from ../block/blk-core.c:45: -In file included from ../include/trace/events/block.h:609: +In file included from ../sound/firewire/motu/amdtp-motu.c:13: +In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: @@ -3990 +4545,4 @@ -../include/trace/events/block.h:118:1: error: use of undeclared identifier 'preempt_notrace' +../sound/firewire/motu/amdtp-motu-trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -3997,2 +4555,2 @@ -In file included from ../block/blk-core.c:45: -In file included from ../include/trace/events/block.h:609: +In file included from ../sound/firewire/motu/amdtp-motu.c:13: +In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: @@ -4001 +4559,4 @@ -../include/trace/events/block.h:118:1: error: use of undeclared identifier 'trace_event_guard' +../sound/firewire/motu/amdtp-motu-trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -4008,2 +4569,110 @@ -In file included from ../block/blk-core.c:45: -In file included from ../include/trace/events/block.h:609: +In file included from ../sound/firewire/motu/amdtp-motu.c:13: +In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 21 | TRACE_EVENT(data_block_sph, + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../sound/firewire/motu/amdtp-motu.c:13: +In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../sound/firewire/motu/amdtp-motu.c:13: +In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../sound/firewire/motu/amdtp-motu.c:13: +In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../sound/firewire/motu/amdtp-motu.c:13: +In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../sound/firewire/motu/amdtp-motu.c:13: +In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../sound/firewire/motu/amdtp-motu.c:13: +In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../sound/firewire/motu/amdtp-motu-trace.h:50:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 50 | TRACE_EVENT(data_block_message, + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. +make[6]: *** [../scripts/Makefile.build:244: sound/firewire/motu/amdtp-motu.o] Error 1 +make[5]: *** [../scripts/Makefile.build:485: sound/firewire/motu] Error 2 +make[4]: *** [../scripts/Makefile.build:485: sound/firewire] Error 2 +In file included from ../drivers/dma/fsl-edma-trace.c:4: +In file included from ../drivers/dma/fsl-edma-common.h:342: +In file included from ../drivers/dma/fsl-edma-trace.h:132: @@ -4012,2 +4681,76 @@ -../include/trace/events/block.h:190:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 190 | DECLARE_EVENT_CLASS(block_rq, +../drivers/dma/fsl-edma-trace.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 15 | DECLARE_EVENT_CLASS(edma_log_io, + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/dma/fsl-edma-trace.c:4: +In file included from ../drivers/dma/fsl-edma-common.h:342: +In file included from ../drivers/dma/fsl-edma-trace.h:132: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/dma/fsl-edma-trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/dma/fsl-edma-trace.c:4: +In file included from ../drivers/dma/fsl-edma-common.h:342: +In file included from ../drivers/dma/fsl-edma-trace.h:132: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/dma/fsl-edma-trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/dma/fsl-edma-trace.c:4: +In file included from ../drivers/dma/fsl-edma-common.h:342: +In file included from ../drivers/dma/fsl-edma-trace.h:132: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/dma/fsl-edma-trace.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/dma/fsl-edma-trace.c:4: +In file included from ../drivers/dma/fsl-edma-common.h:342: +In file included from ../drivers/dma/fsl-edma-trace.h:132: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/dma/fsl-edma-trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/dma/fsl-edma-trace.c:4: +In file included from ../drivers/dma/fsl-edma-common.h:342: +In file included from ../drivers/dma/fsl-edma-trace.h:132: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/dma/fsl-edma-trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/dma/fsl-edma-trace.c:4: +In file included from ../drivers/dma/fsl-edma-common.h:342: +In file included from ../drivers/dma/fsl-edma-trace.h:132: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/dma/fsl-edma-trace.h:62:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 62 | DECLARE_EVENT_CLASS(edma_log_tcd, @@ -4020,0 +4764,148 @@ +In file included from ../drivers/dma/fsl-edma-trace.c:4: +In file included from ../drivers/dma/fsl-edma-common.h:342: +In file included from ../drivers/dma/fsl-edma-trace.h:132: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/dma/fsl-edma-trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/dma/fsl-edma-trace.c:4: +In file included from ../drivers/dma/fsl-edma-common.h:342: +In file included from ../drivers/dma/fsl-edma-trace.h:132: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/dma/fsl-edma-trace.h:62:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/dma/fsl-edma-trace.c:4: +In file included from ../drivers/dma/fsl-edma-common.h:342: +In file included from ../drivers/dma/fsl-edma-trace.h:132: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/dma/fsl-edma-trace.h:62:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/dma/fsl-edma-trace.c:4: +In file included from ../drivers/dma/fsl-edma-common.h:342: +In file included from ../drivers/dma/fsl-edma-trace.h:132: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/dma/fsl-edma-trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/dma/fsl-edma-trace.c:4: +In file included from ../drivers/dma/fsl-edma-common.h:342: +In file included from ../drivers/dma/fsl-edma-trace.h:132: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/dma/fsl-edma-trace.h:62:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/dma/fsl-edma-trace.c:4: +In file included from ../drivers/dma/fsl-edma-common.h:342: +In file included from ../drivers/dma/fsl-edma-trace.h:132: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/dma/fsl-edma-trace.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 15 | DECLARE_EVENT_CLASS(edma_log_io, + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/dma/fsl-edma-trace.c:4: +In file included from ../drivers/dma/fsl-edma-common.h:342: +In file included from ../drivers/dma/fsl-edma-trace.h:132: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/dma/fsl-edma-trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/dma/fsl-edma-trace.c:4: +In file included from ../drivers/dma/fsl-edma-common.h:342: +In file included from ../drivers/dma/fsl-edma-trace.h:132: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/dma/fsl-edma-trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/dma/fsl-edma-trace.c:4: +In file included from ../drivers/dma/fsl-edma-common.h:342: +In file included from ../drivers/dma/fsl-edma-trace.h:132: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/dma/fsl-edma-trace.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/dma/fsl-edma-trace.c:4: +In file included from ../drivers/dma/fsl-edma-common.h:342: +In file included from ../drivers/dma/fsl-edma-trace.h:132: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/dma/fsl-edma-trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/dma/fsl-edma-trace.c:4: +In file included from ../drivers/dma/fsl-edma-common.h:342: +In file included from ../drivers/dma/fsl-edma-trace.h:132: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/dma/fsl-edma-trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/dma/fsl-edma-trace.c:4: +In file included from ../drivers/dma/fsl-edma-common.h:342: +In file included from ../drivers/dma/fsl-edma-trace.h:132: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/dma/fsl-edma-trace.h:62:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 62 | DECLARE_EVENT_CLASS(edma_log_tcd, + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ @@ -4023,2 +4914,244 @@ -make[4]: *** [../scripts/Makefile.build:244: block/blk-core.o] Error 1 -make[3]: *** [../scripts/Makefile.build:485: block] Error 2 +make[5]: *** [../scripts/Makefile.build:244: drivers/dma/fsl-edma-trace.o] Error 1 +make[5]: *** Waiting for unfinished jobs.... +In file included from ../drivers/iommu/iommu-traces.c:13: +In file included from ../include/trace/events/iommu.h:162: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/iommu.h:18:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 18 | DECLARE_EVENT_CLASS(iommu_group_event, + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/iommu/iommu-traces.c:13: +In file included from ../include/trace/events/iommu.h:162: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/iommu.h:18:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/iommu/iommu-traces.c:13: +In file included from ../include/trace/events/iommu.h:162: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/iommu.h:18:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/iommu/iommu-traces.c:13: +In file included from ../include/trace/events/iommu.h:162: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/iommu.h:18:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/iommu/iommu-traces.c:13: +In file included from ../include/trace/events/iommu.h:162: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/iommu.h:18:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/iommu/iommu-traces.c:13: +In file included from ../include/trace/events/iommu.h:162: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/iommu.h:18:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/iommu/iommu-traces.c:13: +In file included from ../include/trace/events/iommu.h:162: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/iommu.h:54:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 54 | DECLARE_EVENT_CLASS(iommu_device_event, + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/iommu/iommu-traces.c:13: +In file included from ../include/trace/events/iommu.h:162: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/iommu.h:54:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/iommu/iommu-traces.c:13: +In file included from ../include/trace/events/iommu.h:162: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/iommu.h:54:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/iommu/iommu-traces.c:13: +In file included from ../include/trace/events/iommu.h:162: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/iommu.h:54:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/iommu/iommu-traces.c:13: +In file included from ../include/trace/events/iommu.h:162: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/iommu.h:54:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/iommu/iommu-traces.c:13: +In file included from ../include/trace/events/iommu.h:162: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/iommu.h:54:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/iommu/iommu-traces.c:13: +In file included from ../include/trace/events/iommu.h:162: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/iommu.h:79:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 79 | TRACE_EVENT(map, + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/iommu/iommu-traces.c:13: +In file included from ../include/trace/events/iommu.h:162: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/iommu.h:79:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/iommu/iommu-traces.c:13: +In file included from ../include/trace/events/iommu.h:162: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/iommu.h:79:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/iommu/iommu-traces.c:13: +In file included from ../include/trace/events/iommu.h:162: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/iommu.h:79:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/iommu/iommu-traces.c:13: +In file included from ../include/trace/events/iommu.h:162: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/iommu.h:79:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/iommu/iommu-traces.c:13: +In file included from ../include/trace/events/iommu.h:162: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/iommu.h:79:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/iommu/iommu-traces.c:13: +In file included from ../include/trace/events/iommu.h:162: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/iommu.h:103:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 103 | TRACE_EVENT(unmap, + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. +make[5]: *** [../scripts/Makefile.build:244: drivers/iommu/iommu-traces.o] Error 1 +make[5]: *** Waiting for unfinished jobs.... @@ -4112,0 +5246,86 @@ +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/netlink.h:9:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 9 | TRACE_EVENT(netlink_extack, + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../net/netlink/af_netlink.c:72: +In file included from ../include/trace/events/netlink.h:29: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/netlink.h:9:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../net/netlink/af_netlink.c:72: +In file included from ../include/trace/events/netlink.h:29: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/netlink.h:9:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../net/netlink/af_netlink.c:72: +In file included from ../include/trace/events/netlink.h:29: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/netlink.h:9:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../net/netlink/af_netlink.c:72: +In file included from ../include/trace/events/netlink.h:29: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/netlink.h:9:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../net/netlink/af_netlink.c:72: +In file included from ../include/trace/events/netlink.h:29: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/netlink.h:9:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../net/netlink/af_netlink.c:72: +In file included from ../include/trace/events/netlink.h:29: @@ -4197 +5416 @@ -12 errors generated. +18 errors generated. @@ -4199,2 +5417,0 @@ -make[4]: *** [../scripts/Makefile.build:485: net/netlink] Error 2 -make[4]: *** Waiting for unfinished jobs.... @@ -4425,2 +5642,4 @@ -In file included from ../security/selinux/avc.c:35: -In file included from ../include/trace/events/avc.h:53: +make[4]: *** [../scripts/Makefile.build:485: net/netlink] Error 2 +make[4]: *** Waiting for unfinished jobs.... +In file included from ../drivers/dma-buf/dma-fence.c:21: +In file included from ../include/trace/events/dma_fence.h:89: @@ -4429,2 +5648,2 @@ -../include/trace/events/avc.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 14 | TRACE_EVENT(selinux_audited, +../include/trace/events/dma_fence.h:12:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 12 | DECLARE_EVENT_CLASS(dma_fence, @@ -4432,3 +5650,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -4441,2 +5657,2 @@ -In file included from ../security/selinux/avc.c:35: -In file included from ../include/trace/events/avc.h:53: +In file included from ../drivers/dma-buf/dma-fence.c:21: +In file included from ../include/trace/events/dma_fence.h:89: @@ -4445,4 +5661 @@ -../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'preempt_notrace' @@ -4455,2 +5668,2 @@ -In file included from ../security/selinux/avc.c:35: -In file included from ../include/trace/events/avc.h:53: +In file included from ../drivers/dma-buf/dma-fence.c:21: +In file included from ../include/trace/events/dma_fence.h:89: @@ -4459,4 +5672 @@ -../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'trace_event_guard' @@ -4469,2 +5679,2 @@ -In file included from ../security/selinux/avc.c:35: -In file included from ../include/trace/events/avc.h:53: +In file included from ../drivers/dma-buf/dma-fence.c:21: +In file included from ../include/trace/events/dma_fence.h:89: @@ -4473,4 +5683 @@ -../include/trace/events/avc.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/dma_fence.h:12:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -4483,2 +5690,2 @@ -In file included from ../security/selinux/avc.c:35: -In file included from ../include/trace/events/avc.h:53: +In file included from ../drivers/dma-buf/dma-fence.c:21: +In file included from ../include/trace/events/dma_fence.h:89: @@ -4487,4 +5694 @@ -../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'preempt_notrace' @@ -4497,2 +5701,2 @@ -In file included from ../security/selinux/avc.c:35: -In file included from ../include/trace/events/avc.h:53: +In file included from ../drivers/dma-buf/dma-fence.c:21: +In file included from ../include/trace/events/dma_fence.h:89: @@ -4501,4 +5705 @@ -../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'trace_event_guard' @@ -4511,2 +5712,70 @@ -In file included from ../security/selinux/avc.c:35: -In file included from ../include/trace/events/avc.h:53: +In file included from ../drivers/dma-buf/dma-fence.c:21: +In file included from ../include/trace/events/dma_fence.h:89: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/dma_fence.h:12:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 12 | DECLARE_EVENT_CLASS(dma_fence, + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/dma-buf/dma-fence.c:21: +In file included from ../include/trace/events/dma_fence.h:89: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/dma-buf/dma-fence.c:21: +In file included from ../include/trace/events/dma_fence.h:89: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/dma-buf/dma-fence.c:21: +In file included from ../include/trace/events/dma_fence.h:89: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/dma_fence.h:12:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/dma-buf/dma-fence.c:21: +In file included from ../include/trace/events/dma_fence.h:89: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/dma-buf/dma-fence.c:21: +In file included from ../include/trace/events/dma_fence.h:89: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/dma-buf/dma-fence.c:21: +In file included from ../include/trace/events/dma_fence.h:89: @@ -4515,2 +5784,2 @@ -../include/trace/events/avc.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 14 | TRACE_EVENT(selinux_audited, +../include/trace/events/dma_fence.h:12:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 12 | DECLARE_EVENT_CLASS(dma_fence, @@ -4518,3 +5786,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -4527,2 +5793,2 @@ -In file included from ../security/selinux/avc.c:35: -In file included from ../include/trace/events/avc.h:53: +In file included from ../drivers/dma-buf/dma-fence.c:21: +In file included from ../include/trace/events/dma_fence.h:89: @@ -4531,4 +5797 @@ -../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'preempt_notrace' @@ -4541,2 +5804,2 @@ -In file included from ../security/selinux/avc.c:35: -In file included from ../include/trace/events/avc.h:53: +In file included from ../drivers/dma-buf/dma-fence.c:21: +In file included from ../include/trace/events/dma_fence.h:89: @@ -4545,4 +5808 @@ -../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'bpf_trace_guard' @@ -4555,2 +5815,2 @@ -In file included from ../security/selinux/avc.c:35: -In file included from ../include/trace/events/avc.h:53: +In file included from ../drivers/dma-buf/dma-fence.c:21: +In file included from ../include/trace/events/dma_fence.h:89: @@ -4559,4 +5819 @@ -../include/trace/events/avc.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/dma_fence.h:12:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -4569,2 +5826,2 @@ -In file included from ../security/selinux/avc.c:35: -In file included from ../include/trace/events/avc.h:53: +In file included from ../drivers/dma-buf/dma-fence.c:21: +In file included from ../include/trace/events/dma_fence.h:89: @@ -4573,4 +5830 @@ -../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'preempt_notrace' @@ -4583,2 +5837,2 @@ -In file included from ../security/selinux/avc.c:35: -In file included from ../include/trace/events/avc.h:53: +In file included from ../drivers/dma-buf/dma-fence.c:21: +In file included from ../include/trace/events/dma_fence.h:89: @@ -4587,4 +5841 @@ -../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'bpf_trace_guard' @@ -4597,6 +5848,5 @@ -12 errors generated. -make[5]: *** [../scripts/Makefile.build:244: security/selinux/avc.o] Error 1 -make[4]: *** [../scripts/Makefile.build:485: security/selinux] Error 2 -make[3]: *** [../scripts/Makefile.build:485: security] Error 2 -In file included from ../drivers/clk/clk.c:100: -In file included from ../include/trace/events/clk.h:313: +18 errors generated. +make[5]: *** [../scripts/Makefile.build:244: drivers/dma-buf/dma-fence.o] Error 1 +make[5]: *** Waiting for unfinished jobs.... +In file included from ../mm/filemap.c:54: +In file included from ../include/trace/events/filemap.h:118: @@ -4605,2 +5855,2 @@ -../include/trace/events/clk.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 15 | DECLARE_EVENT_CLASS(clk, +../include/trace/events/filemap.h:16:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 16 | DECLARE_EVENT_CLASS(mm_filemap_op_page_cache, @@ -4614,2 +5864,2 @@ -In file included from ../drivers/clk/clk.c:100: -In file included from ../include/trace/events/clk.h:313: +In file included from ../mm/filemap.c:54: +In file included from ../include/trace/events/filemap.h:118: @@ -4618 +5868 @@ -../include/trace/events/clk.h:15:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/filemap.h:16:1: error: use of undeclared identifier 'preempt_notrace' @@ -4625,2 +5875,2 @@ -In file included from ../drivers/clk/clk.c:100: -In file included from ../include/trace/events/clk.h:313: +In file included from ../mm/filemap.c:54: +In file included from ../include/trace/events/filemap.h:118: @@ -4629 +5879 @@ -../include/trace/events/clk.h:15:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/filemap.h:16:1: error: use of undeclared identifier 'trace_event_guard' @@ -4636,2 +5886,2 @@ -In file included from ../drivers/clk/clk.c:100: -In file included from ../include/trace/events/clk.h:313: +In file included from ../mm/filemap.c:54: +In file included from ../include/trace/events/filemap.h:118: @@ -4640 +5890 @@ -../include/trace/events/clk.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/filemap.h:16:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -4647,2 +5897,2 @@ -In file included from ../drivers/clk/clk.c:100: -In file included from ../include/trace/events/clk.h:313: +In file included from ../mm/filemap.c:54: +In file included from ../include/trace/events/filemap.h:118: @@ -4651 +5901 @@ -../include/trace/events/clk.h:15:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/filemap.h:16:1: error: use of undeclared identifier 'preempt_notrace' @@ -4658,2 +5908,2 @@ -In file included from ../drivers/clk/clk.c:100: -In file included from ../include/trace/events/clk.h:313: +In file included from ../mm/filemap.c:54: +In file included from ../include/trace/events/filemap.h:118: @@ -4662 +5912 @@ -../include/trace/events/clk.h:15:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/filemap.h:16:1: error: use of undeclared identifier 'trace_event_guard' @@ -4669,2 +5919,2 @@ -In file included from ../drivers/clk/clk.c:100: -In file included from ../include/trace/events/clk.h:313: +In file included from ../mm/filemap.c:54: +In file included from ../include/trace/events/filemap.h:118: @@ -4673,2 +5923,2 @@ -../include/trace/events/clk.h:88:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 88 | DECLARE_EVENT_CLASS(clk_rate, +../include/trace/events/filemap.h:59:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 59 | TRACE_EVENT(filemap_set_wb_err, @@ -4676,57 +5926,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ - | ^ -In file included from ../drivers/clk/clk.c:100: -In file included from ../include/trace/events/clk.h:313: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/clk.h:88:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ - | ^ -In file included from ../drivers/clk/clk.c:100: -In file included from ../include/trace/events/clk.h:313: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/clk.h:88:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ - | ^ -In file included from ../drivers/clk/clk.c:100: -In file included from ../include/trace/events/clk.h:313: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/clk.h:88:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ - | ^ -In file included from ../drivers/clk/clk.c:100: -In file included from ../include/trace/events/clk.h:313: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/clk.h:88:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ - | ^ -In file included from ../drivers/clk/clk.c:100: -In file included from ../include/trace/events/clk.h:313: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/clk.h:88:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -4734,10 +5928,0 @@ -../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ - | ^ -In file included from ../drivers/clk/clk.c:100: -In file included from ../include/trace/events/clk.h:313: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/clk.h:135:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 135 | DECLARE_EVENT_CLASS(clk_rate_range, - | ^ @@ -4750,2 +5935,2 @@ -In file included from ../drivers/clk/clk.c:100: -In file included from ../include/trace/events/clk.h:313: +In file included from ../mm/filemap.c:54: +In file included from ../include/trace/events/filemap.h:118: @@ -4754 +5939,4 @@ -../include/trace/events/clk.h:135:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/filemap.h:59:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -4761,2 +5949,2 @@ -In file included from ../drivers/clk/clk.c:100: -In file included from ../include/trace/events/clk.h:313: +In file included from ../mm/filemap.c:54: +In file included from ../include/trace/events/filemap.h:118: @@ -4765 +5953,4 @@ -../include/trace/events/clk.h:135:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/filemap.h:59:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -4772,2 +5963,2 @@ -In file included from ../drivers/clk/clk.c:100: -In file included from ../include/trace/events/clk.h:313: +In file included from ../mm/filemap.c:54: +In file included from ../include/trace/events/filemap.h:118: @@ -4776 +5967,4 @@ -../include/trace/events/clk.h:135:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/filemap.h:59:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -4783,2 +5977,2 @@ -In file included from ../drivers/clk/clk.c:100: -In file included from ../include/trace/events/clk.h:313: +In file included from ../mm/filemap.c:54: +In file included from ../include/trace/events/filemap.h:118: @@ -4787 +5981,4 @@ -../include/trace/events/clk.h:135:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/filemap.h:59:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -4794,2 +5991,2 @@ -In file included from ../drivers/clk/clk.c:100: -In file included from ../include/trace/events/clk.h:313: +In file included from ../mm/filemap.c:54: +In file included from ../include/trace/events/filemap.h:118: @@ -4798 +5995,4 @@ -../include/trace/events/clk.h:135:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/filemap.h:59:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -4805,19 +6005,2 @@ -In file included from ../drivers/clk/clk.c:100: -In file included from ../include/trace/events/clk.h:313: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/clk.h:165:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 165 | DECLARE_EVENT_CLASS(clk_parent, - | ^ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ - | ^ -fatal error: too many errors emitted, stopping now [-ferror-limit=] -20 errors generated. -make[5]: *** [../scripts/Makefile.build:244: drivers/clk/clk.o] Error 1 -make[4]: *** [../scripts/Makefile.build:485: drivers/clk] Error 2 -In file included from ../arch/x86/kernel/nmi.c:41: -In file included from ../include/trace/events/nmi.h:38: +In file included from ../mm/filemap.c:54: +In file included from ../include/trace/events/filemap.h:118: @@ -4826,2 +6009,2 @@ -../include/trace/events/nmi.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 11 | TRACE_EVENT(nmi_handler, +../include/trace/events/filemap.h:84:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 84 | TRACE_EVENT(file_check_and_advance_wb_err, @@ -4838,2 +6021,2 @@ -In file included from ../arch/x86/kernel/nmi.c:41: -In file included from ../include/trace/events/nmi.h:38: +In file included from ../mm/filemap.c:54: +In file included from ../include/trace/events/filemap.h:118: @@ -4842 +6025 @@ -../include/trace/events/nmi.h:11:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/filemap.h:84:1: error: use of undeclared identifier 'preempt_notrace' @@ -4852,2 +6035,2 @@ -In file included from ../arch/x86/kernel/nmi.c:41: -In file included from ../include/trace/events/nmi.h:38: +In file included from ../mm/filemap.c:54: +In file included from ../include/trace/events/filemap.h:118: @@ -4856 +6039 @@ -../include/trace/events/nmi.h:11:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/filemap.h:84:1: error: use of undeclared identifier 'trace_event_guard' @@ -4866,2 +6049,2 @@ -In file included from ../arch/x86/kernel/nmi.c:41: -In file included from ../include/trace/events/nmi.h:38: +In file included from ../mm/filemap.c:54: +In file included from ../include/trace/events/filemap.h:118: @@ -4870 +6053 @@ -../include/trace/events/nmi.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/filemap.h:84:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -4880,2 +6063,2 @@ -In file included from ../arch/x86/kernel/nmi.c:41: -In file included from ../include/trace/events/nmi.h:38: +In file included from ../mm/filemap.c:54: +In file included from ../include/trace/events/filemap.h:118: @@ -4884 +6067 @@ -../include/trace/events/nmi.h:11:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/filemap.h:84:1: error: use of undeclared identifier 'preempt_notrace' @@ -4894,2 +6077,2 @@ -In file included from ../arch/x86/kernel/nmi.c:41: -In file included from ../include/trace/events/nmi.h:38: +In file included from ../mm/filemap.c:54: +In file included from ../include/trace/events/filemap.h:118: @@ -4898 +6081 @@ -../include/trace/events/nmi.h:11:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/filemap.h:84:1: error: use of undeclared identifier 'trace_event_guard' @@ -4908,6 +6091,6 @@ -In file included from ../arch/x86/kernel/nmi.c:41: -In file included from ../include/trace/events/nmi.h:38: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/nmi.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 11 | TRACE_EVENT(nmi_handler, +In file included from ../mm/filemap.c:54: +In file included from ../include/trace/events/filemap.h:118: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/filemap.h:16:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 16 | DECLARE_EVENT_CLASS(mm_filemap_op_page_cache, @@ -4915,72 +6098,2 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ - | ^ -In file included from ../arch/x86/kernel/nmi.c:41: -In file included from ../include/trace/events/nmi.h:38: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/nmi.h:11:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ - | ^ -In file included from ../arch/x86/kernel/nmi.c:41: -In file included from ../include/trace/events/nmi.h:38: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/nmi.h:11:1: error: use of undeclared identifier 'bpf_trace_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ - | ^ -In file included from ../arch/x86/kernel/nmi.c:41: -In file included from ../include/trace/events/nmi.h:38: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/nmi.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ - | ^ -In file included from ../arch/x86/kernel/nmi.c:41: -In file included from ../include/trace/events/nmi.h:38: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/nmi.h:11:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ - | ^ -In file included from ../arch/x86/kernel/nmi.c:41: -In file included from ../include/trace/events/nmi.h:38: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/nmi.h:11:1: error: use of undeclared identifier 'bpf_trace_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -4988,2 +6101,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -4991,8 +6104,6 @@ -../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ - | ^ -12 errors generated. -make[5]: *** [../scripts/Makefile.build:244: arch/x86/kernel/nmi.o] Error 1 -make[5]: *** Waiting for unfinished jobs.... -In file included from ../drivers/gpu/host1x/dev.c:23: -In file included from ../include/trace/events/host1x.h:267: +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. +make[4]: *** [../scripts/Makefile.build:244: mm/filemap.o] Error 1 +make[4]: *** Waiting for unfinished jobs.... +In file included from ../fs/fs-writeback.c:81: +In file included from ../include/trace/events/writeback.h:861: @@ -5001,2 +6112,2 @@ -../include/trace/events/host1x.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 21 | DECLARE_EVENT_CLASS(host1x, +../include/trace/events/writeback.h:55:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 55 | DECLARE_EVENT_CLASS(writeback_folio_template, @@ -5010,2 +6121,2 @@ -In file included from ../drivers/gpu/host1x/dev.c:23: -In file included from ../include/trace/events/host1x.h:267: +In file included from ../fs/fs-writeback.c:81: +In file included from ../include/trace/events/writeback.h:861: @@ -5014 +6125 @@ -../include/trace/events/host1x.h:21:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/writeback.h:55:1: error: use of undeclared identifier 'preempt_notrace' @@ -5021,2 +6132,2 @@ -In file included from ../drivers/gpu/host1x/dev.c:23: -In file included from ../include/trace/events/host1x.h:267: +In file included from ../fs/fs-writeback.c:81: +In file included from ../include/trace/events/writeback.h:861: @@ -5025 +6136 @@ -../include/trace/events/host1x.h:21:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/writeback.h:55:1: error: use of undeclared identifier 'trace_event_guard' @@ -5032,2 +6143,2 @@ -In file included from ../drivers/gpu/host1x/dev.c:23: -In file included from ../include/trace/events/host1x.h:267: +In file included from ../fs/fs-writeback.c:81: +In file included from ../include/trace/events/writeback.h:861: @@ -5036 +6147 @@ -../include/trace/events/host1x.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/writeback.h:55:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -5043,2 +6154,2 @@ -In file included from ../drivers/gpu/host1x/dev.c:23: -In file included from ../include/trace/events/host1x.h:267: +In file included from ../fs/fs-writeback.c:81: +In file included from ../include/trace/events/writeback.h:861: @@ -5047 +6158 @@ -../include/trace/events/host1x.h:21:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/writeback.h:55:1: error: use of undeclared identifier 'preempt_notrace' @@ -5054,2 +6165,2 @@ -In file included from ../drivers/gpu/host1x/dev.c:23: -In file included from ../include/trace/events/host1x.h:267: +In file included from ../fs/fs-writeback.c:81: +In file included from ../include/trace/events/writeback.h:861: @@ -5058 +6169 @@ -../include/trace/events/host1x.h:21:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/writeback.h:55:1: error: use of undeclared identifier 'trace_event_guard' @@ -5065,2 +6176,2 @@ -In file included from ../drivers/gpu/host1x/dev.c:23: -In file included from ../include/trace/events/host1x.h:267: +In file included from ../fs/fs-writeback.c:81: +In file included from ../include/trace/events/writeback.h:861: @@ -5069,2 +6180,2 @@ -../include/trace/events/host1x.h:49:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 49 | TRACE_EVENT(host1x_cdma_push, +../include/trace/events/writeback.h:96:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 96 | DECLARE_EVENT_CLASS(writeback_dirty_inode_template, @@ -5072,3 +6182,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -5081,2 +6189,2 @@ -In file included from ../drivers/gpu/host1x/dev.c:23: -In file included from ../include/trace/events/host1x.h:267: +In file included from ../fs/fs-writeback.c:81: +In file included from ../include/trace/events/writeback.h:861: @@ -5085,4 +6193 @@ -../include/trace/events/host1x.h:49:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/writeback.h:96:1: error: use of undeclared identifier 'preempt_notrace' @@ -5095,2 +6200,2 @@ -In file included from ../drivers/gpu/host1x/dev.c:23: -In file included from ../include/trace/events/host1x.h:267: +In file included from ../fs/fs-writeback.c:81: +In file included from ../include/trace/events/writeback.h:861: @@ -5099,4 +6204 @@ -../include/trace/events/host1x.h:49:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/writeback.h:96:1: error: use of undeclared identifier 'trace_event_guard' @@ -5109,2 +6211,2 @@ -In file included from ../drivers/gpu/host1x/dev.c:23: -In file included from ../include/trace/events/host1x.h:267: +In file included from ../fs/fs-writeback.c:81: +In file included from ../include/trace/events/writeback.h:861: @@ -5113,4 +6215 @@ -../include/trace/events/host1x.h:49:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/writeback.h:96:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -5123,2 +6222,2 @@ -In file included from ../drivers/gpu/host1x/dev.c:23: -In file included from ../include/trace/events/host1x.h:267: +In file included from ../fs/fs-writeback.c:81: +In file included from ../include/trace/events/writeback.h:861: @@ -5127,4 +6226 @@ -../include/trace/events/host1x.h:49:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/writeback.h:96:1: error: use of undeclared identifier 'preempt_notrace' @@ -5137,2 +6233,2 @@ -In file included from ../drivers/gpu/host1x/dev.c:23: -In file included from ../include/trace/events/host1x.h:267: +In file included from ../fs/fs-writeback.c:81: +In file included from ../include/trace/events/writeback.h:861: @@ -5141,4 +6237 @@ -../include/trace/events/host1x.h:49:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/writeback.h:96:1: error: use of undeclared identifier 'trace_event_guard' @@ -5151,2 +6244,2 @@ -In file included from ../drivers/gpu/host1x/dev.c:23: -In file included from ../include/trace/events/host1x.h:267: +In file included from ../fs/fs-writeback.c:81: +In file included from ../include/trace/events/writeback.h:861: @@ -5155,2 +6248,2 @@ -../include/trace/events/host1x.h:70:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 70 | TRACE_EVENT(host1x_cdma_push_wide, +../include/trace/events/writeback.h:179:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 179 | TRACE_EVENT(inode_foreign_history, @@ -5167,2 +6260,2 @@ -In file included from ../drivers/gpu/host1x/dev.c:23: -In file included from ../include/trace/events/host1x.h:267: +In file included from ../fs/fs-writeback.c:81: +In file included from ../include/trace/events/writeback.h:861: @@ -5171 +6264 @@ -../include/trace/events/host1x.h:70:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/writeback.h:179:1: error: use of undeclared identifier 'preempt_notrace' @@ -5181,2 +6274,2 @@ -In file included from ../drivers/gpu/host1x/dev.c:23: -In file included from ../include/trace/events/host1x.h:267: +In file included from ../fs/fs-writeback.c:81: +In file included from ../include/trace/events/writeback.h:861: @@ -5185 +6278 @@ -../include/trace/events/host1x.h:70:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/writeback.h:179:1: error: use of undeclared identifier 'trace_event_guard' @@ -5195,2 +6288,2 @@ -In file included from ../drivers/gpu/host1x/dev.c:23: -In file included from ../include/trace/events/host1x.h:267: +In file included from ../fs/fs-writeback.c:81: +In file included from ../include/trace/events/writeback.h:861: @@ -5199 +6292 @@ -../include/trace/events/host1x.h:70:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/writeback.h:179:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -5209,2 +6302,2 @@ -In file included from ../drivers/gpu/host1x/dev.c:23: -In file included from ../include/trace/events/host1x.h:267: +In file included from ../fs/fs-writeback.c:81: +In file included from ../include/trace/events/writeback.h:861: @@ -5213 +6306 @@ -../include/trace/events/host1x.h:70:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/writeback.h:179:1: error: use of undeclared identifier 'preempt_notrace' @@ -5223,2 +6316,2 @@ -In file included from ../drivers/gpu/host1x/dev.c:23: -In file included from ../include/trace/events/host1x.h:267: +In file included from ../fs/fs-writeback.c:81: +In file included from ../include/trace/events/writeback.h:861: @@ -5227 +6320 @@ -../include/trace/events/host1x.h:70:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/writeback.h:179:1: error: use of undeclared identifier 'trace_event_guard' @@ -5237,2 +6330,2 @@ -In file included from ../drivers/gpu/host1x/dev.c:23: -In file included from ../include/trace/events/host1x.h:267: +In file included from ../fs/fs-writeback.c:81: +In file included from ../include/trace/events/writeback.h:861: @@ -5241,2 +6334,2 @@ -../include/trace/events/host1x.h:96:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 96 | TRACE_EVENT(host1x_cdma_push_gather, +../include/trace/events/writeback.h:208:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 208 | TRACE_EVENT(inode_switch_wbs, @@ -5255,2 +6348,2 @@ -make[6]: *** [../scripts/Makefile.build:244: drivers/gpu/host1x/dev.o] Error 1 -make[5]: *** [../scripts/Makefile.build:485: drivers/gpu/host1x] Error 2 +make[4]: *** [../scripts/Makefile.build:244: fs/fs-writeback.o] Error 1 +make[4]: *** Waiting for unfinished jobs.... @@ -5431,2 +6524,2 @@ -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: @@ -5439,2 +6532,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -5442,2 +6535,2 @@ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -5447,2 +6540,2 @@ -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: @@ -5453,2 +6546,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -5456,2 +6549,2 @@ -../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -5461,3 +6554,3 @@ -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/soc/qcom/trace-aoss.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/soc/qcom/trace-aoss.h:14:1: error: use of undeclared identifier 'trace_event_guard' @@ -5467,2 +6560,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -5470,2 +6563,2 @@ -../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -5475,2 +6568,2 @@ -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: @@ -5481,2 +6574,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -5484,2 +6577,2 @@ -../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ +../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -5489,2 +6582,2 @@ -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: @@ -5495,2 +6588,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -5498,2 +6591,2 @@ -../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ +../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -5503,3 +6596,3 @@ -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/soc/qcom/trace-aoss.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/soc/qcom/trace-aoss.h:14:1: error: use of undeclared identifier 'trace_event_guard' @@ -5509,2 +6602,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -5512,2 +6605,2 @@ -../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ +../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -5517,2 +6610,2 @@ -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: @@ -5525,2 +6618,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -5528,2 +6621,2 @@ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -5535,2 +6628,2 @@ -In file included from ../kernel/softirq.c:35: -In file included from ../include/trace/events/irq.h:213: +In file included from ../mm/oom_kill.c:54: +In file included from ../include/trace/events/oom.h:223: @@ -5539,2 +6632,2 @@ -../include/trace/events/irq.h:53:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 53 | TRACE_EVENT(irq_handler_entry, +../include/trace/events/oom.h:12:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 12 | TRACE_EVENT(oom_score_adj_update, @@ -5551,2 +6644,2 @@ -In file included from ../kernel/softirq.c:35: -In file included from ../include/trace/events/irq.h:213: +In file included from ../mm/oom_kill.c:54: +In file included from ../include/trace/events/oom.h:223: @@ -5555 +6648 @@ -../include/trace/events/irq.h:53:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/oom.h:12:1: error: use of undeclared identifier 'preempt_notrace' @@ -5565,2 +6658,2 @@ -In file included from ../kernel/softirq.c:35: -In file included from ../include/trace/events/irq.h:213: +In file included from ../mm/oom_kill.c:54: +In file included from ../include/trace/events/oom.h:223: @@ -5569 +6662 @@ -../include/trace/events/irq.h:53:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/oom.h:12:1: error: use of undeclared identifier 'trace_event_guard' @@ -5579,2 +6672,2 @@ -In file included from ../kernel/softirq.c:35: -In file included from ../include/trace/events/irq.h:213: +In file included from ../mm/oom_kill.c:54: +In file included from ../include/trace/events/oom.h:223: @@ -5583 +6676 @@ -../include/trace/events/irq.h:53:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/oom.h:12:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -5593,2 +6686,2 @@ -In file included from ../kernel/softirq.c:35: -In file included from ../include/trace/events/irq.h:213: +In file included from ../mm/oom_kill.c:54: +In file included from ../include/trace/events/oom.h:223: @@ -5597 +6690 @@ -../include/trace/events/irq.h:53:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/oom.h:12:1: error: use of undeclared identifier 'preempt_notrace' @@ -5607,2 +6700,2 @@ -In file included from ../kernel/softirq.c:35: -In file included from ../include/trace/events/irq.h:213: +In file included from ../mm/oom_kill.c:54: +In file included from ../include/trace/events/oom.h:223: @@ -5611 +6704 @@ -../include/trace/events/irq.h:53:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/oom.h:12:1: error: use of undeclared identifier 'trace_event_guard' @@ -5621,2 +6714,2 @@ -In file included from ../kernel/softirq.c:35: -In file included from ../include/trace/events/irq.h:213: +In file included from ../mm/oom_kill.c:54: +In file included from ../include/trace/events/oom.h:223: @@ -5625,2 +6718,2 @@ -../include/trace/events/irq.h:83:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 83 | TRACE_EVENT(irq_handler_exit, +../include/trace/events/oom.h:34:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 34 | TRACE_EVENT(reclaim_retry_zone, @@ -5637,2 +6730,2 @@ -In file included from ../kernel/softirq.c:35: -In file included from ../include/trace/events/irq.h:213: +In file included from ../mm/oom_kill.c:54: +In file included from ../include/trace/events/oom.h:223: @@ -5641 +6734 @@ -../include/trace/events/irq.h:83:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/oom.h:34:1: error: use of undeclared identifier 'preempt_notrace' @@ -5651,2 +6744,2 @@ -In file included from ../kernel/softirq.c:35: -In file included from ../include/trace/events/irq.h:213: +In file included from ../mm/oom_kill.c:54: +In file included from ../include/trace/events/oom.h:223: @@ -5655 +6748 @@ -../include/trace/events/irq.h:83:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/oom.h:34:1: error: use of undeclared identifier 'trace_event_guard' @@ -5665,2 +6758,2 @@ -In file included from ../kernel/softirq.c:35: -In file included from ../include/trace/events/irq.h:213: +In file included from ../mm/oom_kill.c:54: +In file included from ../include/trace/events/oom.h:223: @@ -5669 +6762 @@ -../include/trace/events/irq.h:83:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/oom.h:34:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -5679,2 +6772,2 @@ -In file included from ../kernel/softirq.c:35: -In file included from ../include/trace/events/irq.h:213: +In file included from ../mm/oom_kill.c:54: +In file included from ../include/trace/events/oom.h:223: @@ -5683 +6776 @@ -../include/trace/events/irq.h:83:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/oom.h:34:1: error: use of undeclared identifier 'preempt_notrace' @@ -5693,2 +6786,2 @@ -In file included from ../kernel/softirq.c:35: -In file included from ../include/trace/events/irq.h:213: +In file included from ../mm/oom_kill.c:54: +In file included from ../include/trace/events/oom.h:223: @@ -5697 +6790 @@ -../include/trace/events/irq.h:83:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/oom.h:34:1: error: use of undeclared identifier 'trace_event_guard' @@ -5707,2 +6800,2 @@ -In file included from ../kernel/softirq.c:35: -In file included from ../include/trace/events/irq.h:213: +In file included from ../mm/oom_kill.c:54: +In file included from ../include/trace/events/oom.h:223: @@ -5711,2 +6804,2 @@ -../include/trace/events/irq.h:103:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 103 | DECLARE_EVENT_CLASS(softirq, +../include/trace/events/oom.h:76:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 76 | TRACE_EVENT(mark_victim, @@ -5713,0 +6807,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -5720,2 +6816,2 @@ -In file included from ../kernel/softirq.c:35: -In file included from ../include/trace/events/irq.h:213: +In file included from ../mm/oom_kill.c:54: +In file included from ../include/trace/events/oom.h:223: @@ -5724 +6820,4 @@ -../include/trace/events/irq.h:103:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/oom.h:76:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -5731,2 +6830,2 @@ -In file included from ../kernel/softirq.c:35: -In file included from ../include/trace/events/irq.h:213: +In file included from ../mm/oom_kill.c:54: +In file included from ../include/trace/events/oom.h:223: @@ -5735 +6834,4 @@ -../include/trace/events/irq.h:103:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/oom.h:76:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -5742,2 +6844,2 @@ -In file included from ../kernel/softirq.c:35: -In file included from ../include/trace/events/irq.h:213: +In file included from ../mm/oom_kill.c:54: +In file included from ../include/trace/events/oom.h:223: @@ -5746 +6848,4 @@ -../include/trace/events/irq.h:103:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/oom.h:76:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -5753,2 +6858,2 @@ -In file included from ../kernel/softirq.c:35: -In file included from ../include/trace/events/irq.h:213: +In file included from ../mm/oom_kill.c:54: +In file included from ../include/trace/events/oom.h:223: @@ -5757 +6862,4 @@ -../include/trace/events/irq.h:103:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/oom.h:76:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -5764,2 +6872,2 @@ -In file included from ../kernel/softirq.c:35: -In file included from ../include/trace/events/irq.h:213: +In file included from ../mm/oom_kill.c:54: +In file included from ../include/trace/events/oom.h:223: @@ -5768 +6876,4 @@ -../include/trace/events/irq.h:103:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/oom.h:76:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -5775,2 +6886,2 @@ -In file included from ../kernel/softirq.c:35: -In file included from ../include/trace/events/irq.h:213: +In file included from ../mm/oom_kill.c:54: +In file included from ../include/trace/events/oom.h:223: @@ -5779,2 +6890,2 @@ -../include/trace/events/irq.h:163:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 163 | DECLARE_EVENT_CLASS(tasklet, +../include/trace/events/oom.h:118:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 118 | TRACE_EVENT(wake_reaper, @@ -5781,0 +6893,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -5790,5 +6904,3 @@ -make[4]: *** [../scripts/Makefile.build:244: kernel/softirq.o] Error 1 -make[4]: *** Waiting for unfinished jobs.... -In file included from ../drivers/dma/fsl-edma-trace.c:4: -In file included from ../drivers/dma/fsl-edma-common.h:342: -In file included from ../drivers/dma/fsl-edma-trace.h:132: +make[4]: *** [../scripts/Makefile.build:244: mm/oom_kill.o] Error 1 +In file included from ../block/blk-core.c:45: +In file included from ../include/trace/events/block.h:609: @@ -5797,2 +6909,2 @@ -../drivers/dma/fsl-edma-trace.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 15 | DECLARE_EVENT_CLASS(edma_log_io, +../include/trace/events/block.h:24:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 24 | DECLARE_EVENT_CLASS(block_buffer, @@ -5806,3 +6918,2 @@ -In file included from ../drivers/dma/fsl-edma-trace.c:4: -In file included from ../drivers/dma/fsl-edma-common.h:342: -In file included from ../drivers/dma/fsl-edma-trace.h:132: +In file included from ../block/blk-core.c:45: +In file included from ../include/trace/events/block.h:609: @@ -5811 +6922 @@ -../drivers/dma/fsl-edma-trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/block.h:24:1: error: use of undeclared identifier 'preempt_notrace' @@ -5818,3 +6929,2 @@ -In file included from ../drivers/dma/fsl-edma-trace.c:4: -In file included from ../drivers/dma/fsl-edma-common.h:342: -In file included from ../drivers/dma/fsl-edma-trace.h:132: +In file included from ../block/blk-core.c:45: +In file included from ../include/trace/events/block.h:609: @@ -5823 +6933 @@ -../drivers/dma/fsl-edma-trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/block.h:24:1: error: use of undeclared identifier 'trace_event_guard' @@ -5830,3 +6940,2 @@ -In file included from ../drivers/dma/fsl-edma-trace.c:4: -In file included from ../drivers/dma/fsl-edma-common.h:342: -In file included from ../drivers/dma/fsl-edma-trace.h:132: +In file included from ../block/blk-core.c:45: +In file included from ../include/trace/events/block.h:609: @@ -5835 +6944 @@ -../drivers/dma/fsl-edma-trace.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/block.h:24:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -5842,3 +6951,2 @@ -In file included from ../drivers/dma/fsl-edma-trace.c:4: -In file included from ../drivers/dma/fsl-edma-common.h:342: -In file included from ../drivers/dma/fsl-edma-trace.h:132: +In file included from ../block/blk-core.c:45: +In file included from ../include/trace/events/block.h:609: @@ -5847 +6955 @@ -../drivers/dma/fsl-edma-trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/block.h:24:1: error: use of undeclared identifier 'preempt_notrace' @@ -5854,3 +6962,2 @@ -In file included from ../drivers/dma/fsl-edma-trace.c:4: -In file included from ../drivers/dma/fsl-edma-common.h:342: -In file included from ../drivers/dma/fsl-edma-trace.h:132: +In file included from ../block/blk-core.c:45: +In file included from ../include/trace/events/block.h:609: @@ -5859 +6966 @@ -../drivers/dma/fsl-edma-trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/block.h:24:1: error: use of undeclared identifier 'trace_event_guard' @@ -5866,3 +6973,2 @@ -In file included from ../drivers/dma/fsl-edma-trace.c:4: -In file included from ../drivers/dma/fsl-edma-common.h:342: -In file included from ../drivers/dma/fsl-edma-trace.h:132: +In file included from ../block/blk-core.c:45: +In file included from ../include/trace/events/block.h:609: @@ -5871,2 +6977,2 @@ -../drivers/dma/fsl-edma-trace.h:62:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 62 | DECLARE_EVENT_CLASS(edma_log_tcd, +../include/trace/events/block.h:83:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 83 | TRACE_EVENT(block_rq_requeue, @@ -5873,0 +6980,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -5880,3 +6989,2 @@ -In file included from ../drivers/dma/fsl-edma-trace.c:4: -In file included from ../drivers/dma/fsl-edma-common.h:342: -In file included from ../drivers/dma/fsl-edma-trace.h:132: +In file included from ../block/blk-core.c:45: +In file included from ../include/trace/events/block.h:609: @@ -5885 +6993,4 @@ -../drivers/dma/fsl-edma-trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/block.h:83:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -5892,3 +7003,2 @@ -In file included from ../drivers/dma/fsl-edma-trace.c:4: -In file included from ../drivers/dma/fsl-edma-common.h:342: -In file included from ../drivers/dma/fsl-edma-trace.h:132: +In file included from ../block/blk-core.c:45: +In file included from ../include/trace/events/block.h:609: @@ -5897 +7007,4 @@ -../drivers/dma/fsl-edma-trace.h:62:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/block.h:83:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -5904,3 +7017,2 @@ -In file included from ../drivers/dma/fsl-edma-trace.c:4: -In file included from ../drivers/dma/fsl-edma-common.h:342: -In file included from ../drivers/dma/fsl-edma-trace.h:132: +In file included from ../block/blk-core.c:45: +In file included from ../include/trace/events/block.h:609: @@ -5909 +7021,4 @@ -../drivers/dma/fsl-edma-trace.h:62:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/block.h:83:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -5916,3 +7031,2 @@ -In file included from ../drivers/dma/fsl-edma-trace.c:4: -In file included from ../drivers/dma/fsl-edma-common.h:342: -In file included from ../drivers/dma/fsl-edma-trace.h:132: +In file included from ../block/blk-core.c:45: +In file included from ../include/trace/events/block.h:609: @@ -5921 +7035,4 @@ -../drivers/dma/fsl-edma-trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/block.h:83:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -5928,3 +7045,2 @@ -In file included from ../drivers/dma/fsl-edma-trace.c:4: -In file included from ../drivers/dma/fsl-edma-common.h:342: -In file included from ../drivers/dma/fsl-edma-trace.h:132: +In file included from ../block/blk-core.c:45: +In file included from ../include/trace/events/block.h:609: @@ -5933 +7049,4 @@ -../drivers/dma/fsl-edma-trace.h:62:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/block.h:83:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -5940,7 +7059,6 @@ -In file included from ../drivers/dma/fsl-edma-trace.c:4: -In file included from ../drivers/dma/fsl-edma-common.h:342: -In file included from ../drivers/dma/fsl-edma-trace.h:132: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/dma/fsl-edma-trace.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 15 | DECLARE_EVENT_CLASS(edma_log_io, +In file included from ../block/blk-core.c:45: +In file included from ../include/trace/events/block.h:609: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/block.h:118:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 118 | DECLARE_EVENT_CLASS(block_rq_completion, @@ -5948,2 +7066,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -5951,2 +7069,2 @@ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -5954,8 +7072,7 @@ -In file included from ../drivers/dma/fsl-edma-trace.c:4: -In file included from ../drivers/dma/fsl-edma-common.h:342: -In file included from ../drivers/dma/fsl-edma-trace.h:132: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/dma/fsl-edma-trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +In file included from ../block/blk-core.c:45: +In file included from ../include/trace/events/block.h:609: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/block.h:118:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -5963,2 +7080,2 @@ -../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -5966,8 +7083,7 @@ -In file included from ../drivers/dma/fsl-edma-trace.c:4: -In file included from ../drivers/dma/fsl-edma-common.h:342: -In file included from ../drivers/dma/fsl-edma-trace.h:132: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/dma/fsl-edma-trace.h:15:1: error: use of undeclared identifier 'bpf_trace_guard' -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +In file included from ../block/blk-core.c:45: +In file included from ../include/trace/events/block.h:609: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/block.h:118:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -5975,2 +7091,2 @@ -../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -5978,8 +7094,7 @@ -In file included from ../drivers/dma/fsl-edma-trace.c:4: -In file included from ../drivers/dma/fsl-edma-common.h:342: -In file included from ../drivers/dma/fsl-edma-trace.h:132: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/dma/fsl-edma-trace.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +In file included from ../block/blk-core.c:45: +In file included from ../include/trace/events/block.h:609: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/block.h:118:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -5987,2 +7102,2 @@ -../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ +../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -5990,8 +7105,7 @@ -In file included from ../drivers/dma/fsl-edma-trace.c:4: -In file included from ../drivers/dma/fsl-edma-common.h:342: -In file included from ../drivers/dma/fsl-edma-trace.h:132: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/dma/fsl-edma-trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +In file included from ../block/blk-core.c:45: +In file included from ../include/trace/events/block.h:609: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/block.h:118:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -5999,2 +7113,2 @@ -../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ +../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -6002,8 +7116,7 @@ -In file included from ../drivers/dma/fsl-edma-trace.c:4: -In file included from ../drivers/dma/fsl-edma-common.h:342: -In file included from ../drivers/dma/fsl-edma-trace.h:132: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/dma/fsl-edma-trace.h:15:1: error: use of undeclared identifier 'bpf_trace_guard' -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +In file included from ../block/blk-core.c:45: +In file included from ../include/trace/events/block.h:609: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/block.h:118:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -6011,2 +7124,2 @@ -../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ +../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -6014,7 +7127,6 @@ -In file included from ../drivers/dma/fsl-edma-trace.c:4: -In file included from ../drivers/dma/fsl-edma-common.h:342: -In file included from ../drivers/dma/fsl-edma-trace.h:132: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/dma/fsl-edma-trace.h:62:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 62 | DECLARE_EVENT_CLASS(edma_log_tcd, +In file included from ../block/blk-core.c:45: +In file included from ../include/trace/events/block.h:609: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/block.h:190:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 190 | DECLARE_EVENT_CLASS(block_rq, @@ -6022,2 +7134,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -6025,2 +7137,2 @@ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -6030,2 +7142,2 @@ -make[5]: *** [../scripts/Makefile.build:244: drivers/dma/fsl-edma-trace.o] Error 1 -make[5]: *** Waiting for unfinished jobs.... +make[4]: *** [../scripts/Makefile.build:244: block/blk-core.o] Error 1 +make[4]: *** Waiting for unfinished jobs.... @@ -6292,2 +7404,2 @@ -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: @@ -6300,2 +7412,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -6303,2 +7415,2 @@ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -6309,2 +7421,2 @@ -In file included from ../mm/filemap.c:54: -In file included from ../include/trace/events/filemap.h:118: +In file included from ../drivers/iommu/intel/trace.c:14: +In file included from ../drivers/iommu/intel/trace.h:196: @@ -6313,2 +7425,2 @@ -../include/trace/events/filemap.h:16:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 16 | DECLARE_EVENT_CLASS(mm_filemap_op_page_cache, +../drivers/iommu/intel/trace.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 21 | TRACE_EVENT(qi_submit, @@ -6315,0 +7428,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -6322,2 +7437,2 @@ -In file included from ../mm/filemap.c:54: -In file included from ../include/trace/events/filemap.h:118: +In file included from ../drivers/iommu/intel/trace.c:14: +In file included from ../drivers/iommu/intel/trace.h:196: @@ -6326 +7441,4 @@ -../include/trace/events/filemap.h:16:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/iommu/intel/trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -6333,2 +7451,2 @@ -In file included from ../mm/filemap.c:54: -In file included from ../include/trace/events/filemap.h:118: +In file included from ../drivers/iommu/intel/trace.c:14: +In file included from ../drivers/iommu/intel/trace.h:196: @@ -6337 +7455,4 @@ -../include/trace/events/filemap.h:16:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/iommu/intel/trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -6344,2 +7465,2 @@ -In file included from ../mm/filemap.c:54: -In file included from ../include/trace/events/filemap.h:118: +In file included from ../drivers/iommu/intel/trace.c:14: +In file included from ../drivers/iommu/intel/trace.h:196: @@ -6348 +7469,4 @@ -../include/trace/events/filemap.h:16:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/iommu/intel/trace.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -6355,2 +7479,2 @@ -In file included from ../mm/filemap.c:54: -In file included from ../include/trace/events/filemap.h:118: +In file included from ../drivers/iommu/intel/trace.c:14: +In file included from ../drivers/iommu/intel/trace.h:196: @@ -6359 +7483,4 @@ -../include/trace/events/filemap.h:16:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/iommu/intel/trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -6366,2 +7493,2 @@ -In file included from ../mm/filemap.c:54: -In file included from ../include/trace/events/filemap.h:118: +In file included from ../drivers/iommu/intel/trace.c:14: +In file included from ../drivers/iommu/intel/trace.h:196: @@ -6370 +7497,4 @@ -../include/trace/events/filemap.h:16:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/iommu/intel/trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -6377,2 +7507,2 @@ -In file included from ../mm/filemap.c:54: -In file included from ../include/trace/events/filemap.h:118: +In file included from ../drivers/iommu/intel/trace.c:14: +In file included from ../drivers/iommu/intel/trace.h:196: @@ -6381,2 +7511,2 @@ -../include/trace/events/filemap.h:59:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 59 | TRACE_EVENT(filemap_set_wb_err, +../drivers/iommu/intel/trace.h:58:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 58 | TRACE_EVENT(prq_report, @@ -6393,2 +7523,2 @@ -In file included from ../mm/filemap.c:54: -In file included from ../include/trace/events/filemap.h:118: +In file included from ../drivers/iommu/intel/trace.c:14: +In file included from ../drivers/iommu/intel/trace.h:196: @@ -6397 +7527 @@ -../include/trace/events/filemap.h:59:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/iommu/intel/trace.h:58:1: error: use of undeclared identifier 'preempt_notrace' @@ -6407,2 +7537,2 @@ -In file included from ../mm/filemap.c:54: -In file included from ../include/trace/events/filemap.h:118: +In file included from ../drivers/iommu/intel/trace.c:14: +In file included from ../drivers/iommu/intel/trace.h:196: @@ -6411 +7541 @@ -../include/trace/events/filemap.h:59:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/iommu/intel/trace.h:58:1: error: use of undeclared identifier 'trace_event_guard' @@ -6421,2 +7551,2 @@ -In file included from ../mm/filemap.c:54: -In file included from ../include/trace/events/filemap.h:118: +In file included from ../drivers/iommu/intel/trace.c:14: +In file included from ../drivers/iommu/intel/trace.h:196: @@ -6425 +7555 @@ -../include/trace/events/filemap.h:59:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/iommu/intel/trace.h:58:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -6435,2 +7565,2 @@ -In file included from ../mm/filemap.c:54: -In file included from ../include/trace/events/filemap.h:118: +In file included from ../drivers/iommu/intel/trace.c:14: +In file included from ../drivers/iommu/intel/trace.h:196: @@ -6439 +7569 @@ -../include/trace/events/filemap.h:59:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/iommu/intel/trace.h:58:1: error: use of undeclared identifier 'preempt_notrace' @@ -6449,2 +7579,2 @@ -In file included from ../mm/filemap.c:54: -In file included from ../include/trace/events/filemap.h:118: +In file included from ../drivers/iommu/intel/trace.c:14: +In file included from ../drivers/iommu/intel/trace.h:196: @@ -6453 +7583 @@ -../include/trace/events/filemap.h:59:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/iommu/intel/trace.h:58:1: error: use of undeclared identifier 'trace_event_guard' @@ -6463,2 +7593,2 @@ -In file included from ../mm/filemap.c:54: -In file included from ../include/trace/events/filemap.h:118: +In file included from ../drivers/iommu/intel/trace.c:14: +In file included from ../drivers/iommu/intel/trace.h:196: @@ -6467,2 +7597,2 @@ -../include/trace/events/filemap.h:84:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 84 | TRACE_EVENT(file_check_and_advance_wb_err, +../drivers/iommu/intel/trace.h:93:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 93 | DECLARE_EVENT_CLASS(cache_tag_log, @@ -6470,3 +7599,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -6479,2 +7606,2 @@ -In file included from ../mm/filemap.c:54: -In file included from ../include/trace/events/filemap.h:118: +In file included from ../drivers/iommu/intel/trace.c:14: +In file included from ../drivers/iommu/intel/trace.h:196: @@ -6483,4 +7610 @@ -../include/trace/events/filemap.h:84:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/iommu/intel/trace.h:93:1: error: use of undeclared identifier 'preempt_notrace' @@ -6493,2 +7617,2 @@ -In file included from ../mm/filemap.c:54: -In file included from ../include/trace/events/filemap.h:118: +In file included from ../drivers/iommu/intel/trace.c:14: +In file included from ../drivers/iommu/intel/trace.h:196: @@ -6497,4 +7621 @@ -../include/trace/events/filemap.h:84:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/iommu/intel/trace.h:93:1: error: use of undeclared identifier 'trace_event_guard' @@ -6507,2 +7628,2 @@ -In file included from ../mm/filemap.c:54: -In file included from ../include/trace/events/filemap.h:118: +In file included from ../drivers/iommu/intel/trace.c:14: +In file included from ../drivers/iommu/intel/trace.h:196: @@ -6511,4 +7632 @@ -../include/trace/events/filemap.h:84:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/iommu/intel/trace.h:93:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -6521,2 +7639,2 @@ -In file included from ../mm/filemap.c:54: -In file included from ../include/trace/events/filemap.h:118: +In file included from ../drivers/iommu/intel/trace.c:14: +In file included from ../drivers/iommu/intel/trace.h:196: @@ -6525,4 +7643 @@ -../include/trace/events/filemap.h:84:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/iommu/intel/trace.h:93:1: error: use of undeclared identifier 'preempt_notrace' @@ -6535,2 +7650,2 @@ -In file included from ../mm/filemap.c:54: -In file included from ../include/trace/events/filemap.h:118: +In file included from ../drivers/iommu/intel/trace.c:14: +In file included from ../drivers/iommu/intel/trace.h:196: @@ -6539,4 +7654 @@ -../include/trace/events/filemap.h:84:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/iommu/intel/trace.h:93:1: error: use of undeclared identifier 'trace_event_guard' @@ -6549,6 +7661,6 @@ -In file included from ../mm/filemap.c:54: -In file included from ../include/trace/events/filemap.h:118: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/filemap.h:16:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 16 | DECLARE_EVENT_CLASS(mm_filemap_op_page_cache, +In file included from ../drivers/iommu/intel/trace.c:14: +In file included from ../drivers/iommu/intel/trace.h:196: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/iommu/intel/trace.h:138:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 138 | DECLARE_EVENT_CLASS(cache_tag_flush, @@ -6556,2 +7668,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -6559,2 +7671,2 @@ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -6564 +7676,3 @@ -make[4]: *** [../scripts/Makefile.build:244: mm/filemap.o] Error 1 +make[6]: *** [../scripts/Makefile.build:244: drivers/iommu/intel/trace.o] Error 1 +make[5]: *** [../scripts/Makefile.build:485: drivers/iommu/intel] Error 2 +make[4]: *** [../scripts/Makefile.build:485: drivers/iommu] Error 2 @@ -6566,3 +7680,2 @@ -make[4]: *** Waiting for unfinished jobs.... -In file included from ../fs/fs-writeback.c:81: -In file included from ../include/trace/events/writeback.h:861: +In file included from ../arch/x86/kernel/nmi.c:41: +In file included from ../include/trace/events/nmi.h:38: @@ -6571,2 +7684,2 @@ -../include/trace/events/writeback.h:55:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 55 | DECLARE_EVENT_CLASS(writeback_folio_template, +../include/trace/events/nmi.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 11 | TRACE_EVENT(nmi_handler, @@ -6573,0 +7687,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -6580,2 +7696,2 @@ -In file included from ../fs/fs-writeback.c:81: -In file included from ../include/trace/events/writeback.h:861: +In file included from ../arch/x86/kernel/nmi.c:41: +In file included from ../include/trace/events/nmi.h:38: @@ -6584 +7700,4 @@ -../include/trace/events/writeback.h:55:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/nmi.h:11:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -6591,2 +7710,2 @@ -In file included from ../fs/fs-writeback.c:81: -In file included from ../include/trace/events/writeback.h:861: +In file included from ../arch/x86/kernel/nmi.c:41: +In file included from ../include/trace/events/nmi.h:38: @@ -6595 +7714,4 @@ -../include/trace/events/writeback.h:55:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/nmi.h:11:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -6602,2 +7724,2 @@ -In file included from ../fs/fs-writeback.c:81: -In file included from ../include/trace/events/writeback.h:861: +In file included from ../arch/x86/kernel/nmi.c:41: +In file included from ../include/trace/events/nmi.h:38: @@ -6606 +7728,4 @@ -../include/trace/events/writeback.h:55:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/nmi.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -6613,2 +7738,2 @@ -In file included from ../fs/fs-writeback.c:81: -In file included from ../include/trace/events/writeback.h:861: +In file included from ../arch/x86/kernel/nmi.c:41: +In file included from ../include/trace/events/nmi.h:38: @@ -6617 +7742,4 @@ -../include/trace/events/writeback.h:55:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/nmi.h:11:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -6624,2 +7752,2 @@ -In file included from ../fs/fs-writeback.c:81: -In file included from ../include/trace/events/writeback.h:861: +In file included from ../arch/x86/kernel/nmi.c:41: +In file included from ../include/trace/events/nmi.h:38: @@ -6628 +7756,4 @@ -../include/trace/events/writeback.h:55:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/nmi.h:11:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -6635,6 +7766,6 @@ -In file included from ../fs/fs-writeback.c:81: -In file included from ../include/trace/events/writeback.h:861: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/writeback.h:96:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 96 | DECLARE_EVENT_CLASS(writeback_dirty_inode_template, +In file included from ../arch/x86/kernel/nmi.c:41: +In file included from ../include/trace/events/nmi.h:38: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/nmi.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 11 | TRACE_EVENT(nmi_handler, @@ -6642,2 +7773,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -6645,2 +7776,2 @@ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -6648,7 +7779,2 @@ -In file included from ../fs/fs-writeback.c:81: -In file included from ../include/trace/events/writeback.h:861: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/writeback.h:96:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -6656,2 +7782,13 @@ -../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +In file included from ../arch/x86/kernel/nmi.c:41: +In file included from ../include/trace/events/nmi.h:38: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/nmi.h:11:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -6659,7 +7796,7 @@ -In file included from ../fs/fs-writeback.c:81: -In file included from ../include/trace/events/writeback.h:861: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/writeback.h:96:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +In file included from ../arch/x86/kernel/nmi.c:41: +In file included from ../include/trace/events/nmi.h:38: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/nmi.h:11:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -6667,2 +7804,5 @@ -../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -6670,7 +7810,7 @@ -In file included from ../fs/fs-writeback.c:81: -In file included from ../include/trace/events/writeback.h:861: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/writeback.h:96:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +In file included from ../arch/x86/kernel/nmi.c:41: +In file included from ../include/trace/events/nmi.h:38: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/nmi.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -6678,2 +7818,5 @@ -../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -6681,7 +7824,7 @@ -In file included from ../fs/fs-writeback.c:81: -In file included from ../include/trace/events/writeback.h:861: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/writeback.h:96:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +In file included from ../arch/x86/kernel/nmi.c:41: +In file included from ../include/trace/events/nmi.h:38: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/nmi.h:11:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -6689,2 +7832,5 @@ -../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -6692,7 +7838,7 @@ -In file included from ../fs/fs-writeback.c:81: -In file included from ../include/trace/events/writeback.h:861: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/writeback.h:96:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +In file included from ../arch/x86/kernel/nmi.c:41: +In file included from ../include/trace/events/nmi.h:38: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/nmi.h:11:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -6700,2 +7846,5 @@ -../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -6703,6 +7852,6 @@ -In file included from ../fs/fs-writeback.c:81: -In file included from ../include/trace/events/writeback.h:861: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/writeback.h:179:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 179 | TRACE_EVENT(inode_foreign_history, +In file included from ../arch/x86/kernel/nmi.c:41: +In file included from ../include/trace/events/nmi.h:38: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/nmi.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 11 | TRACE_EVENT(nmi_handler, @@ -6713,2 +7862,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) @@ -6716,2 +7865,2 @@ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ @@ -6719,5 +7868,5 @@ -In file included from ../fs/fs-writeback.c:81: -In file included from ../include/trace/events/writeback.h:861: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/writeback.h:179:1: error: use of undeclared identifier 'preempt_notrace' +In file included from ../arch/x86/kernel/nmi.c:41: +In file included from ../include/trace/events/nmi.h:38: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/nmi.h:11:1: error: use of undeclared identifier 'preempt_notrace' @@ -6727,2 +7876,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) @@ -6730,2 +7879,2 @@ -../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ @@ -6733,5 +7882,5 @@ -In file included from ../fs/fs-writeback.c:81: -In file included from ../include/trace/events/writeback.h:861: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/writeback.h:179:1: error: use of undeclared identifier 'trace_event_guard' +In file included from ../arch/x86/kernel/nmi.c:41: +In file included from ../include/trace/events/nmi.h:38: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/nmi.h:11:1: error: use of undeclared identifier 'bpf_trace_guard' @@ -6741,2 +7890,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) @@ -6744,2 +7893,2 @@ -../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ @@ -6747,5 +7896,5 @@ -In file included from ../fs/fs-writeback.c:81: -In file included from ../include/trace/events/writeback.h:861: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/writeback.h:179:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +In file included from ../arch/x86/kernel/nmi.c:41: +In file included from ../include/trace/events/nmi.h:38: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/nmi.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -6755,2 +7904,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) @@ -6758,2 +7907,2 @@ -../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ @@ -6761,5 +7910,5 @@ -In file included from ../fs/fs-writeback.c:81: -In file included from ../include/trace/events/writeback.h:861: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/writeback.h:179:1: error: use of undeclared identifier 'preempt_notrace' +In file included from ../arch/x86/kernel/nmi.c:41: +In file included from ../include/trace/events/nmi.h:38: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/nmi.h:11:1: error: use of undeclared identifier 'preempt_notrace' @@ -6769,2 +7918,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) @@ -6772,2 +7921,2 @@ -../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ @@ -6775,5 +7924,5 @@ -In file included from ../fs/fs-writeback.c:81: -In file included from ../include/trace/events/writeback.h:861: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/writeback.h:179:1: error: use of undeclared identifier 'trace_event_guard' +In file included from ../arch/x86/kernel/nmi.c:41: +In file included from ../include/trace/events/nmi.h:38: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/nmi.h:11:1: error: use of undeclared identifier 'bpf_trace_guard' @@ -6783,2 +7932,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) @@ -6786,2 +7935,2 @@ -../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ @@ -6789,22 +7938,5 @@ -In file included from ../fs/fs-writeback.c:81: -In file included from ../include/trace/events/writeback.h:861: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/writeback.h:208:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 208 | TRACE_EVENT(inode_switch_wbs, - | ^ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ - | ^ -fatal error: too many errors emitted, stopping now [-ferror-limit=] -20 errors generated. -make[4]: *** [../scripts/Makefile.build:244: fs/fs-writeback.o] Error 1 -make[4]: *** Waiting for unfinished jobs.... -In file included from ../drivers/iommu/intel/trace.c:14: -In file included from ../drivers/iommu/intel/trace.h:196: +18 errors generated. +make[5]: *** [../scripts/Makefile.build:244: arch/x86/kernel/nmi.o] Error 1 +make[5]: *** Waiting for unfinished jobs.... +In file included from ../mm/swap.c:44: +In file included from ../include/trace/events/pagemap.h:83: @@ -6813,2 +7945,2 @@ -../drivers/iommu/intel/trace.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 21 | TRACE_EVENT(qi_submit, +../include/trace/events/pagemap.h:28:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 28 | TRACE_EVENT(mm_lru_insertion, @@ -6825,2 +7957,2 @@ -In file included from ../drivers/iommu/intel/trace.c:14: -In file included from ../drivers/iommu/intel/trace.h:196: +In file included from ../mm/swap.c:44: +In file included from ../include/trace/events/pagemap.h:83: @@ -6829 +7961 @@ -../drivers/iommu/intel/trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/pagemap.h:28:1: error: use of undeclared identifier 'preempt_notrace' @@ -6839,2 +7971,2 @@ -In file included from ../drivers/iommu/intel/trace.c:14: -In file included from ../drivers/iommu/intel/trace.h:196: +In file included from ../mm/swap.c:44: +In file included from ../include/trace/events/pagemap.h:83: @@ -6843 +7975 @@ -../drivers/iommu/intel/trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/pagemap.h:28:1: error: use of undeclared identifier 'trace_event_guard' @@ -6853,2 +7985,2 @@ -In file included from ../drivers/iommu/intel/trace.c:14: -In file included from ../drivers/iommu/intel/trace.h:196: +In file included from ../mm/swap.c:44: +In file included from ../include/trace/events/pagemap.h:83: @@ -6857 +7989 @@ -../drivers/iommu/intel/trace.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/pagemap.h:28:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -6867,2 +7999,2 @@ -In file included from ../drivers/iommu/intel/trace.c:14: -In file included from ../drivers/iommu/intel/trace.h:196: +In file included from ../mm/swap.c:44: +In file included from ../include/trace/events/pagemap.h:83: @@ -6871 +8003 @@ -../drivers/iommu/intel/trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/pagemap.h:28:1: error: use of undeclared identifier 'preempt_notrace' @@ -6881,2 +8013,2 @@ -In file included from ../drivers/iommu/intel/trace.c:14: -In file included from ../drivers/iommu/intel/trace.h:196: +In file included from ../mm/swap.c:44: +In file included from ../include/trace/events/pagemap.h:83: @@ -6885 +8017 @@ -../drivers/iommu/intel/trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/pagemap.h:28:1: error: use of undeclared identifier 'trace_event_guard' @@ -6895,2 +8027,2 @@ -In file included from ../drivers/iommu/intel/trace.c:14: -In file included from ../drivers/iommu/intel/trace.h:196: +In file included from ../mm/swap.c:44: +In file included from ../include/trace/events/pagemap.h:83: @@ -6899,2 +8031,2 @@ -../drivers/iommu/intel/trace.h:58:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 58 | TRACE_EVENT(prq_report, +../include/trace/events/pagemap.h:61:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 61 | TRACE_EVENT(mm_lru_activate, @@ -6911,2 +8043,2 @@ -In file included from ../drivers/iommu/intel/trace.c:14: -In file included from ../drivers/iommu/intel/trace.h:196: +In file included from ../mm/swap.c:44: +In file included from ../include/trace/events/pagemap.h:83: @@ -6915 +8047 @@ -../drivers/iommu/intel/trace.h:58:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/pagemap.h:61:1: error: use of undeclared identifier 'preempt_notrace' @@ -6925,2 +8057,2 @@ -In file included from ../drivers/iommu/intel/trace.c:14: -In file included from ../drivers/iommu/intel/trace.h:196: +In file included from ../mm/swap.c:44: +In file included from ../include/trace/events/pagemap.h:83: @@ -6929 +8061 @@ -../drivers/iommu/intel/trace.h:58:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/pagemap.h:61:1: error: use of undeclared identifier 'trace_event_guard' @@ -6939,2 +8071,2 @@ -In file included from ../drivers/iommu/intel/trace.c:14: -In file included from ../drivers/iommu/intel/trace.h:196: +In file included from ../mm/swap.c:44: +In file included from ../include/trace/events/pagemap.h:83: @@ -6943 +8075 @@ -../drivers/iommu/intel/trace.h:58:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/pagemap.h:61:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -6953,2 +8085,2 @@ -In file included from ../drivers/iommu/intel/trace.c:14: -In file included from ../drivers/iommu/intel/trace.h:196: +In file included from ../mm/swap.c:44: +In file included from ../include/trace/events/pagemap.h:83: @@ -6957 +8089 @@ -../drivers/iommu/intel/trace.h:58:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/pagemap.h:61:1: error: use of undeclared identifier 'preempt_notrace' @@ -6967,2 +8099,2 @@ -In file included from ../drivers/iommu/intel/trace.c:14: -In file included from ../drivers/iommu/intel/trace.h:196: +In file included from ../mm/swap.c:44: +In file included from ../include/trace/events/pagemap.h:83: @@ -6971 +8103 @@ -../drivers/iommu/intel/trace.h:58:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/pagemap.h:61:1: error: use of undeclared identifier 'trace_event_guard' @@ -6981,6 +8113,6 @@ -In file included from ../drivers/iommu/intel/trace.c:14: -In file included from ../drivers/iommu/intel/trace.h:196: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/iommu/intel/trace.h:93:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 93 | DECLARE_EVENT_CLASS(cache_tag_log, +In file included from ../mm/swap.c:44: +In file included from ../include/trace/events/pagemap.h:83: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/pagemap.h:28:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 28 | TRACE_EVENT(mm_lru_insertion, @@ -6988,2 +8120,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -6991,2 +8123,2 @@ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -6994,7 +8126,2 @@ -In file included from ../drivers/iommu/intel/trace.c:14: -In file included from ../drivers/iommu/intel/trace.h:196: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/iommu/intel/trace.h:93:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -7002,2 +8129,13 @@ -../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +In file included from ../mm/swap.c:44: +In file included from ../include/trace/events/pagemap.h:83: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/pagemap.h:28:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -7005,7 +8143,7 @@ -In file included from ../drivers/iommu/intel/trace.c:14: -In file included from ../drivers/iommu/intel/trace.h:196: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/iommu/intel/trace.h:93:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +In file included from ../mm/swap.c:44: +In file included from ../include/trace/events/pagemap.h:83: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/pagemap.h:28:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -7013,2 +8151,5 @@ -../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -7016,7 +8157,7 @@ -In file included from ../drivers/iommu/intel/trace.c:14: -In file included from ../drivers/iommu/intel/trace.h:196: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/iommu/intel/trace.h:93:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +In file included from ../mm/swap.c:44: +In file included from ../include/trace/events/pagemap.h:83: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/pagemap.h:28:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -7024,2 +8165,5 @@ -../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -7027,7 +8171,7 @@ -In file included from ../drivers/iommu/intel/trace.c:14: -In file included from ../drivers/iommu/intel/trace.h:196: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/iommu/intel/trace.h:93:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +In file included from ../mm/swap.c:44: +In file included from ../include/trace/events/pagemap.h:83: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/pagemap.h:28:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -7035,2 +8179,5 @@ -../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -7038,7 +8185,7 @@ -In file included from ../drivers/iommu/intel/trace.c:14: -In file included from ../drivers/iommu/intel/trace.h:196: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/iommu/intel/trace.h:93:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +In file included from ../mm/swap.c:44: +In file included from ../include/trace/events/pagemap.h:83: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/pagemap.h:28:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -7046,2 +8193,5 @@ -../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -7049,6 +8199,6 @@ -In file included from ../drivers/iommu/intel/trace.c:14: -In file included from ../drivers/iommu/intel/trace.h:196: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/iommu/intel/trace.h:138:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 138 | DECLARE_EVENT_CLASS(cache_tag_flush, +In file included from ../mm/swap.c:44: +In file included from ../include/trace/events/pagemap.h:83: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/pagemap.h:61:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 61 | TRACE_EVENT(mm_lru_activate, @@ -7056,2 +8206,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -7059,2 +8209,5 @@ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -7064,6 +8217,3 @@ -make[6]: *** [../scripts/Makefile.build:244: drivers/iommu/intel/trace.o] Error 1 -make[5]: *** [../scripts/Makefile.build:485: drivers/iommu/intel] Error 2 -make[5]: *** Waiting for unfinished jobs.... -make[3]: *** [../scripts/Makefile.build:485: fs] Error 2 -In file included from ../drivers/gpio/gpiolib.c:44: -In file included from ../include/trace/events/gpio.h:57: +make[4]: *** [../scripts/Makefile.build:244: mm/swap.o] Error 1 +In file included from ../kernel/softirq.c:35: +In file included from ../include/trace/events/irq.h:213: @@ -7072,2 +8222,2 @@ -../include/trace/events/gpio.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 10 | TRACE_EVENT(gpio_direction, +../include/trace/events/irq.h:53:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 53 | TRACE_EVENT(irq_handler_entry, @@ -7084,2 +8234,2 @@ -In file included from ../drivers/gpio/gpiolib.c:44: -In file included from ../include/trace/events/gpio.h:57: +In file included from ../kernel/softirq.c:35: +In file included from ../include/trace/events/irq.h:213: @@ -7088 +8238 @@ -../include/trace/events/gpio.h:10:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/irq.h:53:1: error: use of undeclared identifier 'preempt_notrace' @@ -7098,2 +8248,2 @@ -In file included from ../drivers/gpio/gpiolib.c:44: -In file included from ../include/trace/events/gpio.h:57: +In file included from ../kernel/softirq.c:35: +In file included from ../include/trace/events/irq.h:213: @@ -7102 +8252 @@ -../include/trace/events/gpio.h:10:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/irq.h:53:1: error: use of undeclared identifier 'trace_event_guard' @@ -7112,2 +8262,2 @@ -In file included from ../drivers/gpio/gpiolib.c:44: -In file included from ../include/trace/events/gpio.h:57: +In file included from ../kernel/softirq.c:35: +In file included from ../include/trace/events/irq.h:213: @@ -7116 +8266 @@ -../include/trace/events/gpio.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/irq.h:53:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -7126,2 +8276,2 @@ -In file included from ../drivers/gpio/gpiolib.c:44: -In file included from ../include/trace/events/gpio.h:57: +In file included from ../kernel/softirq.c:35: +In file included from ../include/trace/events/irq.h:213: @@ -7130 +8280 @@ -../include/trace/events/gpio.h:10:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/irq.h:53:1: error: use of undeclared identifier 'preempt_notrace' @@ -7140,2 +8290,2 @@ -In file included from ../drivers/gpio/gpiolib.c:44: -In file included from ../include/trace/events/gpio.h:57: +In file included from ../kernel/softirq.c:35: +In file included from ../include/trace/events/irq.h:213: @@ -7144 +8294 @@ -../include/trace/events/gpio.h:10:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/irq.h:53:1: error: use of undeclared identifier 'trace_event_guard' @@ -7154,2 +8304,2 @@ -In file included from ../drivers/gpio/gpiolib.c:44: -In file included from ../include/trace/events/gpio.h:57: +In file included from ../kernel/softirq.c:35: +In file included from ../include/trace/events/irq.h:213: @@ -7158,2 +8308,2 @@ -../include/trace/events/gpio.h:32:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 32 | TRACE_EVENT(gpio_value, +../include/trace/events/irq.h:83:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 83 | TRACE_EVENT(irq_handler_exit, @@ -7170,2 +8320,2 @@ -In file included from ../drivers/gpio/gpiolib.c:44: -In file included from ../include/trace/events/gpio.h:57: +In file included from ../kernel/softirq.c:35: +In file included from ../include/trace/events/irq.h:213: @@ -7174 +8324 @@ -../include/trace/events/gpio.h:32:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/irq.h:83:1: error: use of undeclared identifier 'preempt_notrace' @@ -7184,2 +8334,2 @@ -In file included from ../drivers/gpio/gpiolib.c:44: -In file included from ../include/trace/events/gpio.h:57: +In file included from ../kernel/softirq.c:35: +In file included from ../include/trace/events/irq.h:213: @@ -7188 +8338 @@ -../include/trace/events/gpio.h:32:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/irq.h:83:1: error: use of undeclared identifier 'trace_event_guard' @@ -7198,2 +8348,2 @@ -In file included from ../drivers/gpio/gpiolib.c:44: -In file included from ../include/trace/events/gpio.h:57: +In file included from ../kernel/softirq.c:35: +In file included from ../include/trace/events/irq.h:213: @@ -7202 +8352 @@ -../include/trace/events/gpio.h:32:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/irq.h:83:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -7212,2 +8362,2 @@ -In file included from ../drivers/gpio/gpiolib.c:44: -In file included from ../include/trace/events/gpio.h:57: +In file included from ../kernel/softirq.c:35: +In file included from ../include/trace/events/irq.h:213: @@ -7216 +8366 @@ -../include/trace/events/gpio.h:32:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/irq.h:83:1: error: use of undeclared identifier 'preempt_notrace' @@ -7226,2 +8376,2 @@ -In file included from ../drivers/gpio/gpiolib.c:44: -In file included from ../include/trace/events/gpio.h:57: +In file included from ../kernel/softirq.c:35: +In file included from ../include/trace/events/irq.h:213: @@ -7230 +8380 @@ -../include/trace/events/gpio.h:32:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/irq.h:83:1: error: use of undeclared identifier 'trace_event_guard' @@ -7240,6 +8390,6 @@ -In file included from ../drivers/gpio/gpiolib.c:44: -In file included from ../include/trace/events/gpio.h:57: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/gpio.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 10 | TRACE_EVENT(gpio_direction, +In file included from ../kernel/softirq.c:35: +In file included from ../include/trace/events/irq.h:213: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/irq.h:103:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 103 | DECLARE_EVENT_CLASS(softirq, @@ -7247,8 +8397,2 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -7256,7 +8400,2 @@ -In file included from ../drivers/gpio/gpiolib.c:44: -In file included from ../include/trace/events/gpio.h:57: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/gpio.h:10:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -7264,2 +8403,7 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +In file included from ../kernel/softirq.c:35: +In file included from ../include/trace/events/irq.h:213: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/irq.h:103:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -7267,2 +8411,2 @@ -../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -7270,10 +8414,7 @@ -In file included from ../drivers/gpio/gpiolib.c:44: -In file included from ../include/trace/events/gpio.h:57: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/gpio.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +In file included from ../kernel/softirq.c:35: +In file included from ../include/trace/events/irq.h:213: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/irq.h:103:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -7281,2 +8422,2 @@ -../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -7284,10 +8425,7 @@ -In file included from ../drivers/gpio/gpiolib.c:44: -In file included from ../include/trace/events/gpio.h:57: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/gpio.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +In file included from ../kernel/softirq.c:35: +In file included from ../include/trace/events/irq.h:213: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/irq.h:103:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -7295,2 +8433,2 @@ -../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ +../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -7298,10 +8436,7 @@ -In file included from ../drivers/gpio/gpiolib.c:44: -In file included from ../include/trace/events/gpio.h:57: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/gpio.h:10:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +In file included from ../kernel/softirq.c:35: +In file included from ../include/trace/events/irq.h:213: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/irq.h:103:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -7309,2 +8444,2 @@ -../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ +../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -7312,10 +8447,7 @@ -In file included from ../drivers/gpio/gpiolib.c:44: -In file included from ../include/trace/events/gpio.h:57: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/gpio.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +In file included from ../kernel/softirq.c:35: +In file included from ../include/trace/events/irq.h:213: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/irq.h:103:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -7323,2 +8455,2 @@ -../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ +../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -7326,6 +8458,6 @@ -In file included from ../drivers/gpio/gpiolib.c:44: -In file included from ../include/trace/events/gpio.h:57: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/gpio.h:32:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 32 | TRACE_EVENT(gpio_value, +In file included from ../kernel/softirq.c:35: +In file included from ../include/trace/events/irq.h:213: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/irq.h:163:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 163 | DECLARE_EVENT_CLASS(tasklet, @@ -7333,5 +8465,2 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -7339,2 +8468,2 @@ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -7344,4 +8473,4 @@ -make[5]: *** [../scripts/Makefile.build:244: drivers/gpio/gpiolib.o] Error 1 -make[4]: *** [../scripts/Makefile.build:485: drivers/gpio] Error 2 -In file included from ../mm/oom_kill.c:54: -In file included from ../include/trace/events/oom.h:223: +make[4]: *** [../scripts/Makefile.build:244: kernel/softirq.o] Error 1 +make[4]: *** Waiting for unfinished jobs.... +In file included from ../kernel/cpu.c:43: +In file included from ../include/trace/events/cpuhp.h:95: @@ -7350,2 +8479,2 @@ -../include/trace/events/oom.h:12:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 12 | TRACE_EVENT(oom_score_adj_update, +../include/trace/events/cpuhp.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 10 | TRACE_EVENT(cpuhp_enter, @@ -7362,2 +8491,2 @@ -In file included from ../mm/oom_kill.c:54: -In file included from ../include/trace/events/oom.h:223: +In file included from ../kernel/cpu.c:43: +In file included from ../include/trace/events/cpuhp.h:95: @@ -7366 +8495 @@ -../include/trace/events/oom.h:12:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/cpuhp.h:10:1: error: use of undeclared identifier 'preempt_notrace' @@ -7376,2 +8505,2 @@ -In file included from ../mm/oom_kill.c:54: -In file included from ../include/trace/events/oom.h:223: +In file included from ../kernel/cpu.c:43: +In file included from ../include/trace/events/cpuhp.h:95: @@ -7380 +8509 @@ -../include/trace/events/oom.h:12:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/cpuhp.h:10:1: error: use of undeclared identifier 'trace_event_guard' @@ -7390,2 +8519,2 @@ -In file included from ../mm/oom_kill.c:54: -In file included from ../include/trace/events/oom.h:223: +In file included from ../kernel/cpu.c:43: +In file included from ../include/trace/events/cpuhp.h:95: @@ -7394 +8523 @@ -../include/trace/events/oom.h:12:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/cpuhp.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -7404,2 +8533,2 @@ -In file included from ../mm/oom_kill.c:54: -In file included from ../include/trace/events/oom.h:223: +In file included from ../kernel/cpu.c:43: +In file included from ../include/trace/events/cpuhp.h:95: @@ -7408 +8537 @@ -../include/trace/events/oom.h:12:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/cpuhp.h:10:1: error: use of undeclared identifier 'preempt_notrace' @@ -7418,2 +8547,2 @@ -In file included from ../mm/oom_kill.c:54: -In file included from ../include/trace/events/oom.h:223: +In file included from ../kernel/cpu.c:43: +In file included from ../include/trace/events/cpuhp.h:95: @@ -7422 +8551 @@ -../include/trace/events/oom.h:12:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/cpuhp.h:10:1: error: use of undeclared identifier 'trace_event_guard' @@ -7432,2 +8561,2 @@ -In file included from ../mm/oom_kill.c:54: -In file included from ../include/trace/events/oom.h:223: +In file included from ../kernel/cpu.c:43: +In file included from ../include/trace/events/cpuhp.h:95: @@ -7436,2 +8565,2 @@ -../include/trace/events/oom.h:34:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 34 | TRACE_EVENT(reclaim_retry_zone, +../include/trace/events/cpuhp.h:37:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 37 | TRACE_EVENT(cpuhp_multi_enter, @@ -7448,2 +8577,2 @@ -In file included from ../mm/oom_kill.c:54: -In file included from ../include/trace/events/oom.h:223: +In file included from ../kernel/cpu.c:43: +In file included from ../include/trace/events/cpuhp.h:95: @@ -7452 +8581 @@ -../include/trace/events/oom.h:34:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/cpuhp.h:37:1: error: use of undeclared identifier 'preempt_notrace' @@ -7462,2 +8591,2 @@ -In file included from ../mm/oom_kill.c:54: -In file included from ../include/trace/events/oom.h:223: +In file included from ../kernel/cpu.c:43: +In file included from ../include/trace/events/cpuhp.h:95: @@ -7466 +8595 @@ -../include/trace/events/oom.h:34:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/cpuhp.h:37:1: error: use of undeclared identifier 'trace_event_guard' @@ -7476,2 +8605,2 @@ -In file included from ../mm/oom_kill.c:54: -In file included from ../include/trace/events/oom.h:223: +In file included from ../kernel/cpu.c:43: +In file included from ../include/trace/events/cpuhp.h:95: @@ -7480 +8609 @@ -../include/trace/events/oom.h:34:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/cpuhp.h:37:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -7490,2 +8619,2 @@ -In file included from ../mm/oom_kill.c:54: -In file included from ../include/trace/events/oom.h:223: +In file included from ../kernel/cpu.c:43: +In file included from ../include/trace/events/cpuhp.h:95: @@ -7494 +8623 @@ -../include/trace/events/oom.h:34:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/cpuhp.h:37:1: error: use of undeclared identifier 'preempt_notrace' @@ -7504,2 +8633,2 @@ -In file included from ../mm/oom_kill.c:54: -In file included from ../include/trace/events/oom.h:223: +In file included from ../kernel/cpu.c:43: +In file included from ../include/trace/events/cpuhp.h:95: @@ -7508 +8637 @@ -../include/trace/events/oom.h:34:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/cpuhp.h:37:1: error: use of undeclared identifier 'trace_event_guard' @@ -7518,2 +8647,2 @@ -In file included from ../mm/oom_kill.c:54: -In file included from ../include/trace/events/oom.h:223: +In file included from ../kernel/cpu.c:43: +In file included from ../include/trace/events/cpuhp.h:95: @@ -7522,2 +8651,2 @@ -../include/trace/events/oom.h:76:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 76 | TRACE_EVENT(mark_victim, +../include/trace/events/cpuhp.h:65:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 65 | TRACE_EVENT(cpuhp_exit, @@ -7534,2 +8663,2 @@ -In file included from ../mm/oom_kill.c:54: -In file included from ../include/trace/events/oom.h:223: +In file included from ../kernel/cpu.c:43: +In file included from ../include/trace/events/cpuhp.h:95: @@ -7538 +8667 @@ -../include/trace/events/oom.h:76:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/cpuhp.h:65:1: error: use of undeclared identifier 'preempt_notrace' @@ -7548,2 +8677,2 @@ -In file included from ../mm/oom_kill.c:54: -In file included from ../include/trace/events/oom.h:223: +In file included from ../kernel/cpu.c:43: +In file included from ../include/trace/events/cpuhp.h:95: @@ -7552 +8681 @@ -../include/trace/events/oom.h:76:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/cpuhp.h:65:1: error: use of undeclared identifier 'trace_event_guard' @@ -7562,2 +8691,2 @@ -In file included from ../mm/oom_kill.c:54: -In file included from ../include/trace/events/oom.h:223: +In file included from ../kernel/cpu.c:43: +In file included from ../include/trace/events/cpuhp.h:95: @@ -7566 +8695 @@ -../include/trace/events/oom.h:76:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/cpuhp.h:65:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -7576,2 +8705,2 @@ -In file included from ../mm/oom_kill.c:54: -In file included from ../include/trace/events/oom.h:223: +In file included from ../kernel/cpu.c:43: +In file included from ../include/trace/events/cpuhp.h:95: @@ -7580 +8709 @@ -../include/trace/events/oom.h:76:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/cpuhp.h:65:1: error: use of undeclared identifier 'preempt_notrace' @@ -7590,2 +8719,2 @@ -In file included from ../mm/oom_kill.c:54: -In file included from ../include/trace/events/oom.h:223: +In file included from ../kernel/cpu.c:43: +In file included from ../include/trace/events/cpuhp.h:95: @@ -7594 +8723 @@ -../include/trace/events/oom.h:76:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/cpuhp.h:65:1: error: use of undeclared identifier 'trace_event_guard' @@ -7604,6 +8733,6 @@ -In file included from ../mm/oom_kill.c:54: -In file included from ../include/trace/events/oom.h:223: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/oom.h:118:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 118 | TRACE_EVENT(wake_reaper, +In file included from ../kernel/cpu.c:43: +In file included from ../include/trace/events/cpuhp.h:95: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/cpuhp.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 10 | TRACE_EVENT(cpuhp_enter, @@ -7614,2 +8743,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -7617,2 +8746,2 @@ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -7622 +8751 @@ -make[4]: *** [../scripts/Makefile.build:244: mm/oom_kill.o] Error 1 +make[4]: *** [../scripts/Makefile.build:244: kernel/cpu.o] Error 1 @@ -7779,2 +8908,2 @@ -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: @@ -7787,2 +8916,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -7790,2 +8919,2 @@ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -7795,2 +8924,2 @@ -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: @@ -7801,2 +8930,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -7804,2 +8933,2 @@ -../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -7809,3 +8938,3 @@ -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/bpf_test_run.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/bpf_test_run.h:10:1: error: use of undeclared identifier 'trace_event_guard' @@ -7815,2 +8944,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -7818,2 +8947,2 @@ -../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -7823,2 +8952,2 @@ -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: @@ -7829,2 +8958,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -7832,2 +8961,2 @@ -../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ +../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -7837,2 +8966,2 @@ -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: @@ -7843,2 +8972,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -7846,2 +8975,2 @@ -../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ +../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -7851,3 +8980,3 @@ -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/bpf_test_run.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/bpf_test_run.h:10:1: error: use of undeclared identifier 'trace_event_guard' @@ -7857,2 +8986,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -7860,2 +8989,2 @@ -../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ +../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -7865,2 +8994,2 @@ -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: @@ -7870,2 +8999,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -7873,2 +9002,2 @@ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -7880,2 +9009,2 @@ -In file included from ../drivers/cxl/core/trace.c:8: -In file included from ../drivers/cxl/core/trace.h:737: +In file included from ../arch/x86/kernel/irq.c:29: +In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: @@ -7884,2 +9013,70 @@ -../drivers/cxl/core/trace.h:51:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 51 | TRACE_EVENT(cxl_aer_uncorrectable_error, +../arch/x86/include/asm/trace/irq_vectors.h:13:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 13 | DECLARE_EVENT_CLASS(x86_irq_vector, + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../arch/x86/kernel/irq.c:29: +In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../arch/x86/include/asm/trace/irq_vectors.h:13:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../arch/x86/kernel/irq.c:29: +In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../arch/x86/include/asm/trace/irq_vectors.h:13:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../arch/x86/kernel/irq.c:29: +In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../arch/x86/include/asm/trace/irq_vectors.h:13:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../arch/x86/kernel/irq.c:29: +In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../arch/x86/include/asm/trace/irq_vectors.h:13:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../arch/x86/kernel/irq.c:29: +In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../arch/x86/include/asm/trace/irq_vectors.h:13:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../arch/x86/kernel/irq.c:29: +In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../arch/x86/include/asm/trace/irq_vectors.h:126:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 126 | TRACE_EVENT(vector_config, @@ -7896,2 +9093,2 @@ -In file included from ../drivers/cxl/core/trace.c:8: -In file included from ../drivers/cxl/core/trace.h:737: +In file included from ../arch/x86/kernel/irq.c:29: +In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: @@ -7900 +9097 @@ -../drivers/cxl/core/trace.h:51:1: error: use of undeclared identifier 'preempt_notrace' +../arch/x86/include/asm/trace/irq_vectors.h:126:1: error: use of undeclared identifier 'preempt_notrace' @@ -7910,2 +9107,2 @@ -In file included from ../drivers/cxl/core/trace.c:8: -In file included from ../drivers/cxl/core/trace.h:737: +In file included from ../arch/x86/kernel/irq.c:29: +In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: @@ -7914 +9111 @@ -../drivers/cxl/core/trace.h:51:1: error: use of undeclared identifier 'trace_event_guard' +../arch/x86/include/asm/trace/irq_vectors.h:126:1: error: use of undeclared identifier 'trace_event_guard' @@ -7924,2 +9121,2 @@ -In file included from ../drivers/cxl/core/trace.c:8: -In file included from ../drivers/cxl/core/trace.h:737: +In file included from ../arch/x86/kernel/irq.c:29: +In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: @@ -7928 +9125 @@ -../drivers/cxl/core/trace.h:51:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../arch/x86/include/asm/trace/irq_vectors.h:126:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -7938,2 +9135,2 @@ -In file included from ../drivers/cxl/core/trace.c:8: -In file included from ../drivers/cxl/core/trace.h:737: +In file included from ../arch/x86/kernel/irq.c:29: +In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: @@ -7942 +9139 @@ -../drivers/cxl/core/trace.h:51:1: error: use of undeclared identifier 'preempt_notrace' +../arch/x86/include/asm/trace/irq_vectors.h:126:1: error: use of undeclared identifier 'preempt_notrace' @@ -7952,2 +9149,2 @@ -In file included from ../drivers/cxl/core/trace.c:8: -In file included from ../drivers/cxl/core/trace.h:737: +In file included from ../arch/x86/kernel/irq.c:29: +In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: @@ -7956 +9153 @@ -../drivers/cxl/core/trace.h:51:1: error: use of undeclared identifier 'trace_event_guard' +../arch/x86/include/asm/trace/irq_vectors.h:126:1: error: use of undeclared identifier 'trace_event_guard' @@ -7966,2 +9163,2 @@ -In file included from ../drivers/cxl/core/trace.c:8: -In file included from ../drivers/cxl/core/trace.h:737: +In file included from ../arch/x86/kernel/irq.c:29: +In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: @@ -7970,2 +9167,87 @@ -../drivers/cxl/core/trace.h:99:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 99 | TRACE_EVENT(cxl_aer_correctable_error, +../arch/x86/include/asm/trace/irq_vectors.h:152:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 152 | DECLARE_EVENT_CLASS(vector_mod, + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../arch/x86/kernel/irq.c:29: +In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../arch/x86/include/asm/trace/irq_vectors.h:152:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../arch/x86/kernel/irq.c:29: +In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../arch/x86/include/asm/trace/irq_vectors.h:152:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../arch/x86/kernel/irq.c:29: +In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../arch/x86/include/asm/trace/irq_vectors.h:152:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../arch/x86/kernel/irq.c:29: +In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../arch/x86/include/asm/trace/irq_vectors.h:152:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../arch/x86/kernel/irq.c:29: +In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../arch/x86/include/asm/trace/irq_vectors.h:152:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../arch/x86/kernel/irq.c:29: +In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../arch/x86/include/asm/trace/irq_vectors.h:192:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 192 | DECLARE_EVENT_CLASS(vector_reserve, + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. +make[5]: *** [../scripts/Makefile.build:244: arch/x86/kernel/irq.o] Error 1 +make[4]: *** [../scripts/Makefile.build:485: arch/x86/kernel] Error 2 +In file included from ../drivers/gpio/gpiolib.c:44: +In file included from ../include/trace/events/gpio.h:57: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/gpio.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 10 | TRACE_EVENT(gpio_direction, @@ -7982,2 +9264,2 @@ -In file included from ../drivers/cxl/core/trace.c:8: -In file included from ../drivers/cxl/core/trace.h:737: +In file included from ../drivers/gpio/gpiolib.c:44: +In file included from ../include/trace/events/gpio.h:57: @@ -7986 +9268 @@ -../drivers/cxl/core/trace.h:99:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/gpio.h:10:1: error: use of undeclared identifier 'preempt_notrace' @@ -7996,2 +9278,2 @@ -In file included from ../drivers/cxl/core/trace.c:8: -In file included from ../drivers/cxl/core/trace.h:737: +In file included from ../drivers/gpio/gpiolib.c:44: +In file included from ../include/trace/events/gpio.h:57: @@ -8000 +9282 @@ -../drivers/cxl/core/trace.h:99:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/gpio.h:10:1: error: use of undeclared identifier 'trace_event_guard' @@ -8010,2 +9292,2 @@ -In file included from ../drivers/cxl/core/trace.c:8: -In file included from ../drivers/cxl/core/trace.h:737: +In file included from ../drivers/gpio/gpiolib.c:44: +In file included from ../include/trace/events/gpio.h:57: @@ -8014 +9296 @@ -../drivers/cxl/core/trace.h:99:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/gpio.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -8024,2 +9306,2 @@ -In file included from ../drivers/cxl/core/trace.c:8: -In file included from ../drivers/cxl/core/trace.h:737: +In file included from ../drivers/gpio/gpiolib.c:44: +In file included from ../include/trace/events/gpio.h:57: @@ -8028 +9310 @@ -../drivers/cxl/core/trace.h:99:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/gpio.h:10:1: error: use of undeclared identifier 'preempt_notrace' @@ -8038,2 +9320,2 @@ -In file included from ../drivers/cxl/core/trace.c:8: -In file included from ../drivers/cxl/core/trace.h:737: +In file included from ../drivers/gpio/gpiolib.c:44: +In file included from ../include/trace/events/gpio.h:57: @@ -8042 +9324 @@ -../drivers/cxl/core/trace.h:99:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/gpio.h:10:1: error: use of undeclared identifier 'trace_event_guard' @@ -8052,2 +9334,2 @@ -In file included from ../drivers/cxl/core/trace.c:8: -In file included from ../drivers/cxl/core/trace.h:737: +In file included from ../drivers/gpio/gpiolib.c:44: +In file included from ../include/trace/events/gpio.h:57: @@ -8056,2 +9338,2 @@ -../drivers/cxl/core/trace.h:127:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 127 | TRACE_EVENT(cxl_overflow, +../include/trace/events/gpio.h:32:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 32 | TRACE_EVENT(gpio_value, @@ -8068,2 +9350,2 @@ -In file included from ../drivers/cxl/core/trace.c:8: -In file included from ../drivers/cxl/core/trace.h:737: +In file included from ../drivers/gpio/gpiolib.c:44: +In file included from ../include/trace/events/gpio.h:57: @@ -8072 +9354 @@ -../drivers/cxl/core/trace.h:127:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/gpio.h:32:1: error: use of undeclared identifier 'preempt_notrace' @@ -8082,2 +9364,2 @@ -In file included from ../drivers/cxl/core/trace.c:8: -In file included from ../drivers/cxl/core/trace.h:737: +In file included from ../drivers/gpio/gpiolib.c:44: +In file included from ../include/trace/events/gpio.h:57: @@ -8086 +9368 @@ -../drivers/cxl/core/trace.h:127:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/gpio.h:32:1: error: use of undeclared identifier 'trace_event_guard' @@ -8096,2 +9378,2 @@ -In file included from ../drivers/cxl/core/trace.c:8: -In file included from ../drivers/cxl/core/trace.h:737: +In file included from ../drivers/gpio/gpiolib.c:44: +In file included from ../include/trace/events/gpio.h:57: @@ -8100 +9382 @@ -../drivers/cxl/core/trace.h:127:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/gpio.h:32:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -8110,2 +9392,2 @@ -In file included from ../drivers/cxl/core/trace.c:8: -In file included from ../drivers/cxl/core/trace.h:737: +In file included from ../drivers/gpio/gpiolib.c:44: +In file included from ../include/trace/events/gpio.h:57: @@ -8114 +9396 @@ -../drivers/cxl/core/trace.h:127:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/gpio.h:32:1: error: use of undeclared identifier 'preempt_notrace' @@ -8124,2 +9406,2 @@ -In file included from ../drivers/cxl/core/trace.c:8: -In file included from ../drivers/cxl/core/trace.h:737: +In file included from ../drivers/gpio/gpiolib.c:44: +In file included from ../include/trace/events/gpio.h:57: @@ -8128 +9410 @@ -../drivers/cxl/core/trace.h:127:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/gpio.h:32:1: error: use of undeclared identifier 'trace_event_guard' @@ -8138,6 +9420,6 @@ -In file included from ../drivers/cxl/core/trace.c:8: -In file included from ../drivers/cxl/core/trace.h:737: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/cxl/core/trace.h:225:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 225 | TRACE_EVENT(cxl_generic_event, +In file included from ../drivers/gpio/gpiolib.c:44: +In file included from ../include/trace/events/gpio.h:57: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/gpio.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 10 | TRACE_EVENT(gpio_direction, @@ -8148,2 +9430,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -8151,2 +9433,88 @@ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/gpio/gpiolib.c:44: +In file included from ../include/trace/events/gpio.h:57: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/gpio.h:10:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/gpio/gpiolib.c:44: +In file included from ../include/trace/events/gpio.h:57: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/gpio.h:10:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/gpio/gpiolib.c:44: +In file included from ../include/trace/events/gpio.h:57: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/gpio.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/gpio/gpiolib.c:44: +In file included from ../include/trace/events/gpio.h:57: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/gpio.h:10:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/gpio/gpiolib.c:44: +In file included from ../include/trace/events/gpio.h:57: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/gpio.h:10:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/gpio/gpiolib.c:44: +In file included from ../include/trace/events/gpio.h:57: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/gpio.h:32:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 32 | TRACE_EVENT(gpio_value, + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -8156,3 +9524,2 @@ -make[6]: *** [../scripts/Makefile.build:244: drivers/cxl/core/trace.o] Error 1 -make[5]: *** [../scripts/Makefile.build:485: drivers/cxl/core] Error 2 -make[4]: *** [../scripts/Makefile.build:485: drivers/cxl] Error 2 +make[5]: *** [../scripts/Makefile.build:244: drivers/gpio/gpiolib.o] Error 1 +make[4]: *** [../scripts/Makefile.build:485: drivers/gpio] Error 2 @@ -8437,2 +9804,2 @@ -In file included from ../drivers/dma-buf/sw_sync.c:17: -In file included from ../drivers/dma-buf/sync_trace.h:33: +In file included from ../drivers/base/regmap/regmap.c:23: +In file included from ../drivers/base/regmap/trace.h:284: @@ -8441,2 +9808,2 @@ -../drivers/dma-buf/sync_trace.h:12:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 12 | TRACE_EVENT(sync_timeline, +../drivers/base/regmap/trace.h:16:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 16 | DECLARE_EVENT_CLASS(regmap_reg, @@ -8444,3 +9810,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -8453,2 +9817,2 @@ -In file included from ../drivers/dma-buf/sw_sync.c:17: -In file included from ../drivers/dma-buf/sync_trace.h:33: +In file included from ../drivers/base/regmap/regmap.c:23: +In file included from ../drivers/base/regmap/trace.h:284: @@ -8457,4 +9821 @@ -../drivers/dma-buf/sync_trace.h:12:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/base/regmap/trace.h:16:1: error: use of undeclared identifier 'preempt_notrace' @@ -8467,2 +9828,2 @@ -In file included from ../drivers/dma-buf/sw_sync.c:17: -In file included from ../drivers/dma-buf/sync_trace.h:33: +In file included from ../drivers/base/regmap/regmap.c:23: +In file included from ../drivers/base/regmap/trace.h:284: @@ -8471,4 +9832 @@ -../drivers/dma-buf/sync_trace.h:12:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/base/regmap/trace.h:16:1: error: use of undeclared identifier 'trace_event_guard' @@ -8481,2 +9839,2 @@ -In file included from ../drivers/dma-buf/sw_sync.c:17: -In file included from ../drivers/dma-buf/sync_trace.h:33: +In file included from ../drivers/base/regmap/regmap.c:23: +In file included from ../drivers/base/regmap/trace.h:284: @@ -8485,4 +9843 @@ -../drivers/dma-buf/sync_trace.h:12:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/base/regmap/trace.h:16:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -8495,2 +9850,2 @@ -In file included from ../drivers/dma-buf/sw_sync.c:17: -In file included from ../drivers/dma-buf/sync_trace.h:33: +In file included from ../drivers/base/regmap/regmap.c:23: +In file included from ../drivers/base/regmap/trace.h:284: @@ -8499,4 +9854 @@ -../drivers/dma-buf/sync_trace.h:12:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/base/regmap/trace.h:16:1: error: use of undeclared identifier 'preempt_notrace' @@ -8509,2 +9861,2 @@ -In file included from ../drivers/dma-buf/sw_sync.c:17: -In file included from ../drivers/dma-buf/sync_trace.h:33: +In file included from ../drivers/base/regmap/regmap.c:23: +In file included from ../drivers/base/regmap/trace.h:284: @@ -8513,4 +9865 @@ -../drivers/dma-buf/sync_trace.h:12:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/base/regmap/trace.h:16:1: error: use of undeclared identifier 'trace_event_guard' @@ -8523,91 +9872,2 @@ -In file included from ../drivers/dma-buf/sw_sync.c:17: -In file included from ../drivers/dma-buf/sync_trace.h:33: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/dma-buf/sync_trace.h:12:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 12 | TRACE_EVENT(sync_timeline, - | ^ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ - | ^ -In file included from ../drivers/dma-buf/sw_sync.c:17: -In file included from ../drivers/dma-buf/sync_trace.h:33: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/dma-buf/sync_trace.h:12:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ - | ^ -In file included from ../drivers/dma-buf/sw_sync.c:17: -In file included from ../drivers/dma-buf/sync_trace.h:33: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/dma-buf/sync_trace.h:12:1: error: use of undeclared identifier 'bpf_trace_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ - | ^ -In file included from ../drivers/dma-buf/sw_sync.c:17: -In file included from ../drivers/dma-buf/sync_trace.h:33: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/dma-buf/sync_trace.h:12:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ - | ^ -In file included from ../drivers/dma-buf/sw_sync.c:17: -In file included from ../drivers/dma-buf/sync_trace.h:33: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/dma-buf/sync_trace.h:12:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ - | ^ -In file included from ../drivers/dma-buf/sw_sync.c:17: -In file included from ../drivers/dma-buf/sync_trace.h:33: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/dma-buf/sync_trace.h:12:1: error: use of undeclared identifier 'bpf_trace_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ - | ^ -12 errors generated. -make[5]: *** [../scripts/Makefile.build:244: drivers/dma-buf/sw_sync.o] Error 1 -make[4]: *** [../scripts/Makefile.build:485: drivers/dma-buf] Error 2 -In file included from ../kernel/cpu.c:43: -In file included from ../include/trace/events/cpuhp.h:95: +In file included from ../drivers/base/regmap/regmap.c:23: +In file included from ../drivers/base/regmap/trace.h:284: @@ -8616,2 +9876,2 @@ -../include/trace/events/cpuhp.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 10 | TRACE_EVENT(cpuhp_enter, +../drivers/base/regmap/trace.h:62:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 62 | DECLARE_EVENT_CLASS(regmap_bulk, @@ -8619,3 +9878,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -8628,2 +9885,2 @@ -In file included from ../kernel/cpu.c:43: -In file included from ../include/trace/events/cpuhp.h:95: +In file included from ../drivers/base/regmap/regmap.c:23: +In file included from ../drivers/base/regmap/trace.h:284: @@ -8632,4 +9889 @@ -../include/trace/events/cpuhp.h:10:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/base/regmap/trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' @@ -8642,2 +9896,2 @@ -In file included from ../kernel/cpu.c:43: -In file included from ../include/trace/events/cpuhp.h:95: +In file included from ../drivers/base/regmap/regmap.c:23: +In file included from ../drivers/base/regmap/trace.h:284: @@ -8646,4 +9900 @@ -../include/trace/events/cpuhp.h:10:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/base/regmap/trace.h:62:1: error: use of undeclared identifier 'trace_event_guard' @@ -8656,2 +9907,2 @@ -In file included from ../kernel/cpu.c:43: -In file included from ../include/trace/events/cpuhp.h:95: +In file included from ../drivers/base/regmap/regmap.c:23: +In file included from ../drivers/base/regmap/trace.h:284: @@ -8660,4 +9911 @@ -../include/trace/events/cpuhp.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/base/regmap/trace.h:62:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -8670,2 +9918,2 @@ -In file included from ../kernel/cpu.c:43: -In file included from ../include/trace/events/cpuhp.h:95: +In file included from ../drivers/base/regmap/regmap.c:23: +In file included from ../drivers/base/regmap/trace.h:284: @@ -8674,4 +9922 @@ -../include/trace/events/cpuhp.h:10:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/base/regmap/trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' @@ -8684,2 +9929,2 @@ -In file included from ../kernel/cpu.c:43: -In file included from ../include/trace/events/cpuhp.h:95: +In file included from ../drivers/base/regmap/regmap.c:23: +In file included from ../drivers/base/regmap/trace.h:284: @@ -8688,4 +9933 @@ -../include/trace/events/cpuhp.h:10:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/base/regmap/trace.h:62:1: error: use of undeclared identifier 'trace_event_guard' @@ -8698,2 +9940,2 @@ -In file included from ../kernel/cpu.c:43: -In file included from ../include/trace/events/cpuhp.h:95: +In file included from ../drivers/base/regmap/regmap.c:23: +In file included from ../drivers/base/regmap/trace.h:284: @@ -8702,2 +9944,2 @@ -../include/trace/events/cpuhp.h:37:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 37 | TRACE_EVENT(cpuhp_multi_enter, +../drivers/base/regmap/trace.h:103:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 103 | DECLARE_EVENT_CLASS(regmap_block, @@ -8705,3 +9946,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -8714,2 +9953,2 @@ -In file included from ../kernel/cpu.c:43: -In file included from ../include/trace/events/cpuhp.h:95: +In file included from ../drivers/base/regmap/regmap.c:23: +In file included from ../drivers/base/regmap/trace.h:284: @@ -8718,4 +9957 @@ -../include/trace/events/cpuhp.h:37:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/base/regmap/trace.h:103:1: error: use of undeclared identifier 'preempt_notrace' @@ -8728,2 +9964,2 @@ -In file included from ../kernel/cpu.c:43: -In file included from ../include/trace/events/cpuhp.h:95: +In file included from ../drivers/base/regmap/regmap.c:23: +In file included from ../drivers/base/regmap/trace.h:284: @@ -8732,4 +9968 @@ -../include/trace/events/cpuhp.h:37:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/base/regmap/trace.h:103:1: error: use of undeclared identifier 'trace_event_guard' @@ -8742,2 +9975,2 @@ -In file included from ../kernel/cpu.c:43: -In file included from ../include/trace/events/cpuhp.h:95: +In file included from ../drivers/base/regmap/regmap.c:23: +In file included from ../drivers/base/regmap/trace.h:284: @@ -8746,4 +9979 @@ -../include/trace/events/cpuhp.h:37:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/base/regmap/trace.h:103:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -8756,2 +9986,2 @@ -In file included from ../kernel/cpu.c:43: -In file included from ../include/trace/events/cpuhp.h:95: +In file included from ../drivers/base/regmap/regmap.c:23: +In file included from ../drivers/base/regmap/trace.h:284: @@ -8760,4 +9990 @@ -../include/trace/events/cpuhp.h:37:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/base/regmap/trace.h:103:1: error: use of undeclared identifier 'preempt_notrace' @@ -8770,2 +9997,2 @@ -In file included from ../kernel/cpu.c:43: -In file included from ../include/trace/events/cpuhp.h:95: +In file included from ../drivers/base/regmap/regmap.c:23: +In file included from ../drivers/base/regmap/trace.h:284: @@ -8774,4 +10001 @@ -../include/trace/events/cpuhp.h:37:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/base/regmap/trace.h:103:1: error: use of undeclared identifier 'trace_event_guard' @@ -8784,2 +10008,2 @@ -In file included from ../kernel/cpu.c:43: -In file included from ../include/trace/events/cpuhp.h:95: +In file included from ../drivers/base/regmap/regmap.c:23: +In file included from ../drivers/base/regmap/trace.h:284: @@ -8788,2 +10012,2 @@ -../include/trace/events/cpuhp.h:65:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 65 | TRACE_EVENT(cpuhp_exit, +../drivers/base/regmap/trace.h:152:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 152 | TRACE_EVENT(regcache_sync, @@ -8800,2 +10024,7 @@ -In file included from ../kernel/cpu.c:43: -In file included from ../include/trace/events/cpuhp.h:95: +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. +make[6]: *** [../scripts/Makefile.build:244: drivers/base/regmap/regmap.o] Error 1 +make[5]: *** [../scripts/Makefile.build:485: drivers/base/regmap] Error 2 +make[5]: *** Waiting for unfinished jobs.... +In file included from ../sound/pci/hda/hda_controller.c:32: +In file included from ../sound/pci/hda/hda_controller_trace.h:99: @@ -8804 +10033,17 @@ -../include/trace/events/cpuhp.h:65:1: error: use of undeclared identifier 'preempt_notrace' +../sound/pci/hda/hda_controller_trace.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 14 | TRACE_EVENT(azx_pcm_trigger, + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../sound/pci/hda/hda_controller.c:32: +In file included from ../sound/pci/hda/hda_controller_trace.h:99: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../sound/pci/hda/hda_controller_trace.h:14:1: error: use of undeclared identifier 'preempt_notrace' @@ -8814,2 +10059,2 @@ -In file included from ../kernel/cpu.c:43: -In file included from ../include/trace/events/cpuhp.h:95: +In file included from ../sound/pci/hda/hda_controller.c:32: +In file included from ../sound/pci/hda/hda_controller_trace.h:99: @@ -8818 +10063 @@ -../include/trace/events/cpuhp.h:65:1: error: use of undeclared identifier 'trace_event_guard' +../sound/pci/hda/hda_controller_trace.h:14:1: error: use of undeclared identifier 'trace_event_guard' @@ -8828,2 +10073,2 @@ -In file included from ../kernel/cpu.c:43: -In file included from ../include/trace/events/cpuhp.h:95: +In file included from ../sound/pci/hda/hda_controller.c:32: +In file included from ../sound/pci/hda/hda_controller_trace.h:99: @@ -8832 +10077 @@ -../include/trace/events/cpuhp.h:65:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../sound/pci/hda/hda_controller_trace.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -8842,2 +10087,2 @@ -In file included from ../kernel/cpu.c:43: -In file included from ../include/trace/events/cpuhp.h:95: +In file included from ../sound/pci/hda/hda_controller.c:32: +In file included from ../sound/pci/hda/hda_controller_trace.h:99: @@ -8846 +10091 @@ -../include/trace/events/cpuhp.h:65:1: error: use of undeclared identifier 'preempt_notrace' +../sound/pci/hda/hda_controller_trace.h:14:1: error: use of undeclared identifier 'preempt_notrace' @@ -8856,2 +10101,2 @@ -In file included from ../kernel/cpu.c:43: -In file included from ../include/trace/events/cpuhp.h:95: +In file included from ../sound/pci/hda/hda_controller.c:32: +In file included from ../sound/pci/hda/hda_controller_trace.h:99: @@ -8860 +10105 @@ -../include/trace/events/cpuhp.h:65:1: error: use of undeclared identifier 'trace_event_guard' +../sound/pci/hda/hda_controller_trace.h:14:1: error: use of undeclared identifier 'trace_event_guard' @@ -8870,6 +10115,6 @@ -In file included from ../kernel/cpu.c:43: -In file included from ../include/trace/events/cpuhp.h:95: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/cpuhp.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 10 | TRACE_EVENT(cpuhp_enter, +In file included from ../sound/pci/hda/hda_controller.c:32: +In file included from ../sound/pci/hda/hda_controller_trace.h:99: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../sound/pci/hda/hda_controller_trace.h:35:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 35 | TRACE_EVENT(azx_get_position, @@ -8880,16 +10124,0 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ - | ^ -fatal error: too many errors emitted, stopping now [-ferror-limit=] -20 errors generated. -make[4]: *** [../scripts/Makefile.build:244: kernel/cpu.o] Error 1 -In file included from ../drivers/iommu/iommu-traces.c:13: -In file included from ../include/trace/events/iommu.h:162: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/iommu.h:18:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 18 | DECLARE_EVENT_CLASS(iommu_group_event, - | ^ @@ -8902,2 +10131,2 @@ -In file included from ../drivers/iommu/iommu-traces.c:13: -In file included from ../include/trace/events/iommu.h:162: +In file included from ../sound/pci/hda/hda_controller.c:32: +In file included from ../sound/pci/hda/hda_controller_trace.h:99: @@ -8906 +10135,4 @@ -../include/trace/events/iommu.h:18:1: error: use of undeclared identifier 'preempt_notrace' +../sound/pci/hda/hda_controller_trace.h:35:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -8913,2 +10145,2 @@ -In file included from ../drivers/iommu/iommu-traces.c:13: -In file included from ../include/trace/events/iommu.h:162: +In file included from ../sound/pci/hda/hda_controller.c:32: +In file included from ../sound/pci/hda/hda_controller_trace.h:99: @@ -8917 +10149,4 @@ -../include/trace/events/iommu.h:18:1: error: use of undeclared identifier 'trace_event_guard' +../sound/pci/hda/hda_controller_trace.h:35:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -8924,2 +10159,2 @@ -In file included from ../drivers/iommu/iommu-traces.c:13: -In file included from ../include/trace/events/iommu.h:162: +In file included from ../sound/pci/hda/hda_controller.c:32: +In file included from ../sound/pci/hda/hda_controller_trace.h:99: @@ -8928 +10163,4 @@ -../include/trace/events/iommu.h:18:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../sound/pci/hda/hda_controller_trace.h:35:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -8935,2 +10173,2 @@ -In file included from ../drivers/iommu/iommu-traces.c:13: -In file included from ../include/trace/events/iommu.h:162: +In file included from ../sound/pci/hda/hda_controller.c:32: +In file included from ../sound/pci/hda/hda_controller_trace.h:99: @@ -8939 +10177,4 @@ -../include/trace/events/iommu.h:18:1: error: use of undeclared identifier 'preempt_notrace' +../sound/pci/hda/hda_controller_trace.h:35:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -8946,2 +10187,2 @@ -In file included from ../drivers/iommu/iommu-traces.c:13: -In file included from ../include/trace/events/iommu.h:162: +In file included from ../sound/pci/hda/hda_controller.c:32: +In file included from ../sound/pci/hda/hda_controller_trace.h:99: @@ -8950 +10191,4 @@ -../include/trace/events/iommu.h:18:1: error: use of undeclared identifier 'trace_event_guard' +../sound/pci/hda/hda_controller_trace.h:35:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -8957,2 +10201,2 @@ -In file included from ../drivers/iommu/iommu-traces.c:13: -In file included from ../include/trace/events/iommu.h:162: +In file included from ../sound/pci/hda/hda_controller.c:32: +In file included from ../sound/pci/hda/hda_controller_trace.h:99: @@ -8961,2 +10205,2 @@ -../include/trace/events/iommu.h:54:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 54 | DECLARE_EVENT_CLASS(iommu_device_event, +../sound/pci/hda/hda_controller_trace.h:58:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 58 | DECLARE_EVENT_CLASS(azx_pcm, @@ -8970,2 +10214,2 @@ -In file included from ../drivers/iommu/iommu-traces.c:13: -In file included from ../include/trace/events/iommu.h:162: +In file included from ../sound/pci/hda/hda_controller.c:32: +In file included from ../sound/pci/hda/hda_controller_trace.h:99: @@ -8974 +10218 @@ -../include/trace/events/iommu.h:54:1: error: use of undeclared identifier 'preempt_notrace' +../sound/pci/hda/hda_controller_trace.h:58:1: error: use of undeclared identifier 'preempt_notrace' @@ -8981,2 +10225,2 @@ -In file included from ../drivers/iommu/iommu-traces.c:13: -In file included from ../include/trace/events/iommu.h:162: +In file included from ../sound/pci/hda/hda_controller.c:32: +In file included from ../sound/pci/hda/hda_controller_trace.h:99: @@ -8985 +10229 @@ -../include/trace/events/iommu.h:54:1: error: use of undeclared identifier 'trace_event_guard' +../sound/pci/hda/hda_controller_trace.h:58:1: error: use of undeclared identifier 'trace_event_guard' @@ -8992,2 +10236,2 @@ -In file included from ../drivers/iommu/iommu-traces.c:13: -In file included from ../include/trace/events/iommu.h:162: +In file included from ../sound/pci/hda/hda_controller.c:32: +In file included from ../sound/pci/hda/hda_controller_trace.h:99: @@ -8996 +10240 @@ -../include/trace/events/iommu.h:54:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../sound/pci/hda/hda_controller_trace.h:58:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -9003,2 +10247,2 @@ -In file included from ../drivers/iommu/iommu-traces.c:13: -In file included from ../include/trace/events/iommu.h:162: +In file included from ../sound/pci/hda/hda_controller.c:32: +In file included from ../sound/pci/hda/hda_controller_trace.h:99: @@ -9007 +10251 @@ -../include/trace/events/iommu.h:54:1: error: use of undeclared identifier 'preempt_notrace' +../sound/pci/hda/hda_controller_trace.h:58:1: error: use of undeclared identifier 'preempt_notrace' @@ -9014,2 +10258,2 @@ -In file included from ../drivers/iommu/iommu-traces.c:13: -In file included from ../include/trace/events/iommu.h:162: +In file included from ../sound/pci/hda/hda_controller.c:32: +In file included from ../sound/pci/hda/hda_controller_trace.h:99: @@ -9018 +10262 @@ -../include/trace/events/iommu.h:54:1: error: use of undeclared identifier 'trace_event_guard' +../sound/pci/hda/hda_controller_trace.h:58:1: error: use of undeclared identifier 'trace_event_guard' @@ -9025,2 +10269,23 @@ -In file included from ../drivers/iommu/iommu-traces.c:13: -In file included from ../include/trace/events/iommu.h:162: +In file included from ../sound/pci/hda/hda_controller.c:32: +In file included from ../sound/pci/hda/hda_controller_trace.h:99: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../sound/pci/hda/hda_controller_trace.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 14 | TRACE_EVENT(azx_pcm_trigger, + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. +make[6]: *** [../scripts/Makefile.build:244: sound/pci/hda/hda_controller.o] Error 1 +make[5]: *** [../scripts/Makefile.build:485: sound/pci/hda] Error 2 +make[4]: *** [../scripts/Makefile.build:485: sound/pci] Error 2 +In file included from ../drivers/dma-buf/sw_sync.c:17: +In file included from ../drivers/dma-buf/sync_trace.h:33: @@ -9029,2 +10294,2 @@ -../include/trace/events/iommu.h:79:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 79 | TRACE_EVENT(map, +../drivers/dma-buf/sync_trace.h:12:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 12 | TRACE_EVENT(sync_timeline, @@ -9041,2 +10306,2 @@ -In file included from ../drivers/iommu/iommu-traces.c:13: -In file included from ../include/trace/events/iommu.h:162: +In file included from ../drivers/dma-buf/sw_sync.c:17: +In file included from ../drivers/dma-buf/sync_trace.h:33: @@ -9045 +10310 @@ -../include/trace/events/iommu.h:79:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/dma-buf/sync_trace.h:12:1: error: use of undeclared identifier 'preempt_notrace' @@ -9055,2 +10320,2 @@ -In file included from ../drivers/iommu/iommu-traces.c:13: -In file included from ../include/trace/events/iommu.h:162: +In file included from ../drivers/dma-buf/sw_sync.c:17: +In file included from ../drivers/dma-buf/sync_trace.h:33: @@ -9059 +10324 @@ -../include/trace/events/iommu.h:79:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/dma-buf/sync_trace.h:12:1: error: use of undeclared identifier 'trace_event_guard' @@ -9069,2 +10334,2 @@ -In file included from ../drivers/iommu/iommu-traces.c:13: -In file included from ../include/trace/events/iommu.h:162: +In file included from ../drivers/dma-buf/sw_sync.c:17: +In file included from ../drivers/dma-buf/sync_trace.h:33: @@ -9073 +10338 @@ -../include/trace/events/iommu.h:79:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/dma-buf/sync_trace.h:12:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -9083,2 +10348,2 @@ -In file included from ../drivers/iommu/iommu-traces.c:13: -In file included from ../include/trace/events/iommu.h:162: +In file included from ../drivers/dma-buf/sw_sync.c:17: +In file included from ../drivers/dma-buf/sync_trace.h:33: @@ -9087 +10352 @@ -../include/trace/events/iommu.h:79:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/dma-buf/sync_trace.h:12:1: error: use of undeclared identifier 'preempt_notrace' @@ -9097,2 +10362,2 @@ -In file included from ../drivers/iommu/iommu-traces.c:13: -In file included from ../include/trace/events/iommu.h:162: +In file included from ../drivers/dma-buf/sw_sync.c:17: +In file included from ../drivers/dma-buf/sync_trace.h:33: @@ -9101 +10366 @@ -../include/trace/events/iommu.h:79:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/dma-buf/sync_trace.h:12:1: error: use of undeclared identifier 'trace_event_guard' @@ -9111,6 +10376,6 @@ -In file included from ../drivers/iommu/iommu-traces.c:13: -In file included from ../include/trace/events/iommu.h:162: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/iommu.h:103:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 103 | TRACE_EVENT(unmap, +In file included from ../drivers/dma-buf/sw_sync.c:17: +In file included from ../drivers/dma-buf/sync_trace.h:33: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/dma-buf/sync_trace.h:12:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 12 | TRACE_EVENT(sync_timeline, @@ -9121,5 +10386,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -9127,13 +10389,2 @@ -fatal error: too many errors emitted, stopping now [-ferror-limit=] -20 errors generated. -make[5]: *** [../scripts/Makefile.build:244: drivers/iommu/iommu-traces.o] Error 1 -make[4]: *** [../scripts/Makefile.build:485: drivers/iommu] Error 2 -In file included from ../arch/x86/kernel/irq.c:29: -In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../arch/x86/include/asm/trace/irq_vectors.h:13:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 13 | DECLARE_EVENT_CLASS(x86_irq_vector, - | ^ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -9141,2 +10392,7 @@ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +In file included from ../drivers/dma-buf/sw_sync.c:17: +In file included from ../drivers/dma-buf/sync_trace.h:33: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/dma-buf/sync_trace.h:12:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -9144,7 +10400,2 @@ -In file included from ../arch/x86/kernel/irq.c:29: -In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../arch/x86/include/asm/trace/irq_vectors.h:13:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -9152,2 +10403,2 @@ -../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -9155,7 +10406,7 @@ -In file included from ../arch/x86/kernel/irq.c:29: -In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../arch/x86/include/asm/trace/irq_vectors.h:13:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +In file included from ../drivers/dma-buf/sw_sync.c:17: +In file included from ../drivers/dma-buf/sync_trace.h:33: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/dma-buf/sync_trace.h:12:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -9163,2 +10414,5 @@ -../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -9166,7 +10420,7 @@ -In file included from ../arch/x86/kernel/irq.c:29: -In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../arch/x86/include/asm/trace/irq_vectors.h:13:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +In file included from ../drivers/dma-buf/sw_sync.c:17: +In file included from ../drivers/dma-buf/sync_trace.h:33: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/dma-buf/sync_trace.h:12:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -9174,2 +10428,5 @@ -../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -9177,7 +10434,7 @@ -In file included from ../arch/x86/kernel/irq.c:29: -In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../arch/x86/include/asm/trace/irq_vectors.h:13:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +In file included from ../drivers/dma-buf/sw_sync.c:17: +In file included from ../drivers/dma-buf/sync_trace.h:33: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/dma-buf/sync_trace.h:12:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -9185,2 +10442,5 @@ -../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -9188,7 +10448,7 @@ -In file included from ../arch/x86/kernel/irq.c:29: -In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../arch/x86/include/asm/trace/irq_vectors.h:13:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +In file included from ../drivers/dma-buf/sw_sync.c:17: +In file included from ../drivers/dma-buf/sync_trace.h:33: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/dma-buf/sync_trace.h:12:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -9196,2 +10456,5 @@ -../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -9199,6 +10462,6 @@ -In file included from ../arch/x86/kernel/irq.c:29: -In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../arch/x86/include/asm/trace/irq_vectors.h:126:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 126 | TRACE_EVENT(vector_config, +In file included from ../drivers/dma-buf/sw_sync.c:17: +In file included from ../drivers/dma-buf/sync_trace.h:33: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/dma-buf/sync_trace.h:12:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 12 | TRACE_EVENT(sync_timeline, @@ -9209,2 +10472,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) @@ -9212,2 +10475,2 @@ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ @@ -9215,5 +10478,5 @@ -In file included from ../arch/x86/kernel/irq.c:29: -In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../arch/x86/include/asm/trace/irq_vectors.h:126:1: error: use of undeclared identifier 'preempt_notrace' +In file included from ../drivers/dma-buf/sw_sync.c:17: +In file included from ../drivers/dma-buf/sync_trace.h:33: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/dma-buf/sync_trace.h:12:1: error: use of undeclared identifier 'preempt_notrace' @@ -9223,2 +10486,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) @@ -9226,2 +10489,2 @@ -../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ @@ -9229,5 +10492,5 @@ -In file included from ../arch/x86/kernel/irq.c:29: -In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../arch/x86/include/asm/trace/irq_vectors.h:126:1: error: use of undeclared identifier 'trace_event_guard' +In file included from ../drivers/dma-buf/sw_sync.c:17: +In file included from ../drivers/dma-buf/sync_trace.h:33: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/dma-buf/sync_trace.h:12:1: error: use of undeclared identifier 'bpf_trace_guard' @@ -9237,2 +10500,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) @@ -9240,2 +10503,2 @@ -../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ @@ -9243,5 +10506,5 @@ -In file included from ../arch/x86/kernel/irq.c:29: -In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../arch/x86/include/asm/trace/irq_vectors.h:126:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +In file included from ../drivers/dma-buf/sw_sync.c:17: +In file included from ../drivers/dma-buf/sync_trace.h:33: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/dma-buf/sync_trace.h:12:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -9251,2 +10514,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) @@ -9254,2 +10517,2 @@ -../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ @@ -9257,5 +10520,5 @@ -In file included from ../arch/x86/kernel/irq.c:29: -In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../arch/x86/include/asm/trace/irq_vectors.h:126:1: error: use of undeclared identifier 'preempt_notrace' +In file included from ../drivers/dma-buf/sw_sync.c:17: +In file included from ../drivers/dma-buf/sync_trace.h:33: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/dma-buf/sync_trace.h:12:1: error: use of undeclared identifier 'preempt_notrace' @@ -9265,2 +10528,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) @@ -9268,2 +10531,2 @@ -../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ @@ -9271,5 +10534,5 @@ -In file included from ../arch/x86/kernel/irq.c:29: -In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../arch/x86/include/asm/trace/irq_vectors.h:126:1: error: use of undeclared identifier 'trace_event_guard' +In file included from ../drivers/dma-buf/sw_sync.c:17: +In file included from ../drivers/dma-buf/sync_trace.h:33: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/dma-buf/sync_trace.h:12:1: error: use of undeclared identifier 'bpf_trace_guard' @@ -9279,2 +10542,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) @@ -9282,2 +10545,2 @@ -../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ @@ -9285,2 +10548,5 @@ -In file included from ../arch/x86/kernel/irq.c:29: -In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: +18 errors generated. +make[5]: *** [../scripts/Makefile.build:244: drivers/dma-buf/sw_sync.o] Error 1 +make[4]: *** [../scripts/Makefile.build:485: drivers/dma-buf] Error 2 +In file included from ../drivers/block/nbd.c:50: +In file included from ../include/trace/events/nbd.h:107: @@ -9289,2 +10555,2 @@ -../arch/x86/include/asm/trace/irq_vectors.h:152:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 152 | DECLARE_EVENT_CLASS(vector_mod, +../include/trace/events/nbd.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 10 | DECLARE_EVENT_CLASS(nbd_transport_event, @@ -9298,2 +10564,2 @@ -In file included from ../arch/x86/kernel/irq.c:29: -In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: +In file included from ../drivers/block/nbd.c:50: +In file included from ../include/trace/events/nbd.h:107: @@ -9302 +10568 @@ -../arch/x86/include/asm/trace/irq_vectors.h:152:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/nbd.h:10:1: error: use of undeclared identifier 'preempt_notrace' @@ -9309,2 +10575,2 @@ -In file included from ../arch/x86/kernel/irq.c:29: -In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: +In file included from ../drivers/block/nbd.c:50: +In file included from ../include/trace/events/nbd.h:107: @@ -9313 +10579 @@ -../arch/x86/include/asm/trace/irq_vectors.h:152:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/nbd.h:10:1: error: use of undeclared identifier 'trace_event_guard' @@ -9320,2 +10586,2 @@ -In file included from ../arch/x86/kernel/irq.c:29: -In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: +In file included from ../drivers/block/nbd.c:50: +In file included from ../include/trace/events/nbd.h:107: @@ -9324 +10590 @@ -../arch/x86/include/asm/trace/irq_vectors.h:152:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/nbd.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -9331,2 +10597,2 @@ -In file included from ../arch/x86/kernel/irq.c:29: -In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: +In file included from ../drivers/block/nbd.c:50: +In file included from ../include/trace/events/nbd.h:107: @@ -9335 +10601 @@ -../arch/x86/include/asm/trace/irq_vectors.h:152:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/nbd.h:10:1: error: use of undeclared identifier 'preempt_notrace' @@ -9342,2 +10608,2 @@ -In file included from ../arch/x86/kernel/irq.c:29: -In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: +In file included from ../drivers/block/nbd.c:50: +In file included from ../include/trace/events/nbd.h:107: @@ -9346 +10612 @@ -../arch/x86/include/asm/trace/irq_vectors.h:152:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/nbd.h:10:1: error: use of undeclared identifier 'trace_event_guard' @@ -9353,19 +10619,2 @@ -In file included from ../arch/x86/kernel/irq.c:29: -In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../arch/x86/include/asm/trace/irq_vectors.h:192:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 192 | DECLARE_EVENT_CLASS(vector_reserve, - | ^ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ - | ^ -fatal error: too many errors emitted, stopping now [-ferror-limit=] -20 errors generated. -make[5]: *** [../scripts/Makefile.build:244: arch/x86/kernel/irq.o] Error 1 -make[4]: *** [../scripts/Makefile.build:485: arch/x86/kernel] Error 2 -In file included from ../drivers/base/regmap/regmap.c:23: -In file included from ../drivers/base/regmap/trace.h:284: +In file included from ../drivers/block/nbd.c:50: +In file included from ../include/trace/events/nbd.h:107: @@ -9374,2 +10623,2 @@ -../drivers/base/regmap/trace.h:16:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 16 | DECLARE_EVENT_CLASS(regmap_reg, +../include/trace/events/nbd.h:61:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 61 | DECLARE_EVENT_CLASS(nbd_send_request, @@ -9383,2 +10632,2 @@ -In file included from ../drivers/base/regmap/regmap.c:23: -In file included from ../drivers/base/regmap/trace.h:284: +In file included from ../drivers/block/nbd.c:50: +In file included from ../include/trace/events/nbd.h:107: @@ -9387 +10636 @@ -../drivers/base/regmap/trace.h:16:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/nbd.h:61:1: error: use of undeclared identifier 'preempt_notrace' @@ -9394,2 +10643,2 @@ -In file included from ../drivers/base/regmap/regmap.c:23: -In file included from ../drivers/base/regmap/trace.h:284: +In file included from ../drivers/block/nbd.c:50: +In file included from ../include/trace/events/nbd.h:107: @@ -9398 +10647 @@ -../drivers/base/regmap/trace.h:16:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/nbd.h:61:1: error: use of undeclared identifier 'trace_event_guard' @@ -9405,2 +10654,2 @@ -In file included from ../drivers/base/regmap/regmap.c:23: -In file included from ../drivers/base/regmap/trace.h:284: +In file included from ../drivers/block/nbd.c:50: +In file included from ../include/trace/events/nbd.h:107: @@ -9409 +10658 @@ -../drivers/base/regmap/trace.h:16:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/nbd.h:61:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -9416,2 +10665,2 @@ -In file included from ../drivers/base/regmap/regmap.c:23: -In file included from ../drivers/base/regmap/trace.h:284: +In file included from ../drivers/block/nbd.c:50: +In file included from ../include/trace/events/nbd.h:107: @@ -9420 +10669 @@ -../drivers/base/regmap/trace.h:16:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/nbd.h:61:1: error: use of undeclared identifier 'preempt_notrace' @@ -9427,2 +10676,2 @@ -In file included from ../drivers/base/regmap/regmap.c:23: -In file included from ../drivers/base/regmap/trace.h:284: +In file included from ../drivers/block/nbd.c:50: +In file included from ../include/trace/events/nbd.h:107: @@ -9431 +10680 @@ -../drivers/base/regmap/trace.h:16:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/nbd.h:61:1: error: use of undeclared identifier 'trace_event_guard' @@ -9438,6 +10687,6 @@ -In file included from ../drivers/base/regmap/regmap.c:23: -In file included from ../drivers/base/regmap/trace.h:284: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/base/regmap/trace.h:62:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 62 | DECLARE_EVENT_CLASS(regmap_bulk, +In file included from ../drivers/block/nbd.c:50: +In file included from ../include/trace/events/nbd.h:107: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/nbd.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 10 | DECLARE_EVENT_CLASS(nbd_transport_event, @@ -9445,2 +10694,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -9448,2 +10697,2 @@ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -9451,7 +10700,7 @@ -In file included from ../drivers/base/regmap/regmap.c:23: -In file included from ../drivers/base/regmap/trace.h:284: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/base/regmap/trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +In file included from ../drivers/block/nbd.c:50: +In file included from ../include/trace/events/nbd.h:107: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/nbd.h:10:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -9459,2 +10708,2 @@ -../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -9462,7 +10711,7 @@ -In file included from ../drivers/base/regmap/regmap.c:23: -In file included from ../drivers/base/regmap/trace.h:284: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/base/regmap/trace.h:62:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +In file included from ../drivers/block/nbd.c:50: +In file included from ../include/trace/events/nbd.h:107: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/nbd.h:10:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -9470,2 +10719,2 @@ -../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -9473,7 +10722,7 @@ -In file included from ../drivers/base/regmap/regmap.c:23: -In file included from ../drivers/base/regmap/trace.h:284: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/base/regmap/trace.h:62:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +In file included from ../drivers/block/nbd.c:50: +In file included from ../include/trace/events/nbd.h:107: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/nbd.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -9481,2 +10730,2 @@ -../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -9484,7 +10733,7 @@ -In file included from ../drivers/base/regmap/regmap.c:23: -In file included from ../drivers/base/regmap/trace.h:284: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/base/regmap/trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +In file included from ../drivers/block/nbd.c:50: +In file included from ../include/trace/events/nbd.h:107: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/nbd.h:10:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -9492,2 +10741,2 @@ -../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -9495,7 +10744,7 @@ -In file included from ../drivers/base/regmap/regmap.c:23: -In file included from ../drivers/base/regmap/trace.h:284: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/base/regmap/trace.h:62:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +In file included from ../drivers/block/nbd.c:50: +In file included from ../include/trace/events/nbd.h:107: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/nbd.h:10:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -9503,2 +10752,2 @@ -../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -9506,2 +10755,19 @@ -In file included from ../drivers/base/regmap/regmap.c:23: -In file included from ../drivers/base/regmap/trace.h:284: +In file included from ../drivers/block/nbd.c:50: +In file included from ../include/trace/events/nbd.h:107: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/nbd.h:61:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 61 | DECLARE_EVENT_CLASS(nbd_send_request, + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. +make[5]: *** [../scripts/Makefile.build:244: drivers/block/nbd.o] Error 1 +make[5]: *** Waiting for unfinished jobs.... +In file included from ../security/selinux/avc.c:35: +In file included from ../include/trace/events/avc.h:53: @@ -9510,2 +10776,2 @@ -../drivers/base/regmap/trace.h:103:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 103 | DECLARE_EVENT_CLASS(regmap_block, +../include/trace/events/avc.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 14 | TRACE_EVENT(selinux_audited, @@ -9512,0 +10779,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -9519,2 +10788,2 @@ -In file included from ../drivers/base/regmap/regmap.c:23: -In file included from ../drivers/base/regmap/trace.h:284: +In file included from ../security/selinux/avc.c:35: +In file included from ../include/trace/events/avc.h:53: @@ -9523 +10792,4 @@ -../drivers/base/regmap/trace.h:103:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -9530,2 +10802,2 @@ -In file included from ../drivers/base/regmap/regmap.c:23: -In file included from ../drivers/base/regmap/trace.h:284: +In file included from ../security/selinux/avc.c:35: +In file included from ../include/trace/events/avc.h:53: @@ -9534 +10806,4 @@ -../drivers/base/regmap/trace.h:103:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -9541,2 +10816,2 @@ -In file included from ../drivers/base/regmap/regmap.c:23: -In file included from ../drivers/base/regmap/trace.h:284: +In file included from ../security/selinux/avc.c:35: +In file included from ../include/trace/events/avc.h:53: @@ -9545 +10820,4 @@ -../drivers/base/regmap/trace.h:103:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/avc.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -9552,2 +10830,2 @@ -In file included from ../drivers/base/regmap/regmap.c:23: -In file included from ../drivers/base/regmap/trace.h:284: +In file included from ../security/selinux/avc.c:35: +In file included from ../include/trace/events/avc.h:53: @@ -9556 +10834,4 @@ -../drivers/base/regmap/trace.h:103:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -9563,2 +10844,2 @@ -In file included from ../drivers/base/regmap/regmap.c:23: -In file included from ../drivers/base/regmap/trace.h:284: +In file included from ../security/selinux/avc.c:35: +In file included from ../include/trace/events/avc.h:53: @@ -9567 +10848,4 @@ -../drivers/base/regmap/trace.h:103:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -9574,6 +10858,6 @@ -In file included from ../drivers/base/regmap/regmap.c:23: -In file included from ../drivers/base/regmap/trace.h:284: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/base/regmap/trace.h:152:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 152 | TRACE_EVENT(regcache_sync, +In file included from ../security/selinux/avc.c:35: +In file included from ../include/trace/events/avc.h:53: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/avc.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 14 | TRACE_EVENT(selinux_audited, @@ -9584,2 +10868,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -9587,2 +10871,2 @@ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -9590,7 +10874,162 @@ -fatal error: too many errors emitted, stopping now [-ferror-limit=] -20 errors generated. -make[6]: *** [../scripts/Makefile.build:244: drivers/base/regmap/regmap.o] Error 1 -make[5]: *** [../scripts/Makefile.build:485: drivers/base/regmap] Error 2 -make[5]: *** Waiting for unfinished jobs.... -In file included from ../drivers/nvme/target/core.c:16: -In file included from ../drivers/nvme/target/trace.h:170: +In file included from ../security/selinux/avc.c:35: +In file included from ../include/trace/events/avc.h:53: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../security/selinux/avc.c:35: +In file included from ../include/trace/events/avc.h:53: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../security/selinux/avc.c:35: +In file included from ../include/trace/events/avc.h:53: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/avc.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../security/selinux/avc.c:35: +In file included from ../include/trace/events/avc.h:53: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../security/selinux/avc.c:35: +In file included from ../include/trace/events/avc.h:53: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../security/selinux/avc.c:35: +In file included from ../include/trace/events/avc.h:53: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/avc.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 14 | TRACE_EVENT(selinux_audited, + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../security/selinux/avc.c:35: +In file included from ../include/trace/events/avc.h:53: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../security/selinux/avc.c:35: +In file included from ../include/trace/events/avc.h:53: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../security/selinux/avc.c:35: +In file included from ../include/trace/events/avc.h:53: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/avc.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../security/selinux/avc.c:35: +In file included from ../include/trace/events/avc.h:53: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../security/selinux/avc.c:35: +In file included from ../include/trace/events/avc.h:53: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +18 errors generated. +make[5]: *** [../scripts/Makefile.build:244: security/selinux/avc.o] Error 1 +make[4]: *** [../scripts/Makefile.build:485: security/selinux] Error 2 +make[3]: *** [../scripts/Makefile.build:485: security] Error 2 +In file included from ../net/devlink/core.c:9: +In file included from ../include/trace/events/devlink.h:213: @@ -9599,2 +11038,2 @@ -../drivers/nvme/target/trace.h:66:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 66 | TRACE_EVENT(nvmet_req_init, +../include/trace/events/devlink.h:17:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 17 | TRACE_EVENT(devlink_hwmsg, @@ -9611,2 +11050,2 @@ -In file included from ../drivers/nvme/target/core.c:16: -In file included from ../drivers/nvme/target/trace.h:170: +In file included from ../net/devlink/core.c:9: +In file included from ../include/trace/events/devlink.h:213: @@ -9615 +11054 @@ -../drivers/nvme/target/trace.h:66:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/devlink.h:17:1: error: use of undeclared identifier 'preempt_notrace' @@ -9625,2 +11064,2 @@ -In file included from ../drivers/nvme/target/core.c:16: -In file included from ../drivers/nvme/target/trace.h:170: +In file included from ../net/devlink/core.c:9: +In file included from ../include/trace/events/devlink.h:213: @@ -9629 +11068 @@ -../drivers/nvme/target/trace.h:66:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/devlink.h:17:1: error: use of undeclared identifier 'trace_event_guard' @@ -9639,2 +11078,2 @@ -In file included from ../drivers/nvme/target/core.c:16: -In file included from ../drivers/nvme/target/trace.h:170: +In file included from ../net/devlink/core.c:9: +In file included from ../include/trace/events/devlink.h:213: @@ -9643 +11082 @@ -../drivers/nvme/target/trace.h:66:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/devlink.h:17:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -9653,2 +11092,2 @@ -In file included from ../drivers/nvme/target/core.c:16: -In file included from ../drivers/nvme/target/trace.h:170: +In file included from ../net/devlink/core.c:9: +In file included from ../include/trace/events/devlink.h:213: @@ -9657 +11096 @@ -../drivers/nvme/target/trace.h:66:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/devlink.h:17:1: error: use of undeclared identifier 'preempt_notrace' @@ -9667,2 +11106,2 @@ -In file included from ../drivers/nvme/target/core.c:16: -In file included from ../drivers/nvme/target/trace.h:170: +In file included from ../net/devlink/core.c:9: +In file included from ../include/trace/events/devlink.h:213: @@ -9671 +11110 @@ -../drivers/nvme/target/trace.h:66:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/devlink.h:17:1: error: use of undeclared identifier 'trace_event_guard' @@ -9681,2 +11120,2 @@ -In file included from ../drivers/nvme/target/core.c:16: -In file included from ../drivers/nvme/target/trace.h:170: +In file included from ../net/devlink/core.c:9: +In file included from ../include/trace/events/devlink.h:213: @@ -9685,2 +11124,2 @@ -../drivers/nvme/target/trace.h:108:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 108 | TRACE_EVENT(nvmet_req_complete, +../include/trace/events/devlink.h:52:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 52 | TRACE_EVENT(devlink_hwerr, @@ -9697,2 +11136,2 @@ -In file included from ../drivers/nvme/target/core.c:16: -In file included from ../drivers/nvme/target/trace.h:170: +In file included from ../net/devlink/core.c:9: +In file included from ../include/trace/events/devlink.h:213: @@ -9701 +11140 @@ -../drivers/nvme/target/trace.h:108:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/devlink.h:52:1: error: use of undeclared identifier 'preempt_notrace' @@ -9711,2 +11150,2 @@ -In file included from ../drivers/nvme/target/core.c:16: -In file included from ../drivers/nvme/target/trace.h:170: +In file included from ../net/devlink/core.c:9: +In file included from ../include/trace/events/devlink.h:213: @@ -9715 +11154 @@ -../drivers/nvme/target/trace.h:108:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/devlink.h:52:1: error: use of undeclared identifier 'trace_event_guard' @@ -9725,2 +11164,2 @@ -In file included from ../drivers/nvme/target/core.c:16: -In file included from ../drivers/nvme/target/trace.h:170: +In file included from ../net/devlink/core.c:9: +In file included from ../include/trace/events/devlink.h:213: @@ -9729 +11168 @@ -../drivers/nvme/target/trace.h:108:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/devlink.h:52:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -9739,2 +11178,2 @@ -In file included from ../drivers/nvme/target/core.c:16: -In file included from ../drivers/nvme/target/trace.h:170: +In file included from ../net/devlink/core.c:9: +In file included from ../include/trace/events/devlink.h:213: @@ -9743 +11182 @@ -../drivers/nvme/target/trace.h:108:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/devlink.h:52:1: error: use of undeclared identifier 'preempt_notrace' @@ -9753,2 +11192,2 @@ -In file included from ../drivers/nvme/target/core.c:16: -In file included from ../drivers/nvme/target/trace.h:170: +In file included from ../net/devlink/core.c:9: +In file included from ../include/trace/events/devlink.h:213: @@ -9757 +11196 @@ -../drivers/nvme/target/trace.h:108:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/devlink.h:52:1: error: use of undeclared identifier 'trace_event_guard' @@ -9767,2 +11206,2 @@ -In file included from ../drivers/nvme/target/core.c:16: -In file included from ../drivers/nvme/target/trace.h:170: +In file included from ../net/devlink/core.c:9: +In file included from ../include/trace/events/devlink.h:213: @@ -9771,2 +11210,2 @@ -../drivers/nvme/target/trace.h:136:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 136 | TRACE_EVENT(nvmet_async_event, +../include/trace/events/devlink.h:81:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 81 | TRACE_EVENT(devlink_health_report, @@ -9783,2 +11222,2 @@ -In file included from ../drivers/nvme/target/core.c:16: -In file included from ../drivers/nvme/target/trace.h:170: +In file included from ../net/devlink/core.c:9: +In file included from ../include/trace/events/devlink.h:213: @@ -9787 +11226 @@ -../drivers/nvme/target/trace.h:136:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/devlink.h:81:1: error: use of undeclared identifier 'preempt_notrace' @@ -9797,2 +11236,2 @@ -In file included from ../drivers/nvme/target/core.c:16: -In file included from ../drivers/nvme/target/trace.h:170: +In file included from ../net/devlink/core.c:9: +In file included from ../include/trace/events/devlink.h:213: @@ -9801 +11240 @@ -../drivers/nvme/target/trace.h:136:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/devlink.h:81:1: error: use of undeclared identifier 'trace_event_guard' @@ -9811,2 +11250,2 @@ -In file included from ../drivers/nvme/target/core.c:16: -In file included from ../drivers/nvme/target/trace.h:170: +In file included from ../net/devlink/core.c:9: +In file included from ../include/trace/events/devlink.h:213: @@ -9815 +11254 @@ -../drivers/nvme/target/trace.h:136:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/devlink.h:81:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -9825,2 +11264,2 @@ -In file included from ../drivers/nvme/target/core.c:16: -In file included from ../drivers/nvme/target/trace.h:170: +In file included from ../net/devlink/core.c:9: +In file included from ../include/trace/events/devlink.h:213: @@ -9829 +11268 @@ -../drivers/nvme/target/trace.h:136:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/devlink.h:81:1: error: use of undeclared identifier 'preempt_notrace' @@ -9839,2 +11278,2 @@ -In file included from ../drivers/nvme/target/core.c:16: -In file included from ../drivers/nvme/target/trace.h:170: +In file included from ../net/devlink/core.c:9: +In file included from ../include/trace/events/devlink.h:213: @@ -9843 +11282 @@ -../drivers/nvme/target/trace.h:136:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/devlink.h:81:1: error: use of undeclared identifier 'trace_event_guard' @@ -9853,6 +11292,6 @@ -In file included from ../drivers/nvme/target/core.c:16: -In file included from ../drivers/nvme/target/trace.h:170: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/nvme/target/trace.h:66:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 66 | TRACE_EVENT(nvmet_req_init, +In file included from ../net/devlink/core.c:9: +In file included from ../include/trace/events/devlink.h:213: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/devlink.h:112:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 112 | TRACE_EVENT(devlink_health_recover_aborted, @@ -9863,2 +11302,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -9866,2 +11305,2 @@ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -9871,5 +11310,4 @@ -make[6]: *** [../scripts/Makefile.build:244: drivers/nvme/target/core.o] Error 1 -make[5]: *** [../scripts/Makefile.build:485: drivers/nvme/target] Error 2 -make[5]: *** Waiting for unfinished jobs.... -In file included from ../net/devlink/core.c:9: -In file included from ../include/trace/events/devlink.h:213: +make[5]: *** [../scripts/Makefile.build:244: net/devlink/core.o] Error 1 +make[4]: *** [../scripts/Makefile.build:485: net/devlink] Error 2 +In file included from ../drivers/cxl/core/trace.c:8: +In file included from ../drivers/cxl/core/trace.h:737: @@ -9878,2 +11316,2 @@ -../include/trace/events/devlink.h:17:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 17 | TRACE_EVENT(devlink_hwmsg, +../drivers/cxl/core/trace.h:51:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 51 | TRACE_EVENT(cxl_aer_uncorrectable_error, @@ -9890,2 +11328,2 @@ -In file included from ../net/devlink/core.c:9: -In file included from ../include/trace/events/devlink.h:213: +In file included from ../drivers/cxl/core/trace.c:8: +In file included from ../drivers/cxl/core/trace.h:737: @@ -9894 +11332 @@ -../include/trace/events/devlink.h:17:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/cxl/core/trace.h:51:1: error: use of undeclared identifier 'preempt_notrace' @@ -9904,2 +11342,2 @@ -In file included from ../net/devlink/core.c:9: -In file included from ../include/trace/events/devlink.h:213: +In file included from ../drivers/cxl/core/trace.c:8: +In file included from ../drivers/cxl/core/trace.h:737: @@ -9908 +11346 @@ -../include/trace/events/devlink.h:17:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/cxl/core/trace.h:51:1: error: use of undeclared identifier 'trace_event_guard' @@ -9918,2 +11356,2 @@ -In file included from ../net/devlink/core.c:9: -In file included from ../include/trace/events/devlink.h:213: +In file included from ../drivers/cxl/core/trace.c:8: +In file included from ../drivers/cxl/core/trace.h:737: @@ -9922 +11360 @@ -../include/trace/events/devlink.h:17:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/cxl/core/trace.h:51:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -9932,2 +11370,2 @@ -In file included from ../net/devlink/core.c:9: -In file included from ../include/trace/events/devlink.h:213: +In file included from ../drivers/cxl/core/trace.c:8: +In file included from ../drivers/cxl/core/trace.h:737: @@ -9936 +11374 @@ -../include/trace/events/devlink.h:17:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/cxl/core/trace.h:51:1: error: use of undeclared identifier 'preempt_notrace' @@ -9946,2 +11384,2 @@ -In file included from ../net/devlink/core.c:9: -In file included from ../include/trace/events/devlink.h:213: +In file included from ../drivers/cxl/core/trace.c:8: +In file included from ../drivers/cxl/core/trace.h:737: @@ -9950 +11388 @@ -../include/trace/events/devlink.h:17:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/cxl/core/trace.h:51:1: error: use of undeclared identifier 'trace_event_guard' @@ -9960,2 +11398,2 @@ -In file included from ../net/devlink/core.c:9: -In file included from ../include/trace/events/devlink.h:213: +In file included from ../drivers/cxl/core/trace.c:8: +In file included from ../drivers/cxl/core/trace.h:737: @@ -9964,2 +11402,2 @@ -../include/trace/events/devlink.h:52:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 52 | TRACE_EVENT(devlink_hwerr, +../drivers/cxl/core/trace.h:99:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 99 | TRACE_EVENT(cxl_aer_correctable_error, @@ -9976,2 +11414,2 @@ -In file included from ../net/devlink/core.c:9: -In file included from ../include/trace/events/devlink.h:213: +In file included from ../drivers/cxl/core/trace.c:8: +In file included from ../drivers/cxl/core/trace.h:737: @@ -9980 +11418 @@ -../include/trace/events/devlink.h:52:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/cxl/core/trace.h:99:1: error: use of undeclared identifier 'preempt_notrace' @@ -9990,2 +11428,2 @@ -In file included from ../net/devlink/core.c:9: -In file included from ../include/trace/events/devlink.h:213: +In file included from ../drivers/cxl/core/trace.c:8: +In file included from ../drivers/cxl/core/trace.h:737: @@ -9994 +11432 @@ -../include/trace/events/devlink.h:52:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/cxl/core/trace.h:99:1: error: use of undeclared identifier 'trace_event_guard' @@ -10004,2 +11442,2 @@ -In file included from ../net/devlink/core.c:9: -In file included from ../include/trace/events/devlink.h:213: +In file included from ../drivers/cxl/core/trace.c:8: +In file included from ../drivers/cxl/core/trace.h:737: @@ -10008 +11446 @@ -../include/trace/events/devlink.h:52:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/cxl/core/trace.h:99:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -10018,2 +11456,2 @@ -In file included from ../net/devlink/core.c:9: -In file included from ../include/trace/events/devlink.h:213: +In file included from ../drivers/cxl/core/trace.c:8: +In file included from ../drivers/cxl/core/trace.h:737: @@ -10022 +11460 @@ -../include/trace/events/devlink.h:52:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/cxl/core/trace.h:99:1: error: use of undeclared identifier 'preempt_notrace' @@ -10032,2 +11470,2 @@ -In file included from ../net/devlink/core.c:9: -In file included from ../include/trace/events/devlink.h:213: +In file included from ../drivers/cxl/core/trace.c:8: +In file included from ../drivers/cxl/core/trace.h:737: @@ -10036 +11474 @@ -../include/trace/events/devlink.h:52:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/cxl/core/trace.h:99:1: error: use of undeclared identifier 'trace_event_guard' @@ -10046,2 +11484,2 @@ -In file included from ../net/devlink/core.c:9: -In file included from ../include/trace/events/devlink.h:213: +In file included from ../drivers/cxl/core/trace.c:8: +In file included from ../drivers/cxl/core/trace.h:737: @@ -10050,2 +11488,2 @@ -../include/trace/events/devlink.h:81:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 81 | TRACE_EVENT(devlink_health_report, +../drivers/cxl/core/trace.h:127:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 127 | TRACE_EVENT(cxl_overflow, @@ -10062,2 +11500,2 @@ -In file included from ../net/devlink/core.c:9: -In file included from ../include/trace/events/devlink.h:213: +In file included from ../drivers/cxl/core/trace.c:8: +In file included from ../drivers/cxl/core/trace.h:737: @@ -10066 +11504 @@ -../include/trace/events/devlink.h:81:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/cxl/core/trace.h:127:1: error: use of undeclared identifier 'preempt_notrace' @@ -10076,2 +11514,2 @@ -In file included from ../net/devlink/core.c:9: -In file included from ../include/trace/events/devlink.h:213: +In file included from ../drivers/cxl/core/trace.c:8: +In file included from ../drivers/cxl/core/trace.h:737: @@ -10080 +11518 @@ -../include/trace/events/devlink.h:81:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/cxl/core/trace.h:127:1: error: use of undeclared identifier 'trace_event_guard' @@ -10090,2 +11528,2 @@ -In file included from ../net/devlink/core.c:9: -In file included from ../include/trace/events/devlink.h:213: +In file included from ../drivers/cxl/core/trace.c:8: +In file included from ../drivers/cxl/core/trace.h:737: @@ -10094 +11532 @@ -../include/trace/events/devlink.h:81:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/cxl/core/trace.h:127:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -10104,2 +11542,2 @@ -In file included from ../net/devlink/core.c:9: -In file included from ../include/trace/events/devlink.h:213: +In file included from ../drivers/cxl/core/trace.c:8: +In file included from ../drivers/cxl/core/trace.h:737: @@ -10108 +11546 @@ -../include/trace/events/devlink.h:81:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/cxl/core/trace.h:127:1: error: use of undeclared identifier 'preempt_notrace' @@ -10118,2 +11556,2 @@ -In file included from ../net/devlink/core.c:9: -In file included from ../include/trace/events/devlink.h:213: +In file included from ../drivers/cxl/core/trace.c:8: +In file included from ../drivers/cxl/core/trace.h:737: @@ -10122 +11560 @@ -../include/trace/events/devlink.h:81:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/cxl/core/trace.h:127:1: error: use of undeclared identifier 'trace_event_guard' @@ -10132,2 +11570,2 @@ -In file included from ../net/devlink/core.c:9: -In file included from ../include/trace/events/devlink.h:213: +In file included from ../drivers/cxl/core/trace.c:8: +In file included from ../drivers/cxl/core/trace.h:737: @@ -10136,2 +11574,2 @@ -../include/trace/events/devlink.h:112:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 112 | TRACE_EVENT(devlink_health_recover_aborted, +../drivers/cxl/core/trace.h:225:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 225 | TRACE_EVENT(cxl_generic_event, @@ -10150,2 +11588,3 @@ -make[5]: *** [../scripts/Makefile.build:244: net/devlink/core.o] Error 1 -make[4]: *** [../scripts/Makefile.build:485: net/devlink] Error 2 +make[6]: *** [../scripts/Makefile.build:244: drivers/cxl/core/trace.o] Error 1 +make[5]: *** [../scripts/Makefile.build:485: drivers/cxl/core] Error 2 +make[4]: *** [../scripts/Makefile.build:485: drivers/cxl] Error 2 @@ -10326,2 +11765,2 @@ -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: @@ -10334,2 +11773,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -10337,2 +11776,2 @@ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -10342,2 +11781,2 @@ -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: @@ -10348,2 +11787,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -10351,2 +11790,2 @@ -../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -10356,3 +11795,3 @@ -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/task.h:9:1: error: use of undeclared identifier 'bpf_trace_guard' +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/task.h:9:1: error: use of undeclared identifier 'trace_event_guard' @@ -10362,2 +11801,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -10365,2 +11804,2 @@ -../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -10370,2 +11809,2 @@ -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: @@ -10376,2 +11815,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -10379,2 +11818,2 @@ -../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ +../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -10384,2 +11823,2 @@ -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: @@ -10390,2 +11829,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -10393,2 +11832,2 @@ -../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ +../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -10398,3 +11837,3 @@ -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/task.h:9:1: error: use of undeclared identifier 'bpf_trace_guard' +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/task.h:9:1: error: use of undeclared identifier 'trace_event_guard' @@ -10404,2 +11843,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -10407,2 +11846,2 @@ -../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ +../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -10412,2 +11851,2 @@ -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: @@ -10420,2 +11859,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -10423,2 +11862,2 @@ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -10429,2 +11868,2 @@ -In file included from ../drivers/misc/mei/mei-trace.c:11: -In file included from ../drivers/misc/mei/mei-trace.h:83: +In file included from ../drivers/regulator/core.c:32: +In file included from ../include/trace/events/regulator.h:174: @@ -10433,2 +11872,2 @@ -../drivers/misc/mei/mei-trace.h:19:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 19 | TRACE_EVENT(mei_reg_read, +../include/trace/events/regulator.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 15 | DECLARE_EVENT_CLASS(regulator_basic, @@ -10436,3 +11874,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -10445,2 +11881,2 @@ -In file included from ../drivers/misc/mei/mei-trace.c:11: -In file included from ../drivers/misc/mei/mei-trace.h:83: +In file included from ../drivers/regulator/core.c:32: +In file included from ../include/trace/events/regulator.h:174: @@ -10449,4 +11885 @@ -../drivers/misc/mei/mei-trace.h:19:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/regulator.h:15:1: error: use of undeclared identifier 'preempt_notrace' @@ -10459,2 +11892,2 @@ -In file included from ../drivers/misc/mei/mei-trace.c:11: -In file included from ../drivers/misc/mei/mei-trace.h:83: +In file included from ../drivers/regulator/core.c:32: +In file included from ../include/trace/events/regulator.h:174: @@ -10463,4 +11896 @@ -../drivers/misc/mei/mei-trace.h:19:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/regulator.h:15:1: error: use of undeclared identifier 'trace_event_guard' @@ -10473,2 +11903,2 @@ -In file included from ../drivers/misc/mei/mei-trace.c:11: -In file included from ../drivers/misc/mei/mei-trace.h:83: +In file included from ../drivers/regulator/core.c:32: +In file included from ../include/trace/events/regulator.h:174: @@ -10477,4 +11907 @@ -../drivers/misc/mei/mei-trace.h:19:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/regulator.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -10487,2 +11914,2 @@ -In file included from ../drivers/misc/mei/mei-trace.c:11: -In file included from ../drivers/misc/mei/mei-trace.h:83: +In file included from ../drivers/regulator/core.c:32: +In file included from ../include/trace/events/regulator.h:174: @@ -10491,4 +11918 @@ -../drivers/misc/mei/mei-trace.h:19:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/regulator.h:15:1: error: use of undeclared identifier 'preempt_notrace' @@ -10501,2 +11925,2 @@ -In file included from ../drivers/misc/mei/mei-trace.c:11: -In file included from ../drivers/misc/mei/mei-trace.h:83: +In file included from ../drivers/regulator/core.c:32: +In file included from ../include/trace/events/regulator.h:174: @@ -10505,4 +11929 @@ -../drivers/misc/mei/mei-trace.h:19:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/regulator.h:15:1: error: use of undeclared identifier 'trace_event_guard' @@ -10515,2 +11936,2 @@ -In file included from ../drivers/misc/mei/mei-trace.c:11: -In file included from ../drivers/misc/mei/mei-trace.h:83: +In file included from ../drivers/regulator/core.c:32: +In file included from ../include/trace/events/regulator.h:174: @@ -10519,2 +11940,2 @@ -../drivers/misc/mei/mei-trace.h:38:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 38 | TRACE_EVENT(mei_reg_write, +../include/trace/events/regulator.h:109:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 109 | DECLARE_EVENT_CLASS(regulator_range, @@ -10522,3 +11942,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -10531,2 +11949,2 @@ -In file included from ../drivers/misc/mei/mei-trace.c:11: -In file included from ../drivers/misc/mei/mei-trace.h:83: +In file included from ../drivers/regulator/core.c:32: +In file included from ../include/trace/events/regulator.h:174: @@ -10535,4 +11953 @@ -../drivers/misc/mei/mei-trace.h:38:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/regulator.h:109:1: error: use of undeclared identifier 'preempt_notrace' @@ -10545,2 +11960,2 @@ -In file included from ../drivers/misc/mei/mei-trace.c:11: -In file included from ../drivers/misc/mei/mei-trace.h:83: +In file included from ../drivers/regulator/core.c:32: +In file included from ../include/trace/events/regulator.h:174: @@ -10549,4 +11964 @@ -../drivers/misc/mei/mei-trace.h:38:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/regulator.h:109:1: error: use of undeclared identifier 'trace_event_guard' @@ -10559,2 +11971,2 @@ -In file included from ../drivers/misc/mei/mei-trace.c:11: -In file included from ../drivers/misc/mei/mei-trace.h:83: +In file included from ../drivers/regulator/core.c:32: +In file included from ../include/trace/events/regulator.h:174: @@ -10563,4 +11975 @@ -../drivers/misc/mei/mei-trace.h:38:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/regulator.h:109:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -10573,2 +11982,2 @@ -In file included from ../drivers/misc/mei/mei-trace.c:11: -In file included from ../drivers/misc/mei/mei-trace.h:83: +In file included from ../drivers/regulator/core.c:32: +In file included from ../include/trace/events/regulator.h:174: @@ -10577,4 +11986 @@ -../drivers/misc/mei/mei-trace.h:38:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/regulator.h:109:1: error: use of undeclared identifier 'preempt_notrace' @@ -10587,2 +11993,2 @@ -In file included from ../drivers/misc/mei/mei-trace.c:11: -In file included from ../drivers/misc/mei/mei-trace.h:83: +In file included from ../drivers/regulator/core.c:32: +In file included from ../include/trace/events/regulator.h:174: @@ -10591,4 +11997 @@ -../drivers/misc/mei/mei-trace.h:38:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/regulator.h:109:1: error: use of undeclared identifier 'trace_event_guard' @@ -10601,2 +12004,2 @@ -In file included from ../drivers/misc/mei/mei-trace.c:11: -In file included from ../drivers/misc/mei/mei-trace.h:83: +In file included from ../drivers/regulator/core.c:32: +In file included from ../include/trace/events/regulator.h:174: @@ -10605,2 +12008,2 @@ -../drivers/misc/mei/mei-trace.h:57:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 57 | TRACE_EVENT(mei_pci_cfg_read, +../include/trace/events/regulator.h:143:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 143 | DECLARE_EVENT_CLASS(regulator_value, @@ -10608,3 +12010,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -10617,2 +12017,2 @@ -In file included from ../drivers/misc/mei/mei-trace.c:11: -In file included from ../drivers/misc/mei/mei-trace.h:83: +In file included from ../drivers/regulator/core.c:32: +In file included from ../include/trace/events/regulator.h:174: @@ -10621,4 +12021 @@ -../drivers/misc/mei/mei-trace.h:57:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/regulator.h:143:1: error: use of undeclared identifier 'preempt_notrace' @@ -10631,2 +12028,2 @@ -In file included from ../drivers/misc/mei/mei-trace.c:11: -In file included from ../drivers/misc/mei/mei-trace.h:83: +In file included from ../drivers/regulator/core.c:32: +In file included from ../include/trace/events/regulator.h:174: @@ -10635,4 +12032 @@ -../drivers/misc/mei/mei-trace.h:57:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/regulator.h:143:1: error: use of undeclared identifier 'trace_event_guard' @@ -10645,2 +12039,2 @@ -In file included from ../drivers/misc/mei/mei-trace.c:11: -In file included from ../drivers/misc/mei/mei-trace.h:83: +In file included from ../drivers/regulator/core.c:32: +In file included from ../include/trace/events/regulator.h:174: @@ -10649,4 +12043 @@ -../drivers/misc/mei/mei-trace.h:57:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/regulator.h:143:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -10659,2 +12050,2 @@ -In file included from ../drivers/misc/mei/mei-trace.c:11: -In file included from ../drivers/misc/mei/mei-trace.h:83: +In file included from ../drivers/regulator/core.c:32: +In file included from ../include/trace/events/regulator.h:174: @@ -10663,4 +12054 @@ -../drivers/misc/mei/mei-trace.h:57:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/regulator.h:143:1: error: use of undeclared identifier 'preempt_notrace' @@ -10673,2 +12061,2 @@ -In file included from ../drivers/misc/mei/mei-trace.c:11: -In file included from ../drivers/misc/mei/mei-trace.h:83: +In file included from ../drivers/regulator/core.c:32: +In file included from ../include/trace/events/regulator.h:174: @@ -10677,4 +12065 @@ -../drivers/misc/mei/mei-trace.h:57:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/regulator.h:143:1: error: use of undeclared identifier 'trace_event_guard' @@ -10687,6 +12072,6 @@ -In file included from ../drivers/misc/mei/mei-trace.c:11: -In file included from ../drivers/misc/mei/mei-trace.h:83: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/misc/mei/mei-trace.h:19:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 19 | TRACE_EVENT(mei_reg_read, +In file included from ../drivers/regulator/core.c:32: +In file included from ../include/trace/events/regulator.h:174: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/regulator.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 15 | DECLARE_EVENT_CLASS(regulator_basic, @@ -10694,5 +12079,2 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -10700,2 +12082,2 @@ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -10705,3 +12087,2 @@ -make[6]: *** [../scripts/Makefile.build:244: drivers/misc/mei/mei-trace.o] Error 1 -make[5]: *** [../scripts/Makefile.build:485: drivers/misc/mei] Error 2 -make[4]: *** [../scripts/Makefile.build:485: drivers/misc] Error 2 +make[5]: *** [../scripts/Makefile.build:244: drivers/regulator/core.o] Error 1 +make[4]: *** [../scripts/Makefile.build:485: drivers/regulator] Error 2 @@ -10986,2 +12367,2 @@ -In file included from ../drivers/base/trace.c:10: -In file included from ../drivers/base/trace.h:56: +In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: +In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: @@ -10990,2 +12371,2 @@ -../drivers/base/trace.h:19:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 19 | DECLARE_EVENT_CLASS(devres, +../drivers/block/rnbd/rnbd-srv-trace.h:18:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 18 | DECLARE_EVENT_CLASS(rnbd_srv_link_class, @@ -10999,2 +12380,2 @@ -In file included from ../drivers/base/trace.c:10: -In file included from ../drivers/base/trace.h:56: +In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: +In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: @@ -11003 +12384 @@ -../drivers/base/trace.h:19:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/block/rnbd/rnbd-srv-trace.h:18:1: error: use of undeclared identifier 'preempt_notrace' @@ -11010,2 +12391,2 @@ -In file included from ../drivers/base/trace.c:10: -In file included from ../drivers/base/trace.h:56: +In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: +In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: @@ -11014 +12395 @@ -../drivers/base/trace.h:19:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/block/rnbd/rnbd-srv-trace.h:18:1: error: use of undeclared identifier 'trace_event_guard' @@ -11021,2 +12402,2 @@ -In file included from ../drivers/base/trace.c:10: -In file included from ../drivers/base/trace.h:56: +In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: +In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: @@ -11025 +12406 @@ -../drivers/base/trace.h:19:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/block/rnbd/rnbd-srv-trace.h:18:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -11032,2 +12413,2 @@ -In file included from ../drivers/base/trace.c:10: -In file included from ../drivers/base/trace.h:56: +In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: +In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: @@ -11036 +12417 @@ -../drivers/base/trace.h:19:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/block/rnbd/rnbd-srv-trace.h:18:1: error: use of undeclared identifier 'preempt_notrace' @@ -11043,2 +12424,2 @@ -In file included from ../drivers/base/trace.c:10: -In file included from ../drivers/base/trace.h:56: +In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: +In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: @@ -11047 +12428 @@ -../drivers/base/trace.h:19:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/block/rnbd/rnbd-srv-trace.h:18:1: error: use of undeclared identifier 'trace_event_guard' @@ -11054,73 +12435,2 @@ -In file included from ../drivers/base/trace.c:10: -In file included from ../drivers/base/trace.h:56: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/base/trace.h:19:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 19 | DECLARE_EVENT_CLASS(devres, - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ - | ^ -In file included from ../drivers/base/trace.c:10: -In file included from ../drivers/base/trace.h:56: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/base/trace.h:19:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ - | ^ -In file included from ../drivers/base/trace.c:10: -In file included from ../drivers/base/trace.h:56: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/base/trace.h:19:1: error: use of undeclared identifier 'bpf_trace_guard' -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ - | ^ -In file included from ../drivers/base/trace.c:10: -In file included from ../drivers/base/trace.h:56: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/base/trace.h:19:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ - | ^ -In file included from ../drivers/base/trace.c:10: -In file included from ../drivers/base/trace.h:56: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/base/trace.h:19:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ - | ^ -In file included from ../drivers/base/trace.c:10: -In file included from ../drivers/base/trace.h:56: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/base/trace.h:19:1: error: use of undeclared identifier 'bpf_trace_guard' -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ - | ^ -12 errors generated. -make[5]: *** [../scripts/Makefile.build:244: drivers/base/trace.o] Error 1 -make[4]: *** [../scripts/Makefile.build:485: drivers/base] Error 2 -In file included from ../drivers/scsi/scsi.c:73: -In file included from ../include/trace/events/scsi.h:351: +In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: +In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: @@ -11129,2 +12439,2 @@ -../include/trace/events/scsi.h:157:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 157 | TRACE_EVENT(scsi_dispatch_cmd_start, +../drivers/block/rnbd/rnbd-srv-trace.h:65:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 65 | TRACE_EVENT(process_rdma, @@ -11141,2 +12451,2 @@ -In file included from ../drivers/scsi/scsi.c:73: -In file included from ../include/trace/events/scsi.h:351: +In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: +In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: @@ -11145 +12455 @@ -../include/trace/events/scsi.h:157:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/block/rnbd/rnbd-srv-trace.h:65:1: error: use of undeclared identifier 'preempt_notrace' @@ -11155,2 +12465,2 @@ -In file included from ../drivers/scsi/scsi.c:73: -In file included from ../include/trace/events/scsi.h:351: +In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: +In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: @@ -11159 +12469 @@ -../include/trace/events/scsi.h:157:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/block/rnbd/rnbd-srv-trace.h:65:1: error: use of undeclared identifier 'trace_event_guard' @@ -11169,2 +12479,2 @@ -In file included from ../drivers/scsi/scsi.c:73: -In file included from ../include/trace/events/scsi.h:351: +In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: +In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: @@ -11173 +12483 @@ -../include/trace/events/scsi.h:157:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/block/rnbd/rnbd-srv-trace.h:65:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -11183,2 +12493,2 @@ -In file included from ../drivers/scsi/scsi.c:73: -In file included from ../include/trace/events/scsi.h:351: +In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: +In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: @@ -11187 +12497 @@ -../include/trace/events/scsi.h:157:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/block/rnbd/rnbd-srv-trace.h:65:1: error: use of undeclared identifier 'preempt_notrace' @@ -11197,2 +12507,2 @@ -In file included from ../drivers/scsi/scsi.c:73: -In file included from ../include/trace/events/scsi.h:351: +In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: +In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: @@ -11201 +12511 @@ -../include/trace/events/scsi.h:157:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/block/rnbd/rnbd-srv-trace.h:65:1: error: use of undeclared identifier 'trace_event_guard' @@ -11211,2 +12521,2 @@ -In file included from ../drivers/scsi/scsi.c:73: -In file included from ../include/trace/events/scsi.h:351: +In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: +In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: @@ -11215,2 +12525,2 @@ -../include/trace/events/scsi.h:203:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 203 | TRACE_EVENT(scsi_dispatch_cmd_error, +../drivers/block/rnbd/rnbd-srv-trace.h:116:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 116 | TRACE_EVENT(process_msg_sess_info, @@ -11227,2 +12537,2 @@ -In file included from ../drivers/scsi/scsi.c:73: -In file included from ../include/trace/events/scsi.h:351: +In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: +In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: @@ -11231 +12541 @@ -../include/trace/events/scsi.h:203:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/block/rnbd/rnbd-srv-trace.h:116:1: error: use of undeclared identifier 'preempt_notrace' @@ -11241,2 +12551,2 @@ -In file included from ../drivers/scsi/scsi.c:73: -In file included from ../include/trace/events/scsi.h:351: +In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: +In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: @@ -11245 +12555 @@ -../include/trace/events/scsi.h:203:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/block/rnbd/rnbd-srv-trace.h:116:1: error: use of undeclared identifier 'trace_event_guard' @@ -11255,2 +12565,2 @@ -In file included from ../drivers/scsi/scsi.c:73: -In file included from ../include/trace/events/scsi.h:351: +In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: +In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: @@ -11259 +12569 @@ -../include/trace/events/scsi.h:203:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/block/rnbd/rnbd-srv-trace.h:116:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -11269,2 +12579,2 @@ -In file included from ../drivers/scsi/scsi.c:73: -In file included from ../include/trace/events/scsi.h:351: +In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: +In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: @@ -11273 +12583 @@ -../include/trace/events/scsi.h:203:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/block/rnbd/rnbd-srv-trace.h:116:1: error: use of undeclared identifier 'preempt_notrace' @@ -11283,2 +12593,2 @@ -In file included from ../drivers/scsi/scsi.c:73: -In file included from ../include/trace/events/scsi.h:351: +In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: +In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: @@ -11287 +12597 @@ -../include/trace/events/scsi.h:203:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/block/rnbd/rnbd-srv-trace.h:116:1: error: use of undeclared identifier 'trace_event_guard' @@ -11297,70 +12607,2 @@ -In file included from ../drivers/scsi/scsi.c:73: -In file included from ../include/trace/events/scsi.h:351: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/scsi.h:253:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 253 | DECLARE_EVENT_CLASS(scsi_cmd_done_timeout_template, - | ^ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ - | ^ -In file included from ../drivers/scsi/scsi.c:73: -In file included from ../include/trace/events/scsi.h:351: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/scsi.h:253:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ - | ^ -In file included from ../drivers/scsi/scsi.c:73: -In file included from ../include/trace/events/scsi.h:351: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/scsi.h:253:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ - | ^ -In file included from ../drivers/scsi/scsi.c:73: -In file included from ../include/trace/events/scsi.h:351: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/scsi.h:253:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ - | ^ -In file included from ../drivers/scsi/scsi.c:73: -In file included from ../include/trace/events/scsi.h:351: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/scsi.h:253:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ - | ^ -In file included from ../drivers/scsi/scsi.c:73: -In file included from ../include/trace/events/scsi.h:351: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/scsi.h:253:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ - | ^ -In file included from ../drivers/scsi/scsi.c:73: -In file included from ../include/trace/events/scsi.h:351: +In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: +In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: @@ -11369,2 +12611,2 @@ -../include/trace/events/scsi.h:331:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 331 | TRACE_EVENT(scsi_eh_wakeup, +../drivers/block/rnbd/rnbd-srv-trace.h:154:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 154 | TRACE_EVENT(process_msg_open, @@ -11383,4 +12625,4 @@ -make[5]: *** [../scripts/Makefile.build:244: drivers/scsi/scsi.o] Error 1 -make[5]: *** Waiting for unfinished jobs.... -In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: -In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: +make[6]: *** [../scripts/Makefile.build:244: drivers/block/rnbd/rnbd-srv-trace.o] Error 1 +make[5]: *** [../scripts/Makefile.build:485: drivers/block/rnbd] Error 2 +In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: +In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: @@ -11389,2 +12631,2 @@ -../drivers/block/rnbd/rnbd-srv-trace.h:18:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 18 | DECLARE_EVENT_CLASS(rnbd_srv_link_class, +../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 14 | TRACE_EVENT(pmic_pdcharger_ulog_msg, @@ -11391,0 +12634,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -11398,2 +12643,2 @@ -In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: -In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: +In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: +In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: @@ -11402 +12647,4 @@ -../drivers/block/rnbd/rnbd-srv-trace.h:18:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -11409,2 +12657,2 @@ -In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: -In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: +In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: +In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: @@ -11413 +12661,4 @@ -../drivers/block/rnbd/rnbd-srv-trace.h:18:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -11420,2 +12671,2 @@ -In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: -In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: +In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: +In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: @@ -11424 +12675,4 @@ -../drivers/block/rnbd/rnbd-srv-trace.h:18:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -11431,2 +12685,2 @@ -In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: -In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: +In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: +In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: @@ -11435 +12689,4 @@ -../drivers/block/rnbd/rnbd-srv-trace.h:18:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -11442,2 +12699,2 @@ -In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: -In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: +In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: +In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: @@ -11446 +12703,4 @@ -../drivers/block/rnbd/rnbd-srv-trace.h:18:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -11453,6 +12713,6 @@ -In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: -In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/block/rnbd/rnbd-srv-trace.h:65:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 65 | TRACE_EVENT(process_rdma, +In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: +In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 14 | TRACE_EVENT(pmic_pdcharger_ulog_msg, @@ -11463,2 +12723,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -11466,2 +12726,2 @@ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -11469,5 +12729,5 @@ -In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: -In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/block/rnbd/rnbd-srv-trace.h:65:1: error: use of undeclared identifier 'preempt_notrace' +In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: +In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: use of undeclared identifier 'preempt_notrace' @@ -11477,2 +12737,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -11480,2 +12740,2 @@ -../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -11483,5 +12743,5 @@ -In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: -In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/block/rnbd/rnbd-srv-trace.h:65:1: error: use of undeclared identifier 'trace_event_guard' +In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: +In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: use of undeclared identifier 'trace_event_guard' @@ -11491,2 +12751,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -11494,2 +12754,2 @@ -../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -11497,5 +12757,5 @@ -In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: -In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/block/rnbd/rnbd-srv-trace.h:65:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: +In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -11505,2 +12765,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -11508,2 +12768,2 @@ -../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -11511,5 +12771,5 @@ -In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: -In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/block/rnbd/rnbd-srv-trace.h:65:1: error: use of undeclared identifier 'preempt_notrace' +In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: +In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: use of undeclared identifier 'preempt_notrace' @@ -11519,2 +12779,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -11522,2 +12782,2 @@ -../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -11525,5 +12785,5 @@ -In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: -In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/block/rnbd/rnbd-srv-trace.h:65:1: error: use of undeclared identifier 'trace_event_guard' +In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: +In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: use of undeclared identifier 'trace_event_guard' @@ -11533,2 +12793,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -11536,2 +12796,2 @@ -../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -11539,6 +12799,6 @@ -In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: -In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/block/rnbd/rnbd-srv-trace.h:116:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 116 | TRACE_EVENT(process_msg_sess_info, +In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: +In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 14 | TRACE_EVENT(pmic_pdcharger_ulog_msg, @@ -11549,2 +12809,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) @@ -11552,2 +12812,2 @@ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ @@ -11555,5 +12815,5 @@ -In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: -In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/block/rnbd/rnbd-srv-trace.h:116:1: error: use of undeclared identifier 'preempt_notrace' +In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: +In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: use of undeclared identifier 'preempt_notrace' @@ -11563,2 +12823,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) @@ -11566,2 +12826,2 @@ -../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ @@ -11569,5 +12829,5 @@ -In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: -In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/block/rnbd/rnbd-srv-trace.h:116:1: error: use of undeclared identifier 'trace_event_guard' +In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: +In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' @@ -11577,2 +12837,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) @@ -11580,2 +12840,2 @@ -../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ @@ -11583,5 +12843,5 @@ -In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: -In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/block/rnbd/rnbd-srv-trace.h:116:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: +In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -11591,2 +12851,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) @@ -11594,2 +12854,2 @@ -../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ @@ -11597,5 +12857,5 @@ -In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: -In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/block/rnbd/rnbd-srv-trace.h:116:1: error: use of undeclared identifier 'preempt_notrace' +In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: +In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: use of undeclared identifier 'preempt_notrace' @@ -11605,2 +12865,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) @@ -11608,2 +12868,2 @@ -../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ @@ -11611,5 +12871,5 @@ -In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: -In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/block/rnbd/rnbd-srv-trace.h:116:1: error: use of undeclared identifier 'trace_event_guard' +In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: +In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' @@ -11619,2 +12879,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) @@ -11622,2 +12882,2 @@ -../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ @@ -11625,23 +12885,4 @@ -In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: -In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/block/rnbd/rnbd-srv-trace.h:154:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 154 | TRACE_EVENT(process_msg_open, - | ^ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ - | ^ -fatal error: too many errors emitted, stopping now [-ferror-limit=] -20 errors generated. -make[6]: *** [../scripts/Makefile.build:244: drivers/block/rnbd/rnbd-srv-trace.o] Error 1 -make[5]: *** [../scripts/Makefile.build:485: drivers/block/rnbd] Error 2 -make[5]: *** Waiting for unfinished jobs.... -In file included from ../drivers/regulator/core.c:32: -In file included from ../include/trace/events/regulator.h:174: +18 errors generated. +make[6]: *** [../scripts/Makefile.build:244: drivers/soc/qcom/pmic_pdcharger_ulog.o] Error 1 +In file included from ../net/dsa/trace.c:6: +In file included from ../net/dsa/trace.h:447: @@ -11650,2 +12891,2 @@ -../include/trace/events/regulator.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 15 | DECLARE_EVENT_CLASS(regulator_basic, +../net/dsa/trace.h:24:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 24 | DECLARE_EVENT_CLASS(dsa_port_addr_op_hw, @@ -11659,2 +12900,2 @@ -In file included from ../drivers/regulator/core.c:32: -In file included from ../include/trace/events/regulator.h:174: +In file included from ../net/dsa/trace.c:6: +In file included from ../net/dsa/trace.h:447: @@ -11663 +12904 @@ -../include/trace/events/regulator.h:15:1: error: use of undeclared identifier 'preempt_notrace' +../net/dsa/trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' @@ -11670,2 +12911,2 @@ -In file included from ../drivers/regulator/core.c:32: -In file included from ../include/trace/events/regulator.h:174: +In file included from ../net/dsa/trace.c:6: +In file included from ../net/dsa/trace.h:447: @@ -11674 +12915 @@ -../include/trace/events/regulator.h:15:1: error: use of undeclared identifier 'trace_event_guard' +../net/dsa/trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' @@ -11681,2 +12922,2 @@ -In file included from ../drivers/regulator/core.c:32: -In file included from ../include/trace/events/regulator.h:174: +In file included from ../net/dsa/trace.c:6: +In file included from ../net/dsa/trace.h:447: @@ -11685 +12926 @@ -../include/trace/events/regulator.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../net/dsa/trace.h:24:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -11692,2 +12933,2 @@ -In file included from ../drivers/regulator/core.c:32: -In file included from ../include/trace/events/regulator.h:174: +In file included from ../net/dsa/trace.c:6: +In file included from ../net/dsa/trace.h:447: @@ -11696 +12937 @@ -../include/trace/events/regulator.h:15:1: error: use of undeclared identifier 'preempt_notrace' +../net/dsa/trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' @@ -11703,2 +12944,2 @@ -In file included from ../drivers/regulator/core.c:32: -In file included from ../include/trace/events/regulator.h:174: +In file included from ../net/dsa/trace.c:6: +In file included from ../net/dsa/trace.h:447: @@ -11707 +12948 @@ -../include/trace/events/regulator.h:15:1: error: use of undeclared identifier 'trace_event_guard' +../net/dsa/trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' @@ -11714,2 +12955,2 @@ -In file included from ../drivers/regulator/core.c:32: -In file included from ../include/trace/events/regulator.h:174: +In file included from ../net/dsa/trace.c:6: +In file included from ../net/dsa/trace.h:447: @@ -11718,2 +12959,2 @@ -../include/trace/events/regulator.h:109:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 109 | DECLARE_EVENT_CLASS(regulator_range, +../net/dsa/trace.h:83:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 83 | DECLARE_EVENT_CLASS(dsa_port_addr_op_refcount, @@ -11727,2 +12968,2 @@ -In file included from ../drivers/regulator/core.c:32: -In file included from ../include/trace/events/regulator.h:174: +In file included from ../net/dsa/trace.c:6: +In file included from ../net/dsa/trace.h:447: @@ -11731 +12972 @@ -../include/trace/events/regulator.h:109:1: error: use of undeclared identifier 'preempt_notrace' +../net/dsa/trace.h:83:1: error: use of undeclared identifier 'preempt_notrace' @@ -11738,2 +12979,2 @@ -In file included from ../drivers/regulator/core.c:32: -In file included from ../include/trace/events/regulator.h:174: +In file included from ../net/dsa/trace.c:6: +In file included from ../net/dsa/trace.h:447: @@ -11742 +12983 @@ -../include/trace/events/regulator.h:109:1: error: use of undeclared identifier 'trace_event_guard' +../net/dsa/trace.h:83:1: error: use of undeclared identifier 'trace_event_guard' @@ -11749,2 +12990,2 @@ -In file included from ../drivers/regulator/core.c:32: -In file included from ../include/trace/events/regulator.h:174: +In file included from ../net/dsa/trace.c:6: +In file included from ../net/dsa/trace.h:447: @@ -11753 +12994 @@ -../include/trace/events/regulator.h:109:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../net/dsa/trace.h:83:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -11760,2 +13001,2 @@ -In file included from ../drivers/regulator/core.c:32: -In file included from ../include/trace/events/regulator.h:174: +In file included from ../net/dsa/trace.c:6: +In file included from ../net/dsa/trace.h:447: @@ -11764 +13005 @@ -../include/trace/events/regulator.h:109:1: error: use of undeclared identifier 'preempt_notrace' +../net/dsa/trace.h:83:1: error: use of undeclared identifier 'preempt_notrace' @@ -11771,2 +13012,2 @@ -In file included from ../drivers/regulator/core.c:32: -In file included from ../include/trace/events/regulator.h:174: +In file included from ../net/dsa/trace.c:6: +In file included from ../net/dsa/trace.h:447: @@ -11775 +13016 @@ -../include/trace/events/regulator.h:109:1: error: use of undeclared identifier 'trace_event_guard' +../net/dsa/trace.h:83:1: error: use of undeclared identifier 'trace_event_guard' @@ -11782,2 +13023,2 @@ -In file included from ../drivers/regulator/core.c:32: -In file included from ../include/trace/events/regulator.h:174: +In file included from ../net/dsa/trace.c:6: +In file included from ../net/dsa/trace.h:447: @@ -11786,2 +13027,2 @@ -../include/trace/events/regulator.h:143:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 143 | DECLARE_EVENT_CLASS(regulator_value, +../net/dsa/trace.h:143:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 143 | DECLARE_EVENT_CLASS(dsa_port_addr_del_not_found, @@ -11795,2 +13036,2 @@ -In file included from ../drivers/regulator/core.c:32: -In file included from ../include/trace/events/regulator.h:174: +In file included from ../net/dsa/trace.c:6: +In file included from ../net/dsa/trace.h:447: @@ -11799 +13040 @@ -../include/trace/events/regulator.h:143:1: error: use of undeclared identifier 'preempt_notrace' +../net/dsa/trace.h:143:1: error: use of undeclared identifier 'preempt_notrace' @@ -11806,2 +13047,2 @@ -In file included from ../drivers/regulator/core.c:32: -In file included from ../include/trace/events/regulator.h:174: +In file included from ../net/dsa/trace.c:6: +In file included from ../net/dsa/trace.h:447: @@ -11810 +13051 @@ -../include/trace/events/regulator.h:143:1: error: use of undeclared identifier 'trace_event_guard' +../net/dsa/trace.h:143:1: error: use of undeclared identifier 'trace_event_guard' @@ -11817,2 +13058,2 @@ -In file included from ../drivers/regulator/core.c:32: -In file included from ../include/trace/events/regulator.h:174: +In file included from ../net/dsa/trace.c:6: +In file included from ../net/dsa/trace.h:447: @@ -11821 +13062 @@ -../include/trace/events/regulator.h:143:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../net/dsa/trace.h:143:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -11828,2 +13069,2 @@ -In file included from ../drivers/regulator/core.c:32: -In file included from ../include/trace/events/regulator.h:174: +In file included from ../net/dsa/trace.c:6: +In file included from ../net/dsa/trace.h:447: @@ -11832 +13073 @@ -../include/trace/events/regulator.h:143:1: error: use of undeclared identifier 'preempt_notrace' +../net/dsa/trace.h:143:1: error: use of undeclared identifier 'preempt_notrace' @@ -11839,2 +13080,2 @@ -In file included from ../drivers/regulator/core.c:32: -In file included from ../include/trace/events/regulator.h:174: +In file included from ../net/dsa/trace.c:6: +In file included from ../net/dsa/trace.h:447: @@ -11843 +13084 @@ -../include/trace/events/regulator.h:143:1: error: use of undeclared identifier 'trace_event_guard' +../net/dsa/trace.h:143:1: error: use of undeclared identifier 'trace_event_guard' @@ -11850,6 +13091,6 @@ -In file included from ../drivers/regulator/core.c:32: -In file included from ../include/trace/events/regulator.h:174: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/regulator.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 15 | DECLARE_EVENT_CLASS(regulator_basic, +In file included from ../net/dsa/trace.c:6: +In file included from ../net/dsa/trace.h:447: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../net/dsa/trace.h:186:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 186 | TRACE_EVENT(dsa_lag_fdb_add_hw, @@ -11857,2 +13098,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -11860,2 +13101,5 @@ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -11865,4 +13109,4 @@ -make[5]: *** [../scripts/Makefile.build:244: drivers/regulator/core.o] Error 1 -make[4]: *** [../scripts/Makefile.build:485: drivers/regulator] Error 2 -In file included from ../mm/swap.c:44: -In file included from ../include/trace/events/pagemap.h:83: +make[5]: *** [../scripts/Makefile.build:244: net/dsa/trace.o] Error 1 +make[4]: *** [../scripts/Makefile.build:485: net/dsa] Error 2 +In file included from ../drivers/misc/mei/mei-trace.c:11: +In file included from ../drivers/misc/mei/mei-trace.h:83: @@ -11871,2 +13115,2 @@ -../include/trace/events/pagemap.h:28:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 28 | TRACE_EVENT(mm_lru_insertion, +../drivers/misc/mei/mei-trace.h:19:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 19 | TRACE_EVENT(mei_reg_read, @@ -11883,2 +13127,2 @@ -In file included from ../mm/swap.c:44: -In file included from ../include/trace/events/pagemap.h:83: +In file included from ../drivers/misc/mei/mei-trace.c:11: +In file included from ../drivers/misc/mei/mei-trace.h:83: @@ -11887 +13131 @@ -../include/trace/events/pagemap.h:28:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/misc/mei/mei-trace.h:19:1: error: use of undeclared identifier 'preempt_notrace' @@ -11897,2 +13141,2 @@ -In file included from ../mm/swap.c:44: -In file included from ../include/trace/events/pagemap.h:83: +In file included from ../drivers/misc/mei/mei-trace.c:11: +In file included from ../drivers/misc/mei/mei-trace.h:83: @@ -11901 +13145 @@ -../include/trace/events/pagemap.h:28:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/misc/mei/mei-trace.h:19:1: error: use of undeclared identifier 'trace_event_guard' @@ -11911,2 +13155,2 @@ -In file included from ../mm/swap.c:44: -In file included from ../include/trace/events/pagemap.h:83: +In file included from ../drivers/misc/mei/mei-trace.c:11: +In file included from ../drivers/misc/mei/mei-trace.h:83: @@ -11915 +13159 @@ -../include/trace/events/pagemap.h:28:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/misc/mei/mei-trace.h:19:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -11925,2 +13169,2 @@ -In file included from ../mm/swap.c:44: -In file included from ../include/trace/events/pagemap.h:83: +In file included from ../drivers/misc/mei/mei-trace.c:11: +In file included from ../drivers/misc/mei/mei-trace.h:83: @@ -11929 +13173 @@ -../include/trace/events/pagemap.h:28:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/misc/mei/mei-trace.h:19:1: error: use of undeclared identifier 'preempt_notrace' @@ -11939,2 +13183,2 @@ -In file included from ../mm/swap.c:44: -In file included from ../include/trace/events/pagemap.h:83: +In file included from ../drivers/misc/mei/mei-trace.c:11: +In file included from ../drivers/misc/mei/mei-trace.h:83: @@ -11943 +13187 @@ -../include/trace/events/pagemap.h:28:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/misc/mei/mei-trace.h:19:1: error: use of undeclared identifier 'trace_event_guard' @@ -11953,2 +13197,2 @@ -In file included from ../mm/swap.c:44: -In file included from ../include/trace/events/pagemap.h:83: +In file included from ../drivers/misc/mei/mei-trace.c:11: +In file included from ../drivers/misc/mei/mei-trace.h:83: @@ -11957,2 +13201,2 @@ -../include/trace/events/pagemap.h:61:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 61 | TRACE_EVENT(mm_lru_activate, +../drivers/misc/mei/mei-trace.h:38:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 38 | TRACE_EVENT(mei_reg_write, @@ -11969,2 +13213,2 @@ -In file included from ../mm/swap.c:44: -In file included from ../include/trace/events/pagemap.h:83: +In file included from ../drivers/misc/mei/mei-trace.c:11: +In file included from ../drivers/misc/mei/mei-trace.h:83: @@ -11973 +13217 @@ -../include/trace/events/pagemap.h:61:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/misc/mei/mei-trace.h:38:1: error: use of undeclared identifier 'preempt_notrace' @@ -11983,2 +13227,2 @@ -In file included from ../mm/swap.c:44: -In file included from ../include/trace/events/pagemap.h:83: +In file included from ../drivers/misc/mei/mei-trace.c:11: +In file included from ../drivers/misc/mei/mei-trace.h:83: @@ -11987 +13231 @@ -../include/trace/events/pagemap.h:61:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/misc/mei/mei-trace.h:38:1: error: use of undeclared identifier 'trace_event_guard' @@ -11997,2 +13241,2 @@ -In file included from ../mm/swap.c:44: -In file included from ../include/trace/events/pagemap.h:83: +In file included from ../drivers/misc/mei/mei-trace.c:11: +In file included from ../drivers/misc/mei/mei-trace.h:83: @@ -12001 +13245 @@ -../include/trace/events/pagemap.h:61:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/misc/mei/mei-trace.h:38:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -12011,2 +13255,2 @@ -In file included from ../mm/swap.c:44: -In file included from ../include/trace/events/pagemap.h:83: +In file included from ../drivers/misc/mei/mei-trace.c:11: +In file included from ../drivers/misc/mei/mei-trace.h:83: @@ -12015 +13259 @@ -../include/trace/events/pagemap.h:61:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/misc/mei/mei-trace.h:38:1: error: use of undeclared identifier 'preempt_notrace' @@ -12025,2 +13269,2 @@ -In file included from ../mm/swap.c:44: -In file included from ../include/trace/events/pagemap.h:83: +In file included from ../drivers/misc/mei/mei-trace.c:11: +In file included from ../drivers/misc/mei/mei-trace.h:83: @@ -12029 +13273 @@ -../include/trace/events/pagemap.h:61:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/misc/mei/mei-trace.h:38:1: error: use of undeclared identifier 'trace_event_guard' @@ -12039,6 +13283,6 @@ -In file included from ../mm/swap.c:44: -In file included from ../include/trace/events/pagemap.h:83: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/pagemap.h:28:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 28 | TRACE_EVENT(mm_lru_insertion, +In file included from ../drivers/misc/mei/mei-trace.c:11: +In file included from ../drivers/misc/mei/mei-trace.h:83: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/misc/mei/mei-trace.h:57:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 57 | TRACE_EVENT(mei_pci_cfg_read, @@ -12049,2 +13293,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -12052,2 +13296,2 @@ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -12055,5 +13299,5 @@ -In file included from ../mm/swap.c:44: -In file included from ../include/trace/events/pagemap.h:83: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/pagemap.h:28:1: error: use of undeclared identifier 'preempt_notrace' +In file included from ../drivers/misc/mei/mei-trace.c:11: +In file included from ../drivers/misc/mei/mei-trace.h:83: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/misc/mei/mei-trace.h:57:1: error: use of undeclared identifier 'preempt_notrace' @@ -12063,2 +13307,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -12066,2 +13310,2 @@ -../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -12069,5 +13313,5 @@ -In file included from ../mm/swap.c:44: -In file included from ../include/trace/events/pagemap.h:83: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/pagemap.h:28:1: error: use of undeclared identifier 'bpf_trace_guard' +In file included from ../drivers/misc/mei/mei-trace.c:11: +In file included from ../drivers/misc/mei/mei-trace.h:83: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/misc/mei/mei-trace.h:57:1: error: use of undeclared identifier 'trace_event_guard' @@ -12077,2 +13321,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -12080,2 +13324,2 @@ -../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -12083,5 +13327,5 @@ -In file included from ../mm/swap.c:44: -In file included from ../include/trace/events/pagemap.h:83: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/pagemap.h:28:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +In file included from ../drivers/misc/mei/mei-trace.c:11: +In file included from ../drivers/misc/mei/mei-trace.h:83: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/misc/mei/mei-trace.h:57:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -12091,2 +13335,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -12094,2 +13338,2 @@ -../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ +../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -12097,5 +13341,5 @@ -In file included from ../mm/swap.c:44: -In file included from ../include/trace/events/pagemap.h:83: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/pagemap.h:28:1: error: use of undeclared identifier 'preempt_notrace' +In file included from ../drivers/misc/mei/mei-trace.c:11: +In file included from ../drivers/misc/mei/mei-trace.h:83: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/misc/mei/mei-trace.h:57:1: error: use of undeclared identifier 'preempt_notrace' @@ -12105,2 +13349,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -12108,2 +13352,2 @@ -../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ +../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -12111,5 +13355,5 @@ -In file included from ../mm/swap.c:44: -In file included from ../include/trace/events/pagemap.h:83: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/pagemap.h:28:1: error: use of undeclared identifier 'bpf_trace_guard' +In file included from ../drivers/misc/mei/mei-trace.c:11: +In file included from ../drivers/misc/mei/mei-trace.h:83: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/misc/mei/mei-trace.h:57:1: error: use of undeclared identifier 'trace_event_guard' @@ -12119,2 +13363,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -12122,2 +13366,2 @@ -../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ +../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -12125,6 +13369,6 @@ -In file included from ../mm/swap.c:44: -In file included from ../include/trace/events/pagemap.h:83: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/pagemap.h:61:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 61 | TRACE_EVENT(mm_lru_activate, +In file included from ../drivers/misc/mei/mei-trace.c:11: +In file included from ../drivers/misc/mei/mei-trace.h:83: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/misc/mei/mei-trace.h:19:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 19 | TRACE_EVENT(mei_reg_read, @@ -12135,2 +13379,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -12138,2 +13382,2 @@ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -12143,3 +13387,5 @@ -make[4]: *** [../scripts/Makefile.build:244: mm/swap.o] Error 1 -In file included from ../sound/pci/hda/hda_controller.c:32: -In file included from ../sound/pci/hda/hda_controller_trace.h:99: +make[6]: *** [../scripts/Makefile.build:244: drivers/misc/mei/mei-trace.o] Error 1 +make[5]: *** [../scripts/Makefile.build:485: drivers/misc/mei] Error 2 +make[4]: *** [../scripts/Makefile.build:485: drivers/misc] Error 2 +In file included from ../kernel/signal.c:53: +In file included from ../include/trace/events/signal.h:125: @@ -12148,2 +13394,2 @@ -../sound/pci/hda/hda_controller_trace.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 14 | TRACE_EVENT(azx_pcm_trigger, +../include/trace/events/signal.h:50:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 50 | TRACE_EVENT(signal_generate, @@ -12160,2 +13406,2 @@ -In file included from ../sound/pci/hda/hda_controller.c:32: -In file included from ../sound/pci/hda/hda_controller_trace.h:99: +In file included from ../kernel/signal.c:53: +In file included from ../include/trace/events/signal.h:125: @@ -12164 +13410 @@ -../sound/pci/hda/hda_controller_trace.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/signal.h:50:1: error: use of undeclared identifier 'preempt_notrace' @@ -12174,2 +13420,2 @@ -In file included from ../sound/pci/hda/hda_controller.c:32: -In file included from ../sound/pci/hda/hda_controller_trace.h:99: +In file included from ../kernel/signal.c:53: +In file included from ../include/trace/events/signal.h:125: @@ -12178 +13424 @@ -../sound/pci/hda/hda_controller_trace.h:14:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/signal.h:50:1: error: use of undeclared identifier 'trace_event_guard' @@ -12188,2 +13434,2 @@ -In file included from ../sound/pci/hda/hda_controller.c:32: -In file included from ../sound/pci/hda/hda_controller_trace.h:99: +In file included from ../kernel/signal.c:53: +In file included from ../include/trace/events/signal.h:125: @@ -12192 +13438 @@ -../sound/pci/hda/hda_controller_trace.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/signal.h:50:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -12202,2 +13448,2 @@ -In file included from ../sound/pci/hda/hda_controller.c:32: -In file included from ../sound/pci/hda/hda_controller_trace.h:99: +In file included from ../kernel/signal.c:53: +In file included from ../include/trace/events/signal.h:125: @@ -12206 +13452 @@ -../sound/pci/hda/hda_controller_trace.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/signal.h:50:1: error: use of undeclared identifier 'preempt_notrace' @@ -12216,2 +13462,2 @@ -In file included from ../sound/pci/hda/hda_controller.c:32: -In file included from ../sound/pci/hda/hda_controller_trace.h:99: +In file included from ../kernel/signal.c:53: +In file included from ../include/trace/events/signal.h:125: @@ -12220 +13466 @@ -../sound/pci/hda/hda_controller_trace.h:14:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/signal.h:50:1: error: use of undeclared identifier 'trace_event_guard' @@ -12230,2 +13476,2 @@ -In file included from ../sound/pci/hda/hda_controller.c:32: -In file included from ../sound/pci/hda/hda_controller_trace.h:99: +In file included from ../kernel/signal.c:53: +In file included from ../include/trace/events/signal.h:125: @@ -12234,2 +13480,2 @@ -../sound/pci/hda/hda_controller_trace.h:35:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 35 | TRACE_EVENT(azx_get_position, +../include/trace/events/signal.h:96:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 96 | TRACE_EVENT(signal_deliver, @@ -12246,2 +13492,2 @@ -In file included from ../sound/pci/hda/hda_controller.c:32: -In file included from ../sound/pci/hda/hda_controller_trace.h:99: +In file included from ../kernel/signal.c:53: +In file included from ../include/trace/events/signal.h:125: @@ -12250 +13496 @@ -../sound/pci/hda/hda_controller_trace.h:35:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/signal.h:96:1: error: use of undeclared identifier 'preempt_notrace' @@ -12260,2 +13506,2 @@ -In file included from ../sound/pci/hda/hda_controller.c:32: -In file included from ../sound/pci/hda/hda_controller_trace.h:99: +In file included from ../kernel/signal.c:53: +In file included from ../include/trace/events/signal.h:125: @@ -12264 +13510 @@ -../sound/pci/hda/hda_controller_trace.h:35:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/signal.h:96:1: error: use of undeclared identifier 'trace_event_guard' @@ -12274,2 +13520,2 @@ -In file included from ../sound/pci/hda/hda_controller.c:32: -In file included from ../sound/pci/hda/hda_controller_trace.h:99: +In file included from ../kernel/signal.c:53: +In file included from ../include/trace/events/signal.h:125: @@ -12278 +13524 @@ -../sound/pci/hda/hda_controller_trace.h:35:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/signal.h:96:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -12288,2 +13534,2 @@ -In file included from ../sound/pci/hda/hda_controller.c:32: -In file included from ../sound/pci/hda/hda_controller_trace.h:99: +In file included from ../kernel/signal.c:53: +In file included from ../include/trace/events/signal.h:125: @@ -12292 +13538 @@ -../sound/pci/hda/hda_controller_trace.h:35:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/signal.h:96:1: error: use of undeclared identifier 'preempt_notrace' @@ -12302,2 +13548,2 @@ -In file included from ../sound/pci/hda/hda_controller.c:32: -In file included from ../sound/pci/hda/hda_controller_trace.h:99: +In file included from ../kernel/signal.c:53: +In file included from ../include/trace/events/signal.h:125: @@ -12306 +13552 @@ -../sound/pci/hda/hda_controller_trace.h:35:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/signal.h:96:1: error: use of undeclared identifier 'trace_event_guard' @@ -12316,6 +13562,6 @@ -In file included from ../sound/pci/hda/hda_controller.c:32: -In file included from ../sound/pci/hda/hda_controller_trace.h:99: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../sound/pci/hda/hda_controller_trace.h:58:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 58 | DECLARE_EVENT_CLASS(azx_pcm, +In file included from ../kernel/signal.c:53: +In file included from ../include/trace/events/signal.h:125: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/signal.h:50:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 50 | TRACE_EVENT(signal_generate, @@ -12323,2 +13569,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -12326,2 +13572,2 @@ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -12329,7 +13575,2 @@ -In file included from ../sound/pci/hda/hda_controller.c:32: -In file included from ../sound/pci/hda/hda_controller_trace.h:99: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../sound/pci/hda/hda_controller_trace.h:58:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -12337,2 +13578,13 @@ -../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +In file included from ../kernel/signal.c:53: +In file included from ../include/trace/events/signal.h:125: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/signal.h:50:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -12340,7 +13592,7 @@ -In file included from ../sound/pci/hda/hda_controller.c:32: -In file included from ../sound/pci/hda/hda_controller_trace.h:99: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../sound/pci/hda/hda_controller_trace.h:58:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +In file included from ../kernel/signal.c:53: +In file included from ../include/trace/events/signal.h:125: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/signal.h:50:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -12348,2 +13600,5 @@ -../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -12351,7 +13606,7 @@ -In file included from ../sound/pci/hda/hda_controller.c:32: -In file included from ../sound/pci/hda/hda_controller_trace.h:99: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../sound/pci/hda/hda_controller_trace.h:58:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +In file included from ../kernel/signal.c:53: +In file included from ../include/trace/events/signal.h:125: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/signal.h:50:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -12359,2 +13614,5 @@ -../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -12362,7 +13620,7 @@ -In file included from ../sound/pci/hda/hda_controller.c:32: -In file included from ../sound/pci/hda/hda_controller_trace.h:99: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../sound/pci/hda/hda_controller_trace.h:58:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +In file included from ../kernel/signal.c:53: +In file included from ../include/trace/events/signal.h:125: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/signal.h:50:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -12370,2 +13628,5 @@ -../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -12373,7 +13634,7 @@ -In file included from ../sound/pci/hda/hda_controller.c:32: -In file included from ../sound/pci/hda/hda_controller_trace.h:99: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../sound/pci/hda/hda_controller_trace.h:58:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +In file included from ../kernel/signal.c:53: +In file included from ../include/trace/events/signal.h:125: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/signal.h:50:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -12381,2 +13642,5 @@ -../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -12384,6 +13648,6 @@ -In file included from ../sound/pci/hda/hda_controller.c:32: -In file included from ../sound/pci/hda/hda_controller_trace.h:99: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../sound/pci/hda/hda_controller_trace.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 14 | TRACE_EVENT(azx_pcm_trigger, +In file included from ../kernel/signal.c:53: +In file included from ../include/trace/events/signal.h:125: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/signal.h:96:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 96 | TRACE_EVENT(signal_deliver, @@ -12394,2 +13658,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -12397,2 +13661,2 @@ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -12402,5 +13666,3 @@ -make[6]: *** [../scripts/Makefile.build:244: sound/pci/hda/hda_controller.o] Error 1 -make[5]: *** [../scripts/Makefile.build:485: sound/pci/hda] Error 2 -make[4]: *** [../scripts/Makefile.build:485: sound/pci] Error 2 -In file included from ../net/dsa/trace.c:6: -In file included from ../net/dsa/trace.h:447: +make[4]: *** [../scripts/Makefile.build:244: kernel/signal.o] Error 1 +In file included from ../drivers/nvme/target/core.c:16: +In file included from ../drivers/nvme/target/trace.h:170: @@ -12409,2 +13671,2 @@ -../net/dsa/trace.h:24:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 24 | DECLARE_EVENT_CLASS(dsa_port_addr_op_hw, +../drivers/nvme/target/trace.h:66:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 66 | TRACE_EVENT(nvmet_req_init, @@ -12411,0 +13674,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -12418,2 +13683,2 @@ -In file included from ../net/dsa/trace.c:6: -In file included from ../net/dsa/trace.h:447: +In file included from ../drivers/nvme/target/core.c:16: +In file included from ../drivers/nvme/target/trace.h:170: @@ -12422 +13687,4 @@ -../net/dsa/trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/nvme/target/trace.h:66:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -12429,2 +13697,2 @@ -In file included from ../net/dsa/trace.c:6: -In file included from ../net/dsa/trace.h:447: +In file included from ../drivers/nvme/target/core.c:16: +In file included from ../drivers/nvme/target/trace.h:170: @@ -12433 +13701,4 @@ -../net/dsa/trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/nvme/target/trace.h:66:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -12440,2 +13711,2 @@ -In file included from ../net/dsa/trace.c:6: -In file included from ../net/dsa/trace.h:447: +In file included from ../drivers/nvme/target/core.c:16: +In file included from ../drivers/nvme/target/trace.h:170: @@ -12444 +13715,4 @@ -../net/dsa/trace.h:24:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/nvme/target/trace.h:66:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -12451,2 +13725,2 @@ -In file included from ../net/dsa/trace.c:6: -In file included from ../net/dsa/trace.h:447: +In file included from ../drivers/nvme/target/core.c:16: +In file included from ../drivers/nvme/target/trace.h:170: @@ -12455 +13729,4 @@ -../net/dsa/trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/nvme/target/trace.h:66:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -12462,2 +13739,2 @@ -In file included from ../net/dsa/trace.c:6: -In file included from ../net/dsa/trace.h:447: +In file included from ../drivers/nvme/target/core.c:16: +In file included from ../drivers/nvme/target/trace.h:170: @@ -12466 +13743,4 @@ -../net/dsa/trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/nvme/target/trace.h:66:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -12473,2 +13753,2 @@ -In file included from ../net/dsa/trace.c:6: -In file included from ../net/dsa/trace.h:447: +In file included from ../drivers/nvme/target/core.c:16: +In file included from ../drivers/nvme/target/trace.h:170: @@ -12477,2 +13757,2 @@ -../net/dsa/trace.h:83:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 83 | DECLARE_EVENT_CLASS(dsa_port_addr_op_refcount, +../drivers/nvme/target/trace.h:108:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 108 | TRACE_EVENT(nvmet_req_complete, @@ -12479,0 +13760,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -12486,2 +13769,2 @@ -In file included from ../net/dsa/trace.c:6: -In file included from ../net/dsa/trace.h:447: +In file included from ../drivers/nvme/target/core.c:16: +In file included from ../drivers/nvme/target/trace.h:170: @@ -12490 +13773,4 @@ -../net/dsa/trace.h:83:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/nvme/target/trace.h:108:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -12497,2 +13783,2 @@ -In file included from ../net/dsa/trace.c:6: -In file included from ../net/dsa/trace.h:447: +In file included from ../drivers/nvme/target/core.c:16: +In file included from ../drivers/nvme/target/trace.h:170: @@ -12501 +13787,4 @@ -../net/dsa/trace.h:83:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/nvme/target/trace.h:108:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -12508,2 +13797,2 @@ -In file included from ../net/dsa/trace.c:6: -In file included from ../net/dsa/trace.h:447: +In file included from ../drivers/nvme/target/core.c:16: +In file included from ../drivers/nvme/target/trace.h:170: @@ -12512 +13801,4 @@ -../net/dsa/trace.h:83:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/nvme/target/trace.h:108:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -12519,2 +13811,2 @@ -In file included from ../net/dsa/trace.c:6: -In file included from ../net/dsa/trace.h:447: +In file included from ../drivers/nvme/target/core.c:16: +In file included from ../drivers/nvme/target/trace.h:170: @@ -12523 +13815,4 @@ -../net/dsa/trace.h:83:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/nvme/target/trace.h:108:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -12530,2 +13825,2 @@ -In file included from ../net/dsa/trace.c:6: -In file included from ../net/dsa/trace.h:447: +In file included from ../drivers/nvme/target/core.c:16: +In file included from ../drivers/nvme/target/trace.h:170: @@ -12534 +13829,4 @@ -../net/dsa/trace.h:83:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/nvme/target/trace.h:108:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -12541,2 +13839,2 @@ -In file included from ../net/dsa/trace.c:6: -In file included from ../net/dsa/trace.h:447: +In file included from ../drivers/nvme/target/core.c:16: +In file included from ../drivers/nvme/target/trace.h:170: @@ -12545,2 +13843,2 @@ -../net/dsa/trace.h:143:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 143 | DECLARE_EVENT_CLASS(dsa_port_addr_del_not_found, +../drivers/nvme/target/trace.h:136:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 136 | TRACE_EVENT(nvmet_async_event, @@ -12547,0 +13846,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -12554,2 +13855,2 @@ -In file included from ../net/dsa/trace.c:6: -In file included from ../net/dsa/trace.h:447: +In file included from ../drivers/nvme/target/core.c:16: +In file included from ../drivers/nvme/target/trace.h:170: @@ -12558 +13859,4 @@ -../net/dsa/trace.h:143:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/nvme/target/trace.h:136:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -12565,2 +13869,2 @@ -In file included from ../net/dsa/trace.c:6: -In file included from ../net/dsa/trace.h:447: +In file included from ../drivers/nvme/target/core.c:16: +In file included from ../drivers/nvme/target/trace.h:170: @@ -12569 +13873,4 @@ -../net/dsa/trace.h:143:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/nvme/target/trace.h:136:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -12576,2 +13883,2 @@ -In file included from ../net/dsa/trace.c:6: -In file included from ../net/dsa/trace.h:447: +In file included from ../drivers/nvme/target/core.c:16: +In file included from ../drivers/nvme/target/trace.h:170: @@ -12580 +13887,4 @@ -../net/dsa/trace.h:143:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/nvme/target/trace.h:136:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -12587,2 +13897,2 @@ -In file included from ../net/dsa/trace.c:6: -In file included from ../net/dsa/trace.h:447: +In file included from ../drivers/nvme/target/core.c:16: +In file included from ../drivers/nvme/target/trace.h:170: @@ -12591 +13901,4 @@ -../net/dsa/trace.h:143:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/nvme/target/trace.h:136:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -12598,2 +13911,2 @@ -In file included from ../net/dsa/trace.c:6: -In file included from ../net/dsa/trace.h:447: +In file included from ../drivers/nvme/target/core.c:16: +In file included from ../drivers/nvme/target/trace.h:170: @@ -12602 +13915,4 @@ -../net/dsa/trace.h:143:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/nvme/target/trace.h:136:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -12609,6 +13925,6 @@ -In file included from ../net/dsa/trace.c:6: -In file included from ../net/dsa/trace.h:447: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../net/dsa/trace.h:186:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 186 | TRACE_EVENT(dsa_lag_fdb_add_hw, +In file included from ../drivers/nvme/target/core.c:16: +In file included from ../drivers/nvme/target/trace.h:170: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/nvme/target/trace.h:66:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 66 | TRACE_EVENT(nvmet_req_init, @@ -12619,2 +13935,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -12622,2 +13938,2 @@ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -12627,2 +13943,3 @@ -make[5]: *** [../scripts/Makefile.build:244: net/dsa/trace.o] Error 1 -make[4]: *** [../scripts/Makefile.build:485: net/dsa] Error 2 +make[6]: *** [../scripts/Makefile.build:244: drivers/nvme/target/core.o] Error 1 +make[5]: *** [../scripts/Makefile.build:485: drivers/nvme/target] Error 2 +make[5]: *** Waiting for unfinished jobs.... @@ -12716,0 +14034,86 @@ +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/icmp.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 11 | TRACE_EVENT(icmp_send, + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../net/ipv4/icmp.c:97: +In file included from ../include/trace/events/icmp.h:66: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/icmp.h:11:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../net/ipv4/icmp.c:97: +In file included from ../include/trace/events/icmp.h:66: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/icmp.h:11:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../net/ipv4/icmp.c:97: +In file included from ../include/trace/events/icmp.h:66: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/icmp.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../net/ipv4/icmp.c:97: +In file included from ../include/trace/events/icmp.h:66: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/icmp.h:11:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../net/ipv4/icmp.c:97: +In file included from ../include/trace/events/icmp.h:66: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/icmp.h:11:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../net/ipv4/icmp.c:97: +In file included from ../include/trace/events/icmp.h:66: @@ -12801 +14204 @@ -12 errors generated. +18 errors generated. @@ -12804,2 +14207,2 @@ -In file included from ../drivers/block/nbd.c:50: -In file included from ../include/trace/events/nbd.h:107: +In file included from ../mm/vmscan.c:71: +In file included from ../include/trace/events/vmscan.h:496: @@ -12808,2 +14211,2 @@ -../include/trace/events/nbd.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 10 | DECLARE_EVENT_CLASS(nbd_transport_event, +../include/trace/events/vmscan.h:49:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 49 | TRACE_EVENT(mm_vmscan_kswapd_sleep, @@ -12810,0 +14214,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -12817,2 +14223,2 @@ -In file included from ../drivers/block/nbd.c:50: -In file included from ../include/trace/events/nbd.h:107: +In file included from ../mm/vmscan.c:71: +In file included from ../include/trace/events/vmscan.h:496: @@ -12821 +14227,4 @@ -../include/trace/events/nbd.h:10:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/vmscan.h:49:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -12828,2 +14237,2 @@ -In file included from ../drivers/block/nbd.c:50: -In file included from ../include/trace/events/nbd.h:107: +In file included from ../mm/vmscan.c:71: +In file included from ../include/trace/events/vmscan.h:496: @@ -12832 +14241,4 @@ -../include/trace/events/nbd.h:10:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/vmscan.h:49:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -12839,2 +14251,2 @@ -In file included from ../drivers/block/nbd.c:50: -In file included from ../include/trace/events/nbd.h:107: +In file included from ../mm/vmscan.c:71: +In file included from ../include/trace/events/vmscan.h:496: @@ -12843 +14255,4 @@ -../include/trace/events/nbd.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/vmscan.h:49:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -12850,2 +14265,2 @@ -In file included from ../drivers/block/nbd.c:50: -In file included from ../include/trace/events/nbd.h:107: +In file included from ../mm/vmscan.c:71: +In file included from ../include/trace/events/vmscan.h:496: @@ -12854 +14269,4 @@ -../include/trace/events/nbd.h:10:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/vmscan.h:49:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -12861,2 +14279,2 @@ -In file included from ../drivers/block/nbd.c:50: -In file included from ../include/trace/events/nbd.h:107: +In file included from ../mm/vmscan.c:71: +In file included from ../include/trace/events/vmscan.h:496: @@ -12865 +14283,4 @@ -../include/trace/events/nbd.h:10:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/vmscan.h:49:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -12872,2 +14293,2 @@ -In file included from ../drivers/block/nbd.c:50: -In file included from ../include/trace/events/nbd.h:107: +In file included from ../mm/vmscan.c:71: +In file included from ../include/trace/events/vmscan.h:496: @@ -12876,2 +14297,2 @@ -../include/trace/events/nbd.h:61:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 61 | DECLARE_EVENT_CLASS(nbd_send_request, +../include/trace/events/vmscan.h:66:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 66 | TRACE_EVENT(mm_vmscan_kswapd_wake, @@ -12878,0 +14300,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -12885,2 +14309,2 @@ -In file included from ../drivers/block/nbd.c:50: -In file included from ../include/trace/events/nbd.h:107: +In file included from ../mm/vmscan.c:71: +In file included from ../include/trace/events/vmscan.h:496: @@ -12889,4 +14313,7 @@ -../include/trace/events/nbd.h:61:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ +../include/trace/events/vmscan.h:66:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ @@ -12896,2 +14323,2 @@ -In file included from ../drivers/block/nbd.c:50: -In file included from ../include/trace/events/nbd.h:107: +In file included from ../mm/vmscan.c:71: +In file included from ../include/trace/events/vmscan.h:496: @@ -12900 +14327,4 @@ -../include/trace/events/nbd.h:61:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/vmscan.h:66:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -12907,2 +14337,2 @@ -In file included from ../drivers/block/nbd.c:50: -In file included from ../include/trace/events/nbd.h:107: +In file included from ../mm/vmscan.c:71: +In file included from ../include/trace/events/vmscan.h:496: @@ -12911 +14341,4 @@ -../include/trace/events/nbd.h:61:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/vmscan.h:66:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -12918,2 +14351,2 @@ -In file included from ../drivers/block/nbd.c:50: -In file included from ../include/trace/events/nbd.h:107: +In file included from ../mm/vmscan.c:71: +In file included from ../include/trace/events/vmscan.h:496: @@ -12922 +14355,4 @@ -../include/trace/events/nbd.h:61:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/vmscan.h:66:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -12929,2 +14365,2 @@ -In file included from ../drivers/block/nbd.c:50: -In file included from ../include/trace/events/nbd.h:107: +In file included from ../mm/vmscan.c:71: +In file included from ../include/trace/events/vmscan.h:496: @@ -12933 +14369,4 @@ -../include/trace/events/nbd.h:61:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/vmscan.h:66:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -12940,6 +14379,6 @@ -In file included from ../drivers/block/nbd.c:50: -In file included from ../include/trace/events/nbd.h:107: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/nbd.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 10 | DECLARE_EVENT_CLASS(nbd_transport_event, +In file included from ../mm/vmscan.c:71: +In file included from ../include/trace/events/vmscan.h:496: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/vmscan.h:89:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 89 | TRACE_EVENT(mm_vmscan_wakeup_kswapd, @@ -12947,2 +14386,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -12950,2 +14389,2 @@ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -12953,7 +14392,2 @@ -In file included from ../drivers/block/nbd.c:50: -In file included from ../include/trace/events/nbd.h:107: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/nbd.h:10:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -12961,2 +14395,13 @@ -../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +In file included from ../mm/vmscan.c:71: +In file included from ../include/trace/events/vmscan.h:496: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/vmscan.h:89:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -12964,7 +14409,7 @@ -In file included from ../drivers/block/nbd.c:50: -In file included from ../include/trace/events/nbd.h:107: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/nbd.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +In file included from ../mm/vmscan.c:71: +In file included from ../include/trace/events/vmscan.h:496: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/vmscan.h:89:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -12972,2 +14417,5 @@ -../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -12975,7 +14423,7 @@ -In file included from ../drivers/block/nbd.c:50: -In file included from ../include/trace/events/nbd.h:107: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/nbd.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +In file included from ../mm/vmscan.c:71: +In file included from ../include/trace/events/vmscan.h:496: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/vmscan.h:89:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -12983,2 +14431,5 @@ -../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -12986,7 +14437,7 @@ -In file included from ../drivers/block/nbd.c:50: -In file included from ../include/trace/events/nbd.h:107: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/nbd.h:10:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +In file included from ../mm/vmscan.c:71: +In file included from ../include/trace/events/vmscan.h:496: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/vmscan.h:89:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -12994,2 +14445,5 @@ -../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -12997,7 +14451,7 @@ -In file included from ../drivers/block/nbd.c:50: -In file included from ../include/trace/events/nbd.h:107: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/nbd.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +In file included from ../mm/vmscan.c:71: +In file included from ../include/trace/events/vmscan.h:496: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/vmscan.h:89:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -13005,2 +14459,5 @@ -../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -13008,6 +14465,6 @@ -In file included from ../drivers/block/nbd.c:50: -In file included from ../include/trace/events/nbd.h:107: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/nbd.h:61:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 61 | DECLARE_EVENT_CLASS(nbd_send_request, +In file included from ../mm/vmscan.c:71: +In file included from ../include/trace/events/vmscan.h:496: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/vmscan.h:115:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 115 | DECLARE_EVENT_CLASS(mm_vmscan_direct_reclaim_begin_template, @@ -13015,2 +14472,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -13018,2 +14475,2 @@ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -13023 +14480,539 @@ -make[5]: *** [../scripts/Makefile.build:244: drivers/block/nbd.o] Error 1 +make[4]: *** [../scripts/Makefile.build:244: mm/vmscan.o] Error 1 +In file included from ../net/mctp/af_mctp.c:21: +In file included from ../include/trace/events/mctp.h:78: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/mctp.h:28:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 28 | TRACE_EVENT(mctp_key_acquire, + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../net/mctp/af_mctp.c:21: +In file included from ../include/trace/events/mctp.h:78: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/mctp.h:28:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../net/mctp/af_mctp.c:21: +In file included from ../include/trace/events/mctp.h:78: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/mctp.h:28:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../net/mctp/af_mctp.c:21: +In file included from ../include/trace/events/mctp.h:78: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/mctp.h:28:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../net/mctp/af_mctp.c:21: +In file included from ../include/trace/events/mctp.h:78: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/mctp.h:28:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../net/mctp/af_mctp.c:21: +In file included from ../include/trace/events/mctp.h:78: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/mctp.h:28:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../net/mctp/af_mctp.c:21: +In file included from ../include/trace/events/mctp.h:78: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/mctp.h:48:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 48 | TRACE_EVENT(mctp_key_release, + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../net/mctp/af_mctp.c:21: +In file included from ../include/trace/events/mctp.h:78: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/mctp.h:48:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../net/mctp/af_mctp.c:21: +In file included from ../include/trace/events/mctp.h:78: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/mctp.h:48:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../net/mctp/af_mctp.c:21: +In file included from ../include/trace/events/mctp.h:78: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/mctp.h:48:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../net/mctp/af_mctp.c:21: +In file included from ../include/trace/events/mctp.h:78: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/mctp.h:48:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../net/mctp/af_mctp.c:21: +In file included from ../include/trace/events/mctp.h:78: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/mctp.h:48:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../net/mctp/af_mctp.c:21: +In file included from ../include/trace/events/mctp.h:78: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/mctp.h:28:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 28 | TRACE_EVENT(mctp_key_acquire, + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../net/mctp/af_mctp.c:21: +In file included from ../include/trace/events/mctp.h:78: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/mctp.h:28:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../net/mctp/af_mctp.c:21: +In file included from ../include/trace/events/mctp.h:78: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/mctp.h:28:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../net/mctp/af_mctp.c:21: +In file included from ../include/trace/events/mctp.h:78: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/mctp.h:28:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../net/mctp/af_mctp.c:21: +In file included from ../include/trace/events/mctp.h:78: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/mctp.h:28:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../net/mctp/af_mctp.c:21: +In file included from ../include/trace/events/mctp.h:78: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/mctp.h:28:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../net/mctp/af_mctp.c:21: +In file included from ../include/trace/events/mctp.h:78: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/mctp.h:48:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 48 | TRACE_EVENT(mctp_key_release, + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. +make[5]: *** [../scripts/Makefile.build:244: net/mctp/af_mctp.o] Error 1 +make[4]: *** [../scripts/Makefile.build:485: net/mctp] Error 2 +In file included from ../drivers/scsi/scsi.c:73: +In file included from ../include/trace/events/scsi.h:351: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/scsi.h:157:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 157 | TRACE_EVENT(scsi_dispatch_cmd_start, + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/scsi/scsi.c:73: +In file included from ../include/trace/events/scsi.h:351: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/scsi.h:157:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/scsi/scsi.c:73: +In file included from ../include/trace/events/scsi.h:351: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/scsi.h:157:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/scsi/scsi.c:73: +In file included from ../include/trace/events/scsi.h:351: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/scsi.h:157:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/scsi/scsi.c:73: +In file included from ../include/trace/events/scsi.h:351: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/scsi.h:157:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/scsi/scsi.c:73: +In file included from ../include/trace/events/scsi.h:351: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/scsi.h:157:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/scsi/scsi.c:73: +In file included from ../include/trace/events/scsi.h:351: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/scsi.h:203:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 203 | TRACE_EVENT(scsi_dispatch_cmd_error, + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/scsi/scsi.c:73: +In file included from ../include/trace/events/scsi.h:351: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/scsi.h:203:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/scsi/scsi.c:73: +In file included from ../include/trace/events/scsi.h:351: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/scsi.h:203:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/scsi/scsi.c:73: +In file included from ../include/trace/events/scsi.h:351: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/scsi.h:203:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/scsi/scsi.c:73: +In file included from ../include/trace/events/scsi.h:351: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/scsi.h:203:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/scsi/scsi.c:73: +In file included from ../include/trace/events/scsi.h:351: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/scsi.h:203:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/scsi/scsi.c:73: +In file included from ../include/trace/events/scsi.h:351: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/scsi.h:253:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 253 | DECLARE_EVENT_CLASS(scsi_cmd_done_timeout_template, + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/scsi/scsi.c:73: +In file included from ../include/trace/events/scsi.h:351: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/scsi.h:253:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/scsi/scsi.c:73: +In file included from ../include/trace/events/scsi.h:351: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/scsi.h:253:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/scsi/scsi.c:73: +In file included from ../include/trace/events/scsi.h:351: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/scsi.h:253:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/scsi/scsi.c:73: +In file included from ../include/trace/events/scsi.h:351: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/scsi.h:253:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/scsi/scsi.c:73: +In file included from ../include/trace/events/scsi.h:351: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/scsi.h:253:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/scsi/scsi.c:73: +In file included from ../include/trace/events/scsi.h:351: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/scsi.h:331:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 331 | TRACE_EVENT(scsi_eh_wakeup, + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. +make[5]: *** [../scripts/Makefile.build:244: drivers/scsi/scsi.o] Error 1 +make[5]: *** Waiting for unfinished jobs.... @@ -13111,0 +15107,86 @@ +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/fib6.h:13:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 13 | TRACE_EVENT(fib6_table_lookup, + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../net/ipv6/route.c:74: +In file included from ../include/trace/events/fib6.h:89: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/fib6.h:13:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../net/ipv6/route.c:74: +In file included from ../include/trace/events/fib6.h:89: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/fib6.h:13:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../net/ipv6/route.c:74: +In file included from ../include/trace/events/fib6.h:89: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/fib6.h:13:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../net/ipv6/route.c:74: +In file included from ../include/trace/events/fib6.h:89: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/fib6.h:13:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../net/ipv6/route.c:74: +In file included from ../include/trace/events/fib6.h:89: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/fib6.h:13:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../net/ipv6/route.c:74: +In file included from ../include/trace/events/fib6.h:89: @@ -13196 +15277 @@ -12 errors generated. +18 errors generated. @@ -13478,2 +15559,2 @@ -In file included from ../drivers/spi/spi.c:39: -In file included from ../include/trace/events/spi.h:239: +In file included from ../kernel/workqueue.c:533: +In file included from ../include/trace/events/workqueue.h:132: @@ -13482,2 +15563,2 @@ -../include/trace/events/spi.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 11 | DECLARE_EVENT_CLASS(spi_controller, +../include/trace/events/workqueue.h:23:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 23 | TRACE_EVENT(workqueue_queue_work, @@ -13484,0 +15566,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -13491,2 +15575,2 @@ -In file included from ../drivers/spi/spi.c:39: -In file included from ../include/trace/events/spi.h:239: +In file included from ../kernel/workqueue.c:533: +In file included from ../include/trace/events/workqueue.h:132: @@ -13495 +15579,4 @@ -../include/trace/events/spi.h:11:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/workqueue.h:23:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -13502,2 +15589,2 @@ -In file included from ../drivers/spi/spi.c:39: -In file included from ../include/trace/events/spi.h:239: +In file included from ../kernel/workqueue.c:533: +In file included from ../include/trace/events/workqueue.h:132: @@ -13506 +15593,4 @@ -../include/trace/events/spi.h:11:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/workqueue.h:23:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -13513,2 +15603,2 @@ -In file included from ../drivers/spi/spi.c:39: -In file included from ../include/trace/events/spi.h:239: +In file included from ../kernel/workqueue.c:533: +In file included from ../include/trace/events/workqueue.h:132: @@ -13517 +15607,4 @@ -../include/trace/events/spi.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/workqueue.h:23:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -13524,2 +15617,2 @@ -In file included from ../drivers/spi/spi.c:39: -In file included from ../include/trace/events/spi.h:239: +In file included from ../kernel/workqueue.c:533: +In file included from ../include/trace/events/workqueue.h:132: @@ -13528 +15621,4 @@ -../include/trace/events/spi.h:11:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/workqueue.h:23:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -13535,2 +15631,2 @@ -In file included from ../drivers/spi/spi.c:39: -In file included from ../include/trace/events/spi.h:239: +In file included from ../kernel/workqueue.c:533: +In file included from ../include/trace/events/workqueue.h:132: @@ -13539 +15635,4 @@ -../include/trace/events/spi.h:11:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/workqueue.h:23:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -13546,2 +15645,2 @@ -In file included from ../drivers/spi/spi.c:39: -In file included from ../include/trace/events/spi.h:239: +In file included from ../kernel/workqueue.c:533: +In file included from ../include/trace/events/workqueue.h:132: @@ -13550,2 +15649,2 @@ -../include/trace/events/spi.h:45:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 45 | TRACE_EVENT(spi_setup, +../include/trace/events/workqueue.h:59:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 59 | TRACE_EVENT(workqueue_activate_work, @@ -13562,2 +15661,2 @@ -In file included from ../drivers/spi/spi.c:39: -In file included from ../include/trace/events/spi.h:239: +In file included from ../kernel/workqueue.c:533: +In file included from ../include/trace/events/workqueue.h:132: @@ -13566 +15665 @@ -../include/trace/events/spi.h:45:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/workqueue.h:59:1: error: use of undeclared identifier 'preempt_notrace' @@ -13576,2 +15675,2 @@ -In file included from ../drivers/spi/spi.c:39: -In file included from ../include/trace/events/spi.h:239: +In file included from ../kernel/workqueue.c:533: +In file included from ../include/trace/events/workqueue.h:132: @@ -13580 +15679 @@ -../include/trace/events/spi.h:45:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/workqueue.h:59:1: error: use of undeclared identifier 'trace_event_guard' @@ -13590,2 +15689,2 @@ -In file included from ../drivers/spi/spi.c:39: -In file included from ../include/trace/events/spi.h:239: +In file included from ../kernel/workqueue.c:533: +In file included from ../include/trace/events/workqueue.h:132: @@ -13594 +15693 @@ -../include/trace/events/spi.h:45:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/workqueue.h:59:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -13604,2 +15703,2 @@ -In file included from ../drivers/spi/spi.c:39: -In file included from ../include/trace/events/spi.h:239: +In file included from ../kernel/workqueue.c:533: +In file included from ../include/trace/events/workqueue.h:132: @@ -13608 +15707 @@ -../include/trace/events/spi.h:45:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/workqueue.h:59:1: error: use of undeclared identifier 'preempt_notrace' @@ -13618,2 +15717,2 @@ -In file included from ../drivers/spi/spi.c:39: -In file included from ../include/trace/events/spi.h:239: +In file included from ../kernel/workqueue.c:533: +In file included from ../include/trace/events/workqueue.h:132: @@ -13622 +15721 @@ -../include/trace/events/spi.h:45:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/workqueue.h:59:1: error: use of undeclared identifier 'trace_event_guard' @@ -13632,2 +15731,2 @@ -In file included from ../drivers/spi/spi.c:39: -In file included from ../include/trace/events/spi.h:239: +In file included from ../kernel/workqueue.c:533: +In file included from ../include/trace/events/workqueue.h:132: @@ -13636,2 +15735,2 @@ -../include/trace/events/spi.h:78:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 78 | TRACE_EVENT(spi_set_cs, +../include/trace/events/workqueue.h:84:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 84 | TRACE_EVENT(workqueue_execute_start, @@ -13648,2 +15747,2 @@ -In file included from ../drivers/spi/spi.c:39: -In file included from ../include/trace/events/spi.h:239: +In file included from ../kernel/workqueue.c:533: +In file included from ../include/trace/events/workqueue.h:132: @@ -13652 +15751 @@ -../include/trace/events/spi.h:78:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/workqueue.h:84:1: error: use of undeclared identifier 'preempt_notrace' @@ -13662,2 +15761,2 @@ -In file included from ../drivers/spi/spi.c:39: -In file included from ../include/trace/events/spi.h:239: +In file included from ../kernel/workqueue.c:533: +In file included from ../include/trace/events/workqueue.h:132: @@ -13666 +15765 @@ -../include/trace/events/spi.h:78:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/workqueue.h:84:1: error: use of undeclared identifier 'trace_event_guard' @@ -13676,2 +15775,2 @@ -In file included from ../drivers/spi/spi.c:39: -In file included from ../include/trace/events/spi.h:239: +In file included from ../kernel/workqueue.c:533: +In file included from ../include/trace/events/workqueue.h:132: @@ -13680 +15779 @@ -../include/trace/events/spi.h:78:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/workqueue.h:84:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -13690,2 +15789,2 @@ -In file included from ../drivers/spi/spi.c:39: -In file included from ../include/trace/events/spi.h:239: +In file included from ../kernel/workqueue.c:533: +In file included from ../include/trace/events/workqueue.h:132: @@ -13694 +15793 @@ -../include/trace/events/spi.h:78:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/workqueue.h:84:1: error: use of undeclared identifier 'preempt_notrace' @@ -13704,2 +15803,2 @@ -In file included from ../drivers/spi/spi.c:39: -In file included from ../include/trace/events/spi.h:239: +In file included from ../kernel/workqueue.c:533: +In file included from ../include/trace/events/workqueue.h:132: @@ -13708 +15807 @@ -../include/trace/events/spi.h:78:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/workqueue.h:84:1: error: use of undeclared identifier 'trace_event_guard' @@ -13718,2 +15817,2 @@ -In file included from ../drivers/spi/spi.c:39: -In file included from ../include/trace/events/spi.h:239: +In file included from ../kernel/workqueue.c:533: +In file included from ../include/trace/events/workqueue.h:132: @@ -13722,2 +15821,2 @@ -../include/trace/events/spi.h:102:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 102 | DECLARE_EVENT_CLASS(spi_message, +../include/trace/events/workqueue.h:110:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 110 | TRACE_EVENT(workqueue_execute_end, @@ -13724,0 +15824,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -13733,4 +15835,3 @@ -make[5]: *** [../scripts/Makefile.build:244: drivers/spi/spi.o] Error 1 -make[4]: *** [../scripts/Makefile.build:485: drivers/spi] Error 2 -In file included from ../net/tls/trace.c:8: -In file included from ../net/tls/trace.h:202: +make[4]: *** [../scripts/Makefile.build:244: kernel/workqueue.o] Error 1 +In file included from ../drivers/dma/tegra20-apb-dma.c:31: +In file included from ../include/trace/events/tegra_apb_dma.h:61: @@ -13739,2 +15840,2 @@ -../net/tls/trace.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 15 | TRACE_EVENT(tls_device_offload_set, +../include/trace/events/tegra_apb_dma.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 10 | TRACE_EVENT(tegra_dma_tx_status, @@ -13751,2 +15852,2 @@ -In file included from ../net/tls/trace.c:8: -In file included from ../net/tls/trace.h:202: +In file included from ../drivers/dma/tegra20-apb-dma.c:31: +In file included from ../include/trace/events/tegra_apb_dma.h:61: @@ -13755 +15856 @@ -../net/tls/trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/tegra_apb_dma.h:10:1: error: use of undeclared identifier 'preempt_notrace' @@ -13765,2 +15866,2 @@ -In file included from ../net/tls/trace.c:8: -In file included from ../net/tls/trace.h:202: +In file included from ../drivers/dma/tegra20-apb-dma.c:31: +In file included from ../include/trace/events/tegra_apb_dma.h:61: @@ -13769 +15870 @@ -../net/tls/trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/tegra_apb_dma.h:10:1: error: use of undeclared identifier 'trace_event_guard' @@ -13779,2 +15880,2 @@ -In file included from ../net/tls/trace.c:8: -In file included from ../net/tls/trace.h:202: +In file included from ../drivers/dma/tegra20-apb-dma.c:31: +In file included from ../include/trace/events/tegra_apb_dma.h:61: @@ -13783 +15884 @@ -../net/tls/trace.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/tegra_apb_dma.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -13793,2 +15894,2 @@ -In file included from ../net/tls/trace.c:8: -In file included from ../net/tls/trace.h:202: +In file included from ../drivers/dma/tegra20-apb-dma.c:31: +In file included from ../include/trace/events/tegra_apb_dma.h:61: @@ -13797 +15898 @@ -../net/tls/trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/tegra_apb_dma.h:10:1: error: use of undeclared identifier 'preempt_notrace' @@ -13807,2 +15908,2 @@ -In file included from ../net/tls/trace.c:8: -In file included from ../net/tls/trace.h:202: +In file included from ../drivers/dma/tegra20-apb-dma.c:31: +In file included from ../include/trace/events/tegra_apb_dma.h:61: @@ -13811 +15912 @@ -../net/tls/trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/tegra_apb_dma.h:10:1: error: use of undeclared identifier 'trace_event_guard' @@ -13821,2 +15922,2 @@ -In file included from ../net/tls/trace.c:8: -In file included from ../net/tls/trace.h:202: +In file included from ../drivers/dma/tegra20-apb-dma.c:31: +In file included from ../include/trace/events/tegra_apb_dma.h:61: @@ -13825,2 +15926,2 @@ -../net/tls/trace.h:44:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 44 | TRACE_EVENT(tls_device_decrypted, +../include/trace/events/tegra_apb_dma.h:27:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 27 | TRACE_EVENT(tegra_dma_complete_cb, @@ -13837,2 +15938,2 @@ -In file included from ../net/tls/trace.c:8: -In file included from ../net/tls/trace.h:202: +In file included from ../drivers/dma/tegra20-apb-dma.c:31: +In file included from ../include/trace/events/tegra_apb_dma.h:61: @@ -13841 +15942 @@ -../net/tls/trace.h:44:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/tegra_apb_dma.h:27:1: error: use of undeclared identifier 'preempt_notrace' @@ -13851,2 +15952,2 @@ -In file included from ../net/tls/trace.c:8: -In file included from ../net/tls/trace.h:202: +In file included from ../drivers/dma/tegra20-apb-dma.c:31: +In file included from ../include/trace/events/tegra_apb_dma.h:61: @@ -13855 +15956 @@ -../net/tls/trace.h:44:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/tegra_apb_dma.h:27:1: error: use of undeclared identifier 'trace_event_guard' @@ -13865,2 +15966,2 @@ -In file included from ../net/tls/trace.c:8: -In file included from ../net/tls/trace.h:202: +In file included from ../drivers/dma/tegra20-apb-dma.c:31: +In file included from ../include/trace/events/tegra_apb_dma.h:61: @@ -13869 +15970 @@ -../net/tls/trace.h:44:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/tegra_apb_dma.h:27:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -13879,2 +15980,2 @@ -In file included from ../net/tls/trace.c:8: -In file included from ../net/tls/trace.h:202: +In file included from ../drivers/dma/tegra20-apb-dma.c:31: +In file included from ../include/trace/events/tegra_apb_dma.h:61: @@ -13883 +15984 @@ -../net/tls/trace.h:44:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/tegra_apb_dma.h:27:1: error: use of undeclared identifier 'preempt_notrace' @@ -13893,2 +15994,2 @@ -In file included from ../net/tls/trace.c:8: -In file included from ../net/tls/trace.h:202: +In file included from ../drivers/dma/tegra20-apb-dma.c:31: +In file included from ../include/trace/events/tegra_apb_dma.h:61: @@ -13897 +15998 @@ -../net/tls/trace.h:44:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/tegra_apb_dma.h:27:1: error: use of undeclared identifier 'trace_event_guard' @@ -13907,2 +16008,2 @@ -In file included from ../net/tls/trace.c:8: -In file included from ../net/tls/trace.h:202: +In file included from ../drivers/dma/tegra20-apb-dma.c:31: +In file included from ../include/trace/events/tegra_apb_dma.h:61: @@ -13911,2 +16012,2 @@ -../net/tls/trace.h:77:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 77 | TRACE_EVENT(tls_device_rx_resync_send, +../include/trace/events/tegra_apb_dma.h:44:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 44 | TRACE_EVENT(tegra_dma_isr, @@ -13923,2 +16024,2 @@ -In file included from ../net/tls/trace.c:8: -In file included from ../net/tls/trace.h:202: +In file included from ../drivers/dma/tegra20-apb-dma.c:31: +In file included from ../include/trace/events/tegra_apb_dma.h:61: @@ -13927 +16028 @@ -../net/tls/trace.h:77:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/tegra_apb_dma.h:44:1: error: use of undeclared identifier 'preempt_notrace' @@ -13937,2 +16038,2 @@ -In file included from ../net/tls/trace.c:8: -In file included from ../net/tls/trace.h:202: +In file included from ../drivers/dma/tegra20-apb-dma.c:31: +In file included from ../include/trace/events/tegra_apb_dma.h:61: @@ -13941 +16042 @@ -../net/tls/trace.h:77:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/tegra_apb_dma.h:44:1: error: use of undeclared identifier 'trace_event_guard' @@ -13951,2 +16052,2 @@ -In file included from ../net/tls/trace.c:8: -In file included from ../net/tls/trace.h:202: +In file included from ../drivers/dma/tegra20-apb-dma.c:31: +In file included from ../include/trace/events/tegra_apb_dma.h:61: @@ -13955 +16056 @@ -../net/tls/trace.h:77:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/tegra_apb_dma.h:44:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -13965,2 +16066,2 @@ -In file included from ../net/tls/trace.c:8: -In file included from ../net/tls/trace.h:202: +In file included from ../drivers/dma/tegra20-apb-dma.c:31: +In file included from ../include/trace/events/tegra_apb_dma.h:61: @@ -13969 +16070 @@ -../net/tls/trace.h:77:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/tegra_apb_dma.h:44:1: error: use of undeclared identifier 'preempt_notrace' @@ -13979,2 +16080,2 @@ -In file included from ../net/tls/trace.c:8: -In file included from ../net/tls/trace.h:202: +In file included from ../drivers/dma/tegra20-apb-dma.c:31: +In file included from ../include/trace/events/tegra_apb_dma.h:61: @@ -13983 +16084 @@ -../net/tls/trace.h:77:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/tegra_apb_dma.h:44:1: error: use of undeclared identifier 'trace_event_guard' @@ -13993,6 +16094,6 @@ -In file included from ../net/tls/trace.c:8: -In file included from ../net/tls/trace.h:202: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../net/tls/trace.h:104:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 104 | TRACE_EVENT(tls_device_rx_resync_nh_schedule, +In file included from ../drivers/dma/tegra20-apb-dma.c:31: +In file included from ../include/trace/events/tegra_apb_dma.h:61: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/tegra_apb_dma.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 10 | TRACE_EVENT(tegra_dma_tx_status, @@ -14003,2 +16104,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -14006,2 +16107,2 @@ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -14011,4 +16112,4 @@ -make[5]: *** [../scripts/Makefile.build:244: net/tls/trace.o] Error 1 -make[4]: *** [../scripts/Makefile.build:485: net/tls] Error 2 -In file included from ../net/mctp/af_mctp.c:21: -In file included from ../include/trace/events/mctp.h:78: +make[5]: *** [../scripts/Makefile.build:244: drivers/dma/tegra20-apb-dma.o] Error 1 +make[4]: *** [../scripts/Makefile.build:485: drivers/dma] Error 2 +In file included from ../drivers/base/trace.c:10: +In file included from ../drivers/base/trace.h:56: @@ -14017,2 +16118,2 @@ -../include/trace/events/mctp.h:28:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 28 | TRACE_EVENT(mctp_key_acquire, +../drivers/base/trace.h:19:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 19 | DECLARE_EVENT_CLASS(devres, @@ -14020,3 +16120,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -14029,2 +16127,2 @@ -In file included from ../net/mctp/af_mctp.c:21: -In file included from ../include/trace/events/mctp.h:78: +In file included from ../drivers/base/trace.c:10: +In file included from ../drivers/base/trace.h:56: @@ -14033,4 +16131 @@ -../include/trace/events/mctp.h:28:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/base/trace.h:19:1: error: use of undeclared identifier 'preempt_notrace' @@ -14043,2 +16138,2 @@ -In file included from ../net/mctp/af_mctp.c:21: -In file included from ../include/trace/events/mctp.h:78: +In file included from ../drivers/base/trace.c:10: +In file included from ../drivers/base/trace.h:56: @@ -14047,4 +16142 @@ -../include/trace/events/mctp.h:28:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/base/trace.h:19:1: error: use of undeclared identifier 'trace_event_guard' @@ -14057,2 +16149,2 @@ -In file included from ../net/mctp/af_mctp.c:21: -In file included from ../include/trace/events/mctp.h:78: +In file included from ../drivers/base/trace.c:10: +In file included from ../drivers/base/trace.h:56: @@ -14061,4 +16153 @@ -../include/trace/events/mctp.h:28:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/base/trace.h:19:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -14071,2 +16160,2 @@ -In file included from ../net/mctp/af_mctp.c:21: -In file included from ../include/trace/events/mctp.h:78: +In file included from ../drivers/base/trace.c:10: +In file included from ../drivers/base/trace.h:56: @@ -14075,4 +16164 @@ -../include/trace/events/mctp.h:28:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/base/trace.h:19:1: error: use of undeclared identifier 'preempt_notrace' @@ -14085,2 +16171,2 @@ -In file included from ../net/mctp/af_mctp.c:21: -In file included from ../include/trace/events/mctp.h:78: +In file included from ../drivers/base/trace.c:10: +In file included from ../drivers/base/trace.h:56: @@ -14089,4 +16175 @@ -../include/trace/events/mctp.h:28:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/base/trace.h:19:1: error: use of undeclared identifier 'trace_event_guard' @@ -14099,6 +16182,6 @@ -In file included from ../net/mctp/af_mctp.c:21: -In file included from ../include/trace/events/mctp.h:78: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/mctp.h:48:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 48 | TRACE_EVENT(mctp_key_release, +In file included from ../drivers/base/trace.c:10: +In file included from ../drivers/base/trace.h:56: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/base/trace.h:19:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 19 | DECLARE_EVENT_CLASS(devres, @@ -14106,8 +16189,2 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -14115,7 +16192,2 @@ -In file included from ../net/mctp/af_mctp.c:21: -In file included from ../include/trace/events/mctp.h:78: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/mctp.h:48:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -14123,2 +16195,7 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +In file included from ../drivers/base/trace.c:10: +In file included from ../drivers/base/trace.h:56: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/base/trace.h:19:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -14126,2 +16203,2 @@ -../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -14129,10 +16206,7 @@ -In file included from ../net/mctp/af_mctp.c:21: -In file included from ../include/trace/events/mctp.h:78: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/mctp.h:48:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +In file included from ../drivers/base/trace.c:10: +In file included from ../drivers/base/trace.h:56: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/base/trace.h:19:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -14140,2 +16214,2 @@ -../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -14143,10 +16217,7 @@ -In file included from ../net/mctp/af_mctp.c:21: -In file included from ../include/trace/events/mctp.h:78: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/mctp.h:48:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +In file included from ../drivers/base/trace.c:10: +In file included from ../drivers/base/trace.h:56: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/base/trace.h:19:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -14154,2 +16225,2 @@ -../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -14157,10 +16228,7 @@ -In file included from ../net/mctp/af_mctp.c:21: -In file included from ../include/trace/events/mctp.h:78: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/mctp.h:48:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +In file included from ../drivers/base/trace.c:10: +In file included from ../drivers/base/trace.h:56: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/base/trace.h:19:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -14168,2 +16236,2 @@ -../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -14171,10 +16239,7 @@ -In file included from ../net/mctp/af_mctp.c:21: -In file included from ../include/trace/events/mctp.h:78: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/mctp.h:48:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +In file included from ../drivers/base/trace.c:10: +In file included from ../drivers/base/trace.h:56: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/base/trace.h:19:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -14182,2 +16247,2 @@ -../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -14185,2 +16250,2 @@ -In file included from ../net/mctp/af_mctp.c:21: -In file included from ../include/trace/events/mctp.h:78: +In file included from ../drivers/base/trace.c:10: +In file included from ../drivers/base/trace.h:56: @@ -14189,2 +16254,2 @@ -../include/trace/events/mctp.h:28:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 28 | TRACE_EVENT(mctp_key_acquire, +../drivers/base/trace.h:19:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 19 | DECLARE_EVENT_CLASS(devres, @@ -14192,3 +16256,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -14201,2 +16263,2 @@ -In file included from ../net/mctp/af_mctp.c:21: -In file included from ../include/trace/events/mctp.h:78: +In file included from ../drivers/base/trace.c:10: +In file included from ../drivers/base/trace.h:56: @@ -14205,4 +16267 @@ -../include/trace/events/mctp.h:28:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/base/trace.h:19:1: error: use of undeclared identifier 'preempt_notrace' @@ -14215,2 +16274,2 @@ -In file included from ../net/mctp/af_mctp.c:21: -In file included from ../include/trace/events/mctp.h:78: +In file included from ../drivers/base/trace.c:10: +In file included from ../drivers/base/trace.h:56: @@ -14219,4 +16278 @@ -../include/trace/events/mctp.h:28:1: error: use of undeclared identifier 'bpf_trace_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/base/trace.h:19:1: error: use of undeclared identifier 'bpf_trace_guard' @@ -14229,2 +16285,2 @@ -In file included from ../net/mctp/af_mctp.c:21: -In file included from ../include/trace/events/mctp.h:78: +In file included from ../drivers/base/trace.c:10: +In file included from ../drivers/base/trace.h:56: @@ -14233,4 +16289 @@ -../include/trace/events/mctp.h:28:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/base/trace.h:19:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -14243,2 +16296,2 @@ -In file included from ../net/mctp/af_mctp.c:21: -In file included from ../include/trace/events/mctp.h:78: +In file included from ../drivers/base/trace.c:10: +In file included from ../drivers/base/trace.h:56: @@ -14247,4 +16300 @@ -../include/trace/events/mctp.h:28:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/base/trace.h:19:1: error: use of undeclared identifier 'preempt_notrace' @@ -14257,2 +16307,2 @@ -In file included from ../net/mctp/af_mctp.c:21: -In file included from ../include/trace/events/mctp.h:78: +In file included from ../drivers/base/trace.c:10: +In file included from ../drivers/base/trace.h:56: @@ -14261,4 +16311 @@ -../include/trace/events/mctp.h:28:1: error: use of undeclared identifier 'bpf_trace_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/base/trace.h:19:1: error: use of undeclared identifier 'bpf_trace_guard' @@ -14271,22 +16318,5 @@ -In file included from ../net/mctp/af_mctp.c:21: -In file included from ../include/trace/events/mctp.h:78: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/mctp.h:48:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 48 | TRACE_EVENT(mctp_key_release, - | ^ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ - | ^ -fatal error: too many errors emitted, stopping now [-ferror-limit=] -20 errors generated. -make[5]: *** [../scripts/Makefile.build:244: net/mctp/af_mctp.o] Error 1 -make[4]: *** [../scripts/Makefile.build:485: net/mctp] Error 2 -In file included from ../drivers/firewire/core-trace.c:10: -In file included from ../include/trace/events/firewire.h:912: +18 errors generated. +make[5]: *** [../scripts/Makefile.build:244: drivers/base/trace.o] Error 1 +make[4]: *** [../scripts/Makefile.build:485: drivers/base] Error 2 +In file included from ../net/handshake/trace.c:22: +In file included from ../include/trace/events/handshake.h:319: @@ -14295,2 +16325,2 @@ -../include/trace/events/firewire.h:39:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 39 | DECLARE_EVENT_CLASS(async_outbound_initiate_template, +../include/trace/events/handshake.h:90:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 90 | DECLARE_EVENT_CLASS(handshake_event_class, @@ -14304,2 +16334,2 @@ -In file included from ../drivers/firewire/core-trace.c:10: -In file included from ../include/trace/events/firewire.h:912: +In file included from ../net/handshake/trace.c:22: +In file included from ../include/trace/events/handshake.h:319: @@ -14308 +16338 @@ -../include/trace/events/firewire.h:39:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/handshake.h:90:1: error: use of undeclared identifier 'preempt_notrace' @@ -14315,2 +16345,2 @@ -In file included from ../drivers/firewire/core-trace.c:10: -In file included from ../include/trace/events/firewire.h:912: +In file included from ../net/handshake/trace.c:22: +In file included from ../include/trace/events/handshake.h:319: @@ -14319 +16349 @@ -../include/trace/events/firewire.h:39:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/handshake.h:90:1: error: use of undeclared identifier 'trace_event_guard' @@ -14326,2 +16356,2 @@ -In file included from ../drivers/firewire/core-trace.c:10: -In file included from ../include/trace/events/firewire.h:912: +In file included from ../net/handshake/trace.c:22: +In file included from ../include/trace/events/handshake.h:319: @@ -14330 +16360 @@ -../include/trace/events/firewire.h:39:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/handshake.h:90:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -14337,2 +16367,2 @@ -In file included from ../drivers/firewire/core-trace.c:10: -In file included from ../include/trace/events/firewire.h:912: +In file included from ../net/handshake/trace.c:22: +In file included from ../include/trace/events/handshake.h:319: @@ -14341 +16371 @@ -../include/trace/events/firewire.h:39:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/handshake.h:90:1: error: use of undeclared identifier 'preempt_notrace' @@ -14348,2 +16378,2 @@ -In file included from ../drivers/firewire/core-trace.c:10: -In file included from ../include/trace/events/firewire.h:912: +In file included from ../net/handshake/trace.c:22: +In file included from ../include/trace/events/handshake.h:319: @@ -14352 +16382 @@ -../include/trace/events/firewire.h:39:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/handshake.h:90:1: error: use of undeclared identifier 'trace_event_guard' @@ -14359,2 +16389,2 @@ -In file included from ../drivers/firewire/core-trace.c:10: -In file included from ../include/trace/events/firewire.h:912: +In file included from ../net/handshake/trace.c:22: +In file included from ../include/trace/events/handshake.h:319: @@ -14363,2 +16393,2 @@ -../include/trace/events/firewire.h:77:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 77 | DECLARE_EVENT_CLASS(async_outbound_complete_template, +../include/trace/events/handshake.h:120:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 120 | DECLARE_EVENT_CLASS(handshake_fd_class, @@ -14372,2 +16402,2 @@ -In file included from ../drivers/firewire/core-trace.c:10: -In file included from ../include/trace/events/firewire.h:912: +In file included from ../net/handshake/trace.c:22: +In file included from ../include/trace/events/handshake.h:319: @@ -14376 +16406 @@ -../include/trace/events/firewire.h:77:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/handshake.h:120:1: error: use of undeclared identifier 'preempt_notrace' @@ -14383,2 +16413,2 @@ -In file included from ../drivers/firewire/core-trace.c:10: -In file included from ../include/trace/events/firewire.h:912: +In file included from ../net/handshake/trace.c:22: +In file included from ../include/trace/events/handshake.h:319: @@ -14387 +16417 @@ -../include/trace/events/firewire.h:77:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/handshake.h:120:1: error: use of undeclared identifier 'trace_event_guard' @@ -14394,2 +16424,2 @@ -In file included from ../drivers/firewire/core-trace.c:10: -In file included from ../include/trace/events/firewire.h:912: +In file included from ../net/handshake/trace.c:22: +In file included from ../include/trace/events/handshake.h:319: @@ -14398 +16428 @@ -../include/trace/events/firewire.h:77:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/handshake.h:120:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -14405,2 +16435,2 @@ -In file included from ../drivers/firewire/core-trace.c:10: -In file included from ../include/trace/events/firewire.h:912: +In file included from ../net/handshake/trace.c:22: +In file included from ../include/trace/events/handshake.h:319: @@ -14409 +16439 @@ -../include/trace/events/firewire.h:77:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/handshake.h:120:1: error: use of undeclared identifier 'preempt_notrace' @@ -14416,2 +16446,2 @@ -In file included from ../drivers/firewire/core-trace.c:10: -In file included from ../include/trace/events/firewire.h:912: +In file included from ../net/handshake/trace.c:22: +In file included from ../include/trace/events/handshake.h:319: @@ -14420 +16450 @@ -../include/trace/events/firewire.h:77:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/handshake.h:120:1: error: use of undeclared identifier 'trace_event_guard' @@ -14427,2 +16457,2 @@ -In file included from ../drivers/firewire/core-trace.c:10: -In file included from ../include/trace/events/firewire.h:912: +In file included from ../net/handshake/trace.c:22: +In file included from ../include/trace/events/handshake.h:319: @@ -14431,2 +16461,2 @@ -../include/trace/events/firewire.h:108:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 108 | DECLARE_EVENT_CLASS(async_inbound_template, +../include/trace/events/handshake.h:154:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 154 | DECLARE_EVENT_CLASS(handshake_error_class, @@ -14440,2 +16470,2 @@ -In file included from ../drivers/firewire/core-trace.c:10: -In file included from ../include/trace/events/firewire.h:912: +In file included from ../net/handshake/trace.c:22: +In file included from ../include/trace/events/handshake.h:319: @@ -14444 +16474 @@ -../include/trace/events/firewire.h:108:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/handshake.h:154:1: error: use of undeclared identifier 'preempt_notrace' @@ -14451,2 +16481,2 @@ -In file included from ../drivers/firewire/core-trace.c:10: -In file included from ../include/trace/events/firewire.h:912: +In file included from ../net/handshake/trace.c:22: +In file included from ../include/trace/events/handshake.h:319: @@ -14455 +16485 @@ -../include/trace/events/firewire.h:108:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/handshake.h:154:1: error: use of undeclared identifier 'trace_event_guard' @@ -14462,2 +16492,2 @@ -In file included from ../drivers/firewire/core-trace.c:10: -In file included from ../include/trace/events/firewire.h:912: +In file included from ../net/handshake/trace.c:22: +In file included from ../include/trace/events/handshake.h:319: @@ -14466 +16496 @@ -../include/trace/events/firewire.h:108:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/handshake.h:154:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -14473,2 +16503,2 @@ -In file included from ../drivers/firewire/core-trace.c:10: -In file included from ../include/trace/events/firewire.h:912: +In file included from ../net/handshake/trace.c:22: +In file included from ../include/trace/events/handshake.h:319: @@ -14477 +16507 @@ -../include/trace/events/firewire.h:108:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/handshake.h:154:1: error: use of undeclared identifier 'preempt_notrace' @@ -14484,2 +16514,2 @@ -In file included from ../drivers/firewire/core-trace.c:10: -In file included from ../include/trace/events/firewire.h:912: +In file included from ../net/handshake/trace.c:22: +In file included from ../include/trace/events/handshake.h:319: @@ -14488 +16518 @@ -../include/trace/events/firewire.h:108:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/handshake.h:154:1: error: use of undeclared identifier 'trace_event_guard' @@ -14495,2 +16525,2 @@ -In file included from ../drivers/firewire/core-trace.c:10: -In file included from ../include/trace/events/firewire.h:912: +In file included from ../net/handshake/trace.c:22: +In file included from ../include/trace/events/handshake.h:319: @@ -14499,2 +16529,2 @@ -../include/trace/events/firewire.h:220:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 220 | TRACE_EVENT(async_phy_outbound_initiate, +../include/trace/events/handshake.h:188:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 188 | DECLARE_EVENT_CLASS(handshake_alert_class, @@ -14502,3 +16531,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -14513,4 +16540,4 @@ -make[5]: *** [../scripts/Makefile.build:244: drivers/firewire/core-trace.o] Error 1 -make[5]: *** Waiting for unfinished jobs.... -In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: -In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: +make[5]: *** [../scripts/Makefile.build:244: net/handshake/trace.o] Error 1 +make[4]: *** [../scripts/Makefile.build:485: net/handshake] Error 2 +In file included from ../net/tls/trace.c:8: +In file included from ../net/tls/trace.h:202: @@ -14519,2 +16546,2 @@ -../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 14 | TRACE_EVENT(pmic_pdcharger_ulog_msg, +../net/tls/trace.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 15 | TRACE_EVENT(tls_device_offload_set, @@ -14531,2 +16558,2 @@ -In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: -In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: +In file included from ../net/tls/trace.c:8: +In file included from ../net/tls/trace.h:202: @@ -14535 +16562 @@ -../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../net/tls/trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' @@ -14545,2 +16572,2 @@ -In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: -In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: +In file included from ../net/tls/trace.c:8: +In file included from ../net/tls/trace.h:202: @@ -14549 +16576 @@ -../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: use of undeclared identifier 'trace_event_guard' +../net/tls/trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' @@ -14559,2 +16586,2 @@ -In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: -In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: +In file included from ../net/tls/trace.c:8: +In file included from ../net/tls/trace.h:202: @@ -14563 +16590 @@ -../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../net/tls/trace.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -14573,2 +16600,2 @@ -In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: -In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: +In file included from ../net/tls/trace.c:8: +In file included from ../net/tls/trace.h:202: @@ -14577 +16604 @@ -../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../net/tls/trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' @@ -14587,2 +16614,2 @@ -In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: -In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: +In file included from ../net/tls/trace.c:8: +In file included from ../net/tls/trace.h:202: @@ -14591 +16618 @@ -../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: use of undeclared identifier 'trace_event_guard' +../net/tls/trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' @@ -14601,6 +16628,6 @@ -In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: -In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 14 | TRACE_EVENT(pmic_pdcharger_ulog_msg, +In file included from ../net/tls/trace.c:8: +In file included from ../net/tls/trace.h:202: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../net/tls/trace.h:44:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 44 | TRACE_EVENT(tls_device_decrypted, @@ -14611,2 +16638,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -14614,2 +16641,2 @@ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -14617,5 +16644,5 @@ -In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: -In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: use of undeclared identifier 'preempt_notrace' +In file included from ../net/tls/trace.c:8: +In file included from ../net/tls/trace.h:202: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../net/tls/trace.h:44:1: error: use of undeclared identifier 'preempt_notrace' @@ -14625,2 +16652,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -14628,2 +16655,2 @@ -../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -14631,5 +16658,5 @@ -In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: -In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' +In file included from ../net/tls/trace.c:8: +In file included from ../net/tls/trace.h:202: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../net/tls/trace.h:44:1: error: use of undeclared identifier 'trace_event_guard' @@ -14639,2 +16666,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -14642,2 +16669,2 @@ -../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -14645,5 +16672,5 @@ -In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: -In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +In file included from ../net/tls/trace.c:8: +In file included from ../net/tls/trace.h:202: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../net/tls/trace.h:44:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -14653,2 +16680,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -14656,2 +16683,2 @@ -../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ +../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -14659,5 +16686,5 @@ -In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: -In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: use of undeclared identifier 'preempt_notrace' +In file included from ../net/tls/trace.c:8: +In file included from ../net/tls/trace.h:202: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../net/tls/trace.h:44:1: error: use of undeclared identifier 'preempt_notrace' @@ -14667,2 +16694,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -14670,2 +16697,2 @@ -../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ +../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -14673,5 +16700,5 @@ -In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: -In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' +In file included from ../net/tls/trace.c:8: +In file included from ../net/tls/trace.h:202: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../net/tls/trace.h:44:1: error: use of undeclared identifier 'trace_event_guard' @@ -14681,2 +16708,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -14684,2 +16711,2 @@ -../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ +../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -14687,4 +16714,2 @@ -12 errors generated. -make[6]: *** [../scripts/Makefile.build:244: drivers/soc/qcom/pmic_pdcharger_ulog.o] Error 1 -In file included from ../drivers/net/phy/mdio_bus.c:38: -In file included from ../include/trace/events/mdio.h:43: +In file included from ../net/tls/trace.c:8: +In file included from ../net/tls/trace.h:202: @@ -14693,2 +16718,2 @@ -../include/trace/events/mdio.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 10 | TRACE_EVENT_CONDITION(mdio_access, +../net/tls/trace.h:77:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 77 | TRACE_EVENT(tls_device_rx_resync_send, @@ -14696,3 +16720,0 @@ -../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' - 32 | TRACE_EVENT(name, \ - | ^ @@ -14708,2 +16730,2 @@ -In file included from ../drivers/net/phy/mdio_bus.c:38: -In file included from ../include/trace/events/mdio.h:43: +In file included from ../net/tls/trace.c:8: +In file included from ../net/tls/trace.h:202: @@ -14712,4 +16734 @@ -../include/trace/events/mdio.h:10:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' - 32 | TRACE_EVENT(name, \ - | ^ +../net/tls/trace.h:77:1: error: use of undeclared identifier 'preempt_notrace' @@ -14725,2 +16744,2 @@ -In file included from ../drivers/net/phy/mdio_bus.c:38: -In file included from ../include/trace/events/mdio.h:43: +In file included from ../net/tls/trace.c:8: +In file included from ../net/tls/trace.h:202: @@ -14729,4 +16748 @@ -../include/trace/events/mdio.h:10:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' - 32 | TRACE_EVENT(name, \ - | ^ +../net/tls/trace.h:77:1: error: use of undeclared identifier 'trace_event_guard' @@ -14742,2 +16758,2 @@ -In file included from ../drivers/net/phy/mdio_bus.c:38: -In file included from ../include/trace/events/mdio.h:43: +In file included from ../net/tls/trace.c:8: +In file included from ../net/tls/trace.h:202: @@ -14746,4 +16762 @@ -../include/trace/events/mdio.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' - 32 | TRACE_EVENT(name, \ - | ^ +../net/tls/trace.h:77:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -14759,2 +16772,2 @@ -In file included from ../drivers/net/phy/mdio_bus.c:38: -In file included from ../include/trace/events/mdio.h:43: +In file included from ../net/tls/trace.c:8: +In file included from ../net/tls/trace.h:202: @@ -14763,4 +16776 @@ -../include/trace/events/mdio.h:10:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' - 32 | TRACE_EVENT(name, \ - | ^ +../net/tls/trace.h:77:1: error: use of undeclared identifier 'preempt_notrace' @@ -14776,2 +16786,2 @@ -In file included from ../drivers/net/phy/mdio_bus.c:38: -In file included from ../include/trace/events/mdio.h:43: +In file included from ../net/tls/trace.c:8: +In file included from ../net/tls/trace.h:202: @@ -14780,4 +16790 @@ -../include/trace/events/mdio.h:10:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' - 32 | TRACE_EVENT(name, \ - | ^ +../net/tls/trace.h:77:1: error: use of undeclared identifier 'trace_event_guard' @@ -14793,6 +16800,6 @@ -In file included from ../drivers/net/phy/mdio_bus.c:38: -In file included from ../include/trace/events/mdio.h:43: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/mdio.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 10 | TRACE_EVENT_CONDITION(mdio_access, +In file included from ../net/tls/trace.c:8: +In file included from ../net/tls/trace.h:202: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../net/tls/trace.h:104:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 104 | TRACE_EVENT(tls_device_rx_resync_nh_schedule, @@ -14800,71 +16806,0 @@ -../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' - 32 | TRACE_EVENT(name, \ - | ^ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ - | ^ -In file included from ../drivers/net/phy/mdio_bus.c:38: -In file included from ../include/trace/events/mdio.h:43: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/mdio.h:10:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' - 32 | TRACE_EVENT(name, \ - | ^ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ - | ^ -In file included from ../drivers/net/phy/mdio_bus.c:38: -In file included from ../include/trace/events/mdio.h:43: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/mdio.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' -../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' - 32 | TRACE_EVENT(name, \ - | ^ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ - | ^ -In file included from ../drivers/net/phy/mdio_bus.c:38: -In file included from ../include/trace/events/mdio.h:43: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/mdio.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' - 32 | TRACE_EVENT(name, \ - | ^ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ - | ^ -In file included from ../drivers/net/phy/mdio_bus.c:38: -In file included from ../include/trace/events/mdio.h:43: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/mdio.h:10:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' - 32 | TRACE_EVENT(name, \ - | ^ @@ -14874,16 +16810,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ - | ^ -In file included from ../drivers/net/phy/mdio_bus.c:38: -In file included from ../include/trace/events/mdio.h:43: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/mdio.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' -../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' - 32 | TRACE_EVENT(name, \ - | ^ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -14891,2 +16813,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -14894,9 +16816,6 @@ -../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ - | ^ -12 errors generated. -make[6]: *** [../scripts/Makefile.build:244: drivers/net/phy/mdio_bus.o] Error 1 -make[5]: *** [../scripts/Makefile.build:485: drivers/net/phy] Error 2 -make[5]: *** Waiting for unfinished jobs.... -In file included from ../mm/vmscan.c:71: -In file included from ../include/trace/events/vmscan.h:496: +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. +make[5]: *** [../scripts/Makefile.build:244: net/tls/trace.o] Error 1 +make[4]: *** [../scripts/Makefile.build:485: net/tls] Error 2 +In file included from ../drivers/spi/spi.c:39: +In file included from ../include/trace/events/spi.h:239: @@ -14905,2 +16824,2 @@ -../include/trace/events/vmscan.h:49:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 49 | TRACE_EVENT(mm_vmscan_kswapd_sleep, +../include/trace/events/spi.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 11 | DECLARE_EVENT_CLASS(spi_controller, @@ -14908,3 +16826,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -14917,2 +16833,2 @@ -In file included from ../mm/vmscan.c:71: -In file included from ../include/trace/events/vmscan.h:496: +In file included from ../drivers/spi/spi.c:39: +In file included from ../include/trace/events/spi.h:239: @@ -14921,4 +16837 @@ -../include/trace/events/vmscan.h:49:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/spi.h:11:1: error: use of undeclared identifier 'preempt_notrace' @@ -14931,2 +16844,2 @@ -In file included from ../mm/vmscan.c:71: -In file included from ../include/trace/events/vmscan.h:496: +In file included from ../drivers/spi/spi.c:39: +In file included from ../include/trace/events/spi.h:239: @@ -14935,4 +16848 @@ -../include/trace/events/vmscan.h:49:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/spi.h:11:1: error: use of undeclared identifier 'trace_event_guard' @@ -14945,2 +16855,2 @@ -In file included from ../mm/vmscan.c:71: -In file included from ../include/trace/events/vmscan.h:496: +In file included from ../drivers/spi/spi.c:39: +In file included from ../include/trace/events/spi.h:239: @@ -14949,4 +16859 @@ -../include/trace/events/vmscan.h:49:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/spi.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -14959,2 +16866,2 @@ -In file included from ../mm/vmscan.c:71: -In file included from ../include/trace/events/vmscan.h:496: +In file included from ../drivers/spi/spi.c:39: +In file included from ../include/trace/events/spi.h:239: @@ -14963,4 +16870 @@ -../include/trace/events/vmscan.h:49:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/spi.h:11:1: error: use of undeclared identifier 'preempt_notrace' @@ -14973,2 +16877,2 @@ -In file included from ../mm/vmscan.c:71: -In file included from ../include/trace/events/vmscan.h:496: +In file included from ../drivers/spi/spi.c:39: +In file included from ../include/trace/events/spi.h:239: @@ -14977,4 +16881 @@ -../include/trace/events/vmscan.h:49:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/spi.h:11:1: error: use of undeclared identifier 'trace_event_guard' @@ -14987,2 +16888,2 @@ -In file included from ../mm/vmscan.c:71: -In file included from ../include/trace/events/vmscan.h:496: +In file included from ../drivers/spi/spi.c:39: +In file included from ../include/trace/events/spi.h:239: @@ -14991,2 +16892,2 @@ -../include/trace/events/vmscan.h:66:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 66 | TRACE_EVENT(mm_vmscan_kswapd_wake, +../include/trace/events/spi.h:45:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 45 | TRACE_EVENT(spi_setup, @@ -15003,2 +16904,2 @@ -In file included from ../mm/vmscan.c:71: -In file included from ../include/trace/events/vmscan.h:496: +In file included from ../drivers/spi/spi.c:39: +In file included from ../include/trace/events/spi.h:239: @@ -15007 +16908 @@ -../include/trace/events/vmscan.h:66:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/spi.h:45:1: error: use of undeclared identifier 'preempt_notrace' @@ -15017,2 +16918,2 @@ -In file included from ../mm/vmscan.c:71: -In file included from ../include/trace/events/vmscan.h:496: +In file included from ../drivers/spi/spi.c:39: +In file included from ../include/trace/events/spi.h:239: @@ -15021 +16922 @@ -../include/trace/events/vmscan.h:66:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/spi.h:45:1: error: use of undeclared identifier 'trace_event_guard' @@ -15031,2 +16932,2 @@ -In file included from ../mm/vmscan.c:71: -In file included from ../include/trace/events/vmscan.h:496: +In file included from ../drivers/spi/spi.c:39: +In file included from ../include/trace/events/spi.h:239: @@ -15035 +16936 @@ -../include/trace/events/vmscan.h:66:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/spi.h:45:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -15045,2 +16946,2 @@ -In file included from ../mm/vmscan.c:71: -In file included from ../include/trace/events/vmscan.h:496: +In file included from ../drivers/spi/spi.c:39: +In file included from ../include/trace/events/spi.h:239: @@ -15049 +16950 @@ -../include/trace/events/vmscan.h:66:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/spi.h:45:1: error: use of undeclared identifier 'preempt_notrace' @@ -15059,2 +16960,2 @@ -In file included from ../mm/vmscan.c:71: -In file included from ../include/trace/events/vmscan.h:496: +In file included from ../drivers/spi/spi.c:39: +In file included from ../include/trace/events/spi.h:239: @@ -15063 +16964 @@ -../include/trace/events/vmscan.h:66:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/spi.h:45:1: error: use of undeclared identifier 'trace_event_guard' @@ -15073,2 +16974,2 @@ -In file included from ../mm/vmscan.c:71: -In file included from ../include/trace/events/vmscan.h:496: +In file included from ../drivers/spi/spi.c:39: +In file included from ../include/trace/events/spi.h:239: @@ -15077,2 +16978,2 @@ -../include/trace/events/vmscan.h:89:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 89 | TRACE_EVENT(mm_vmscan_wakeup_kswapd, +../include/trace/events/spi.h:78:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 78 | TRACE_EVENT(spi_set_cs, @@ -15089,2 +16990,2 @@ -In file included from ../mm/vmscan.c:71: -In file included from ../include/trace/events/vmscan.h:496: +In file included from ../drivers/spi/spi.c:39: +In file included from ../include/trace/events/spi.h:239: @@ -15093 +16994 @@ -../include/trace/events/vmscan.h:89:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/spi.h:78:1: error: use of undeclared identifier 'preempt_notrace' @@ -15103,2 +17004,2 @@ -In file included from ../mm/vmscan.c:71: -In file included from ../include/trace/events/vmscan.h:496: +In file included from ../drivers/spi/spi.c:39: +In file included from ../include/trace/events/spi.h:239: @@ -15107 +17008 @@ -../include/trace/events/vmscan.h:89:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/spi.h:78:1: error: use of undeclared identifier 'trace_event_guard' @@ -15117,2 +17018,2 @@ -In file included from ../mm/vmscan.c:71: -In file included from ../include/trace/events/vmscan.h:496: +In file included from ../drivers/spi/spi.c:39: +In file included from ../include/trace/events/spi.h:239: @@ -15121 +17022 @@ -../include/trace/events/vmscan.h:89:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/spi.h:78:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -15131,2 +17032,2 @@ -In file included from ../mm/vmscan.c:71: -In file included from ../include/trace/events/vmscan.h:496: +In file included from ../drivers/spi/spi.c:39: +In file included from ../include/trace/events/spi.h:239: @@ -15135 +17036 @@ -../include/trace/events/vmscan.h:89:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/spi.h:78:1: error: use of undeclared identifier 'preempt_notrace' @@ -15145,2 +17046,2 @@ -In file included from ../mm/vmscan.c:71: -In file included from ../include/trace/events/vmscan.h:496: +In file included from ../drivers/spi/spi.c:39: +In file included from ../include/trace/events/spi.h:239: @@ -15149 +17050 @@ -../include/trace/events/vmscan.h:89:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/spi.h:78:1: error: use of undeclared identifier 'trace_event_guard' @@ -15159,2 +17060,2 @@ -In file included from ../mm/vmscan.c:71: -In file included from ../include/trace/events/vmscan.h:496: +In file included from ../drivers/spi/spi.c:39: +In file included from ../include/trace/events/spi.h:239: @@ -15163,2 +17064,2 @@ -../include/trace/events/vmscan.h:115:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 115 | DECLARE_EVENT_CLASS(mm_vmscan_direct_reclaim_begin_template, +../include/trace/events/spi.h:102:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 102 | DECLARE_EVENT_CLASS(spi_message, @@ -15174 +17075,2 @@ -make[4]: *** [../scripts/Makefile.build:244: mm/vmscan.o] Error 1 +make[5]: *** [../scripts/Makefile.build:244: drivers/spi/spi.o] Error 1 +make[4]: *** [../scripts/Makefile.build:485: drivers/spi] Error 2 @@ -15435,2 +17337,2 @@ -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: @@ -15443,2 +17345,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -15446,2 +17348,2 @@ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -15453,2 +17355,2 @@ -In file included from ../kernel/signal.c:53: -In file included from ../include/trace/events/signal.h:125: +In file included from ../mm/percpu.c:97: +In file included from ../include/trace/events/percpu.h:137: @@ -15457,2 +17359,2 @@ -../include/trace/events/signal.h:50:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 50 | TRACE_EVENT(signal_generate, +../include/trace/events/percpu.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 11 | TRACE_EVENT(percpu_alloc_percpu, @@ -15469,2 +17371,2 @@ -In file included from ../kernel/signal.c:53: -In file included from ../include/trace/events/signal.h:125: +In file included from ../mm/percpu.c:97: +In file included from ../include/trace/events/percpu.h:137: @@ -15473 +17375 @@ -../include/trace/events/signal.h:50:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/percpu.h:11:1: error: use of undeclared identifier 'preempt_notrace' @@ -15483,2 +17385,2 @@ -In file included from ../kernel/signal.c:53: -In file included from ../include/trace/events/signal.h:125: +In file included from ../mm/percpu.c:97: +In file included from ../include/trace/events/percpu.h:137: @@ -15487 +17389 @@ -../include/trace/events/signal.h:50:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/percpu.h:11:1: error: use of undeclared identifier 'trace_event_guard' @@ -15497,2 +17399,2 @@ -In file included from ../kernel/signal.c:53: -In file included from ../include/trace/events/signal.h:125: +In file included from ../mm/percpu.c:97: +In file included from ../include/trace/events/percpu.h:137: @@ -15501 +17403 @@ -../include/trace/events/signal.h:50:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/percpu.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -15511,2 +17413,2 @@ -In file included from ../kernel/signal.c:53: -In file included from ../include/trace/events/signal.h:125: +In file included from ../mm/percpu.c:97: +In file included from ../include/trace/events/percpu.h:137: @@ -15515 +17417 @@ -../include/trace/events/signal.h:50:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/percpu.h:11:1: error: use of undeclared identifier 'preempt_notrace' @@ -15525,2 +17427,2 @@ -In file included from ../kernel/signal.c:53: -In file included from ../include/trace/events/signal.h:125: +In file included from ../mm/percpu.c:97: +In file included from ../include/trace/events/percpu.h:137: @@ -15529 +17431 @@ -../include/trace/events/signal.h:50:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/percpu.h:11:1: error: use of undeclared identifier 'trace_event_guard' @@ -15539,2 +17441,2 @@ -In file included from ../kernel/signal.c:53: -In file included from ../include/trace/events/signal.h:125: +In file included from ../mm/percpu.c:97: +In file included from ../include/trace/events/percpu.h:137: @@ -15543,2 +17445,2 @@ -../include/trace/events/signal.h:96:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 96 | TRACE_EVENT(signal_deliver, +../include/trace/events/percpu.h:54:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 54 | TRACE_EVENT(percpu_free_percpu, @@ -15555,2 +17457,2 @@ -In file included from ../kernel/signal.c:53: -In file included from ../include/trace/events/signal.h:125: +In file included from ../mm/percpu.c:97: +In file included from ../include/trace/events/percpu.h:137: @@ -15559 +17461 @@ -../include/trace/events/signal.h:96:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/percpu.h:54:1: error: use of undeclared identifier 'preempt_notrace' @@ -15569,2 +17471,2 @@ -In file included from ../kernel/signal.c:53: -In file included from ../include/trace/events/signal.h:125: +In file included from ../mm/percpu.c:97: +In file included from ../include/trace/events/percpu.h:137: @@ -15573 +17475 @@ -../include/trace/events/signal.h:96:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/percpu.h:54:1: error: use of undeclared identifier 'trace_event_guard' @@ -15583,2 +17485,2 @@ -In file included from ../kernel/signal.c:53: -In file included from ../include/trace/events/signal.h:125: +In file included from ../mm/percpu.c:97: +In file included from ../include/trace/events/percpu.h:137: @@ -15587 +17489 @@ -../include/trace/events/signal.h:96:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/percpu.h:54:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -15597,2 +17499,2 @@ -In file included from ../kernel/signal.c:53: -In file included from ../include/trace/events/signal.h:125: +In file included from ../mm/percpu.c:97: +In file included from ../include/trace/events/percpu.h:137: @@ -15601 +17503 @@ -../include/trace/events/signal.h:96:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/percpu.h:54:1: error: use of undeclared identifier 'preempt_notrace' @@ -15611,2 +17513,2 @@ -In file included from ../kernel/signal.c:53: -In file included from ../include/trace/events/signal.h:125: +In file included from ../mm/percpu.c:97: +In file included from ../include/trace/events/percpu.h:137: @@ -15615 +17517 @@ -../include/trace/events/signal.h:96:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/percpu.h:54:1: error: use of undeclared identifier 'trace_event_guard' @@ -15625,6 +17527,6 @@ -In file included from ../kernel/signal.c:53: -In file included from ../include/trace/events/signal.h:125: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/signal.h:50:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 50 | TRACE_EVENT(signal_generate, +In file included from ../mm/percpu.c:97: +In file included from ../include/trace/events/percpu.h:137: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/percpu.h:76:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 76 | TRACE_EVENT(percpu_alloc_percpu_fail, @@ -15635,2 +17537,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -15638,2 +17540,2 @@ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -15641,5 +17543,5 @@ -In file included from ../kernel/signal.c:53: -In file included from ../include/trace/events/signal.h:125: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/signal.h:50:1: error: use of undeclared identifier 'preempt_notrace' +In file included from ../mm/percpu.c:97: +In file included from ../include/trace/events/percpu.h:137: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/percpu.h:76:1: error: use of undeclared identifier 'preempt_notrace' @@ -15649,2 +17551,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -15652,2 +17554,2 @@ -../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -15655,5 +17557,5 @@ -In file included from ../kernel/signal.c:53: -In file included from ../include/trace/events/signal.h:125: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/signal.h:50:1: error: use of undeclared identifier 'bpf_trace_guard' +In file included from ../mm/percpu.c:97: +In file included from ../include/trace/events/percpu.h:137: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/percpu.h:76:1: error: use of undeclared identifier 'trace_event_guard' @@ -15663,2 +17565,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -15666,2 +17568,2 @@ -../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -15669,5 +17571,5 @@ -In file included from ../kernel/signal.c:53: -In file included from ../include/trace/events/signal.h:125: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/signal.h:50:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +In file included from ../mm/percpu.c:97: +In file included from ../include/trace/events/percpu.h:137: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/percpu.h:76:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -15677,2 +17579,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -15680,2 +17582,2 @@ -../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ +../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -15683,5 +17585,5 @@ -In file included from ../kernel/signal.c:53: -In file included from ../include/trace/events/signal.h:125: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/signal.h:50:1: error: use of undeclared identifier 'preempt_notrace' +In file included from ../mm/percpu.c:97: +In file included from ../include/trace/events/percpu.h:137: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/percpu.h:76:1: error: use of undeclared identifier 'preempt_notrace' @@ -15691,2 +17593,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -15694,2 +17596,2 @@ -../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ +../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -15697,5 +17599,5 @@ -In file included from ../kernel/signal.c:53: -In file included from ../include/trace/events/signal.h:125: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/signal.h:50:1: error: use of undeclared identifier 'bpf_trace_guard' +In file included from ../mm/percpu.c:97: +In file included from ../include/trace/events/percpu.h:137: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/percpu.h:76:1: error: use of undeclared identifier 'trace_event_guard' @@ -15705,2 +17607,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -15708,2 +17610,2 @@ -../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ +../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -15711,6 +17613,6 @@ -In file included from ../kernel/signal.c:53: -In file included from ../include/trace/events/signal.h:125: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/signal.h:96:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 96 | TRACE_EVENT(signal_deliver, +In file included from ../mm/percpu.c:97: +In file included from ../include/trace/events/percpu.h:137: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/percpu.h:101:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 101 | TRACE_EVENT(percpu_create_chunk, @@ -15721,2 +17623,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -15724,2 +17626,2 @@ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -15729,3 +17631,3 @@ -make[4]: *** [../scripts/Makefile.build:244: kernel/signal.o] Error 1 -In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: -In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: +make[4]: *** [../scripts/Makefile.build:244: mm/percpu.o] Error 1 +In file included from ../drivers/block/null_blk/zoned.c:7: +In file included from ../drivers/block/null_blk/trace.h:85: @@ -15734,2 +17636,2 @@ -../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 15 | DECLARE_EVENT_CLASS(mv88e6xxx_atu_violation, +../drivers/block/null_blk/trace.h:33:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 33 | TRACE_EVENT(nullb_zone_op, @@ -15736,0 +17639,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -15743,2 +17648,2 @@ -In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: -In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: +In file included from ../drivers/block/null_blk/zoned.c:7: +In file included from ../drivers/block/null_blk/trace.h:85: @@ -15747 +17652,4 @@ -../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/block/null_blk/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -15754,2 +17662,2 @@ -In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: -In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: +In file included from ../drivers/block/null_blk/zoned.c:7: +In file included from ../drivers/block/null_blk/trace.h:85: @@ -15758 +17666,4 @@ -../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/block/null_blk/trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -15765,2 +17676,2 @@ -In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: -In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: +In file included from ../drivers/block/null_blk/zoned.c:7: +In file included from ../drivers/block/null_blk/trace.h:85: @@ -15769 +17680,4 @@ -../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/block/null_blk/trace.h:33:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -15776,2 +17690,2 @@ -In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: -In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: +In file included from ../drivers/block/null_blk/zoned.c:7: +In file included from ../drivers/block/null_blk/trace.h:85: @@ -15780 +17694,4 @@ -../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/block/null_blk/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -15787,2 +17704,2 @@ -In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: -In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: +In file included from ../drivers/block/null_blk/zoned.c:7: +In file included from ../drivers/block/null_blk/trace.h:85: @@ -15791 +17708,4 @@ -../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/block/null_blk/trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -15798,2 +17718,2 @@ -In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: -In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: +In file included from ../drivers/block/null_blk/zoned.c:7: +In file included from ../drivers/block/null_blk/trace.h:85: @@ -15802,2 +17722,2 @@ -../drivers/net/dsa/mv88e6xxx/trace.h:58:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 58 | DECLARE_EVENT_CLASS(mv88e6xxx_vtu_violation, +../drivers/block/null_blk/trace.h:62:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 62 | TRACE_EVENT(nullb_report_zones, @@ -15804,0 +17725,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -15811,2 +17734,2 @@ -In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: -In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: +In file included from ../drivers/block/null_blk/zoned.c:7: +In file included from ../drivers/block/null_blk/trace.h:85: @@ -15815 +17738,4 @@ -../drivers/net/dsa/mv88e6xxx/trace.h:58:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/block/null_blk/trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -15822,2 +17748,2 @@ -In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: -In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: +In file included from ../drivers/block/null_blk/zoned.c:7: +In file included from ../drivers/block/null_blk/trace.h:85: @@ -15826 +17752,4 @@ -../drivers/net/dsa/mv88e6xxx/trace.h:58:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/block/null_blk/trace.h:62:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -15833,2 +17762,2 @@ -In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: -In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: +In file included from ../drivers/block/null_blk/zoned.c:7: +In file included from ../drivers/block/null_blk/trace.h:85: @@ -15837 +17766,4 @@ -../drivers/net/dsa/mv88e6xxx/trace.h:58:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/block/null_blk/trace.h:62:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -15844,2 +17776,2 @@ -In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: -In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: +In file included from ../drivers/block/null_blk/zoned.c:7: +In file included from ../drivers/block/null_blk/trace.h:85: @@ -15848 +17780,4 @@ -../drivers/net/dsa/mv88e6xxx/trace.h:58:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/block/null_blk/trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -15855,2 +17790,2 @@ -In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: -In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: +In file included from ../drivers/block/null_blk/zoned.c:7: +In file included from ../drivers/block/null_blk/trace.h:85: @@ -15859 +17794,4 @@ -../drivers/net/dsa/mv88e6xxx/trace.h:58:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/block/null_blk/trace.h:62:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -15866,6 +17804,6 @@ -In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: -In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 15 | DECLARE_EVENT_CLASS(mv88e6xxx_atu_violation, +In file included from ../drivers/block/null_blk/zoned.c:7: +In file included from ../drivers/block/null_blk/trace.h:85: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/block/null_blk/trace.h:33:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 33 | TRACE_EVENT(nullb_zone_op, @@ -15873,2 +17811,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -15876,2 +17814,2 @@ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -15879,7 +17817,2 @@ -In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: -In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -15887,2 +17820,13 @@ -../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +In file included from ../drivers/block/null_blk/zoned.c:7: +In file included from ../drivers/block/null_blk/trace.h:85: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/block/null_blk/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -15890,7 +17834,7 @@ -In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: -In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: use of undeclared identifier 'bpf_trace_guard' -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +In file included from ../drivers/block/null_blk/zoned.c:7: +In file included from ../drivers/block/null_blk/trace.h:85: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/block/null_blk/trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -15898,2 +17842,5 @@ -../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -15901,7 +17848,7 @@ -In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: -In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +In file included from ../drivers/block/null_blk/zoned.c:7: +In file included from ../drivers/block/null_blk/trace.h:85: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/block/null_blk/trace.h:33:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -15909,2 +17856,5 @@ -../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -15912,7 +17862,7 @@ -In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: -In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +In file included from ../drivers/block/null_blk/zoned.c:7: +In file included from ../drivers/block/null_blk/trace.h:85: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/block/null_blk/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -15920,2 +17870,5 @@ -../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -15923,7 +17876,7 @@ -In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: -In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: use of undeclared identifier 'bpf_trace_guard' -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +In file included from ../drivers/block/null_blk/zoned.c:7: +In file included from ../drivers/block/null_blk/trace.h:85: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/block/null_blk/trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -15931,2 +17884,5 @@ -../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -15934,6 +17890,6 @@ -In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: -In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/dsa/mv88e6xxx/trace.h:58:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 58 | DECLARE_EVENT_CLASS(mv88e6xxx_vtu_violation, +In file included from ../drivers/block/null_blk/zoned.c:7: +In file included from ../drivers/block/null_blk/trace.h:85: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/block/null_blk/trace.h:62:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 62 | TRACE_EVENT(nullb_report_zones, @@ -15941,2 +17897,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -15944,2 +17900,5 @@ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -15949,4 +17908,4 @@ -make[7]: *** [../scripts/Makefile.build:244: drivers/net/dsa/mv88e6xxx/trace.o] Error 1 -make[6]: *** [../scripts/Makefile.build:485: drivers/net/dsa/mv88e6xxx] Error 2 -In file included from ../net/handshake/trace.c:22: -In file included from ../include/trace/events/handshake.h:319: +make[6]: *** [../scripts/Makefile.build:244: drivers/block/null_blk/zoned.o] Error 1 +make[5]: *** [../scripts/Makefile.build:485: drivers/block/null_blk] Error 2 +In file included from ../kernel/notifier.c:11: +In file included from ../include/trace/events/notifier.h:69: @@ -15955,2 +17914,2 @@ -../include/trace/events/handshake.h:90:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 90 | DECLARE_EVENT_CLASS(handshake_event_class, +../include/trace/events/notifier.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 10 | DECLARE_EVENT_CLASS(notifier_info, @@ -15964,2 +17923,2 @@ -In file included from ../net/handshake/trace.c:22: -In file included from ../include/trace/events/handshake.h:319: +In file included from ../kernel/notifier.c:11: +In file included from ../include/trace/events/notifier.h:69: @@ -15968 +17927 @@ -../include/trace/events/handshake.h:90:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/notifier.h:10:1: error: use of undeclared identifier 'preempt_notrace' @@ -15975,2 +17934,2 @@ -In file included from ../net/handshake/trace.c:22: -In file included from ../include/trace/events/handshake.h:319: +In file included from ../kernel/notifier.c:11: +In file included from ../include/trace/events/notifier.h:69: @@ -15979 +17938 @@ -../include/trace/events/handshake.h:90:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/notifier.h:10:1: error: use of undeclared identifier 'trace_event_guard' @@ -15986,2 +17945,2 @@ -In file included from ../net/handshake/trace.c:22: -In file included from ../include/trace/events/handshake.h:319: +In file included from ../kernel/notifier.c:11: +In file included from ../include/trace/events/notifier.h:69: @@ -15990 +17949 @@ -../include/trace/events/handshake.h:90:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/notifier.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -15997,2 +17956,2 @@ -In file included from ../net/handshake/trace.c:22: -In file included from ../include/trace/events/handshake.h:319: +In file included from ../kernel/notifier.c:11: +In file included from ../include/trace/events/notifier.h:69: @@ -16001 +17960 @@ -../include/trace/events/handshake.h:90:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/notifier.h:10:1: error: use of undeclared identifier 'preempt_notrace' @@ -16008,2 +17967,2 @@ -In file included from ../net/handshake/trace.c:22: -In file included from ../include/trace/events/handshake.h:319: +In file included from ../kernel/notifier.c:11: +In file included from ../include/trace/events/notifier.h:69: @@ -16012 +17971 @@ -../include/trace/events/handshake.h:90:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/notifier.h:10:1: error: use of undeclared identifier 'trace_event_guard' @@ -16019,6 +17978,6 @@ -In file included from ../net/handshake/trace.c:22: -In file included from ../include/trace/events/handshake.h:319: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/handshake.h:120:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 120 | DECLARE_EVENT_CLASS(handshake_fd_class, +In file included from ../kernel/notifier.c:11: +In file included from ../include/trace/events/notifier.h:69: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/notifier.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 10 | DECLARE_EVENT_CLASS(notifier_info, @@ -16026,2 +17985,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -16029,2 +17988,2 @@ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -16032,7 +17991,7 @@ -In file included from ../net/handshake/trace.c:22: -In file included from ../include/trace/events/handshake.h:319: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/handshake.h:120:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +In file included from ../kernel/notifier.c:11: +In file included from ../include/trace/events/notifier.h:69: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/notifier.h:10:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -16040,2 +17999,2 @@ -../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -16043,7 +18002,7 @@ -In file included from ../net/handshake/trace.c:22: -In file included from ../include/trace/events/handshake.h:319: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/handshake.h:120:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +In file included from ../kernel/notifier.c:11: +In file included from ../include/trace/events/notifier.h:69: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/notifier.h:10:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -16051,2 +18010,2 @@ -../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -16054,7 +18013,7 @@ -In file included from ../net/handshake/trace.c:22: -In file included from ../include/trace/events/handshake.h:319: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/handshake.h:120:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +In file included from ../kernel/notifier.c:11: +In file included from ../include/trace/events/notifier.h:69: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/notifier.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -16062,2 +18021,2 @@ -../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -16065,7 +18024,7 @@ -In file included from ../net/handshake/trace.c:22: -In file included from ../include/trace/events/handshake.h:319: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/handshake.h:120:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +In file included from ../kernel/notifier.c:11: +In file included from ../include/trace/events/notifier.h:69: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/notifier.h:10:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -16073,2 +18032,2 @@ -../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -16076,7 +18035,7 @@ -In file included from ../net/handshake/trace.c:22: -In file included from ../include/trace/events/handshake.h:319: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/handshake.h:120:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +In file included from ../kernel/notifier.c:11: +In file included from ../include/trace/events/notifier.h:69: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/notifier.h:10:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -16084,2 +18043,2 @@ -../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -16087,6 +18046,6 @@ -In file included from ../net/handshake/trace.c:22: -In file included from ../include/trace/events/handshake.h:319: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/handshake.h:154:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 154 | DECLARE_EVENT_CLASS(handshake_error_class, +In file included from ../kernel/notifier.c:11: +In file included from ../include/trace/events/notifier.h:69: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/notifier.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 10 | DECLARE_EVENT_CLASS(notifier_info, @@ -16094,2 +18053,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) @@ -16097,2 +18056,2 @@ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ @@ -16100,7 +18059,7 @@ -In file included from ../net/handshake/trace.c:22: -In file included from ../include/trace/events/handshake.h:319: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/handshake.h:154:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +In file included from ../kernel/notifier.c:11: +In file included from ../include/trace/events/notifier.h:69: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/notifier.h:10:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) @@ -16108,2 +18067,2 @@ -../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ @@ -16111,7 +18070,7 @@ -In file included from ../net/handshake/trace.c:22: -In file included from ../include/trace/events/handshake.h:319: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/handshake.h:154:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +In file included from ../kernel/notifier.c:11: +In file included from ../include/trace/events/notifier.h:69: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/notifier.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) @@ -16119,2 +18078,2 @@ -../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ @@ -16122,7 +18081,7 @@ -In file included from ../net/handshake/trace.c:22: -In file included from ../include/trace/events/handshake.h:319: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/handshake.h:154:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +In file included from ../kernel/notifier.c:11: +In file included from ../include/trace/events/notifier.h:69: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/notifier.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) @@ -16130,2 +18089,2 @@ -../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ @@ -16133,7 +18092,7 @@ -In file included from ../net/handshake/trace.c:22: -In file included from ../include/trace/events/handshake.h:319: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/handshake.h:154:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +In file included from ../kernel/notifier.c:11: +In file included from ../include/trace/events/notifier.h:69: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/notifier.h:10:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) @@ -16141,2 +18100,2 @@ -../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ @@ -16144,7 +18103,7 @@ -In file included from ../net/handshake/trace.c:22: -In file included from ../include/trace/events/handshake.h:319: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/handshake.h:154:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +In file included from ../kernel/notifier.c:11: +In file included from ../include/trace/events/notifier.h:69: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/notifier.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) @@ -16152,2 +18111,2 @@ -../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ @@ -16155,20 +18114,5 @@ -In file included from ../net/handshake/trace.c:22: -In file included from ../include/trace/events/handshake.h:319: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/handshake.h:188:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 188 | DECLARE_EVENT_CLASS(handshake_alert_class, - | ^ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ - | ^ -fatal error: too many errors emitted, stopping now [-ferror-limit=] -20 errors generated. -make[5]: *** [../scripts/Makefile.build:244: net/handshake/trace.o] Error 1 -make[4]: *** [../scripts/Makefile.build:485: net/handshake] Error 2 -make[5]: *** [../scripts/Makefile.build:485: drivers/net/dsa] Error 2 -In file included from ../drivers/dma/tegra20-apb-dma.c:31: -In file included from ../include/trace/events/tegra_apb_dma.h:61: +18 errors generated. +make[4]: *** [../scripts/Makefile.build:244: kernel/notifier.o] Error 1 +make[4]: *** [../scripts/Makefile.build:485: drivers/block] Error 2 +In file included from ../mm/slab_common.c:36: +In file included from ../include/trace/events/kmem.h:415: @@ -16177,2 +18121,2 @@ -../include/trace/events/tegra_apb_dma.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 10 | TRACE_EVENT(tegra_dma_tx_status, +../include/trace/events/kmem.h:12:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 12 | TRACE_EVENT(kmem_cache_alloc, @@ -16189,2 +18133,2 @@ -In file included from ../drivers/dma/tegra20-apb-dma.c:31: -In file included from ../include/trace/events/tegra_apb_dma.h:61: +In file included from ../mm/slab_common.c:36: +In file included from ../include/trace/events/kmem.h:415: @@ -16193 +18137 @@ -../include/trace/events/tegra_apb_dma.h:10:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/kmem.h:12:1: error: use of undeclared identifier 'preempt_notrace' @@ -16203,2 +18147,2 @@ -In file included from ../drivers/dma/tegra20-apb-dma.c:31: -In file included from ../include/trace/events/tegra_apb_dma.h:61: +In file included from ../mm/slab_common.c:36: +In file included from ../include/trace/events/kmem.h:415: @@ -16207 +18151 @@ -../include/trace/events/tegra_apb_dma.h:10:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/kmem.h:12:1: error: use of undeclared identifier 'trace_event_guard' @@ -16217,2 +18161,2 @@ -In file included from ../drivers/dma/tegra20-apb-dma.c:31: -In file included from ../include/trace/events/tegra_apb_dma.h:61: +In file included from ../mm/slab_common.c:36: +In file included from ../include/trace/events/kmem.h:415: @@ -16221 +18165 @@ -../include/trace/events/tegra_apb_dma.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/kmem.h:12:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -16231,2 +18175,2 @@ -In file included from ../drivers/dma/tegra20-apb-dma.c:31: -In file included from ../include/trace/events/tegra_apb_dma.h:61: +In file included from ../mm/slab_common.c:36: +In file included from ../include/trace/events/kmem.h:415: @@ -16235 +18179 @@ -../include/trace/events/tegra_apb_dma.h:10:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/kmem.h:12:1: error: use of undeclared identifier 'preempt_notrace' @@ -16245,2 +18189,2 @@ -In file included from ../drivers/dma/tegra20-apb-dma.c:31: -In file included from ../include/trace/events/tegra_apb_dma.h:61: +In file included from ../mm/slab_common.c:36: +In file included from ../include/trace/events/kmem.h:415: @@ -16249 +18193 @@ -../include/trace/events/tegra_apb_dma.h:10:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/kmem.h:12:1: error: use of undeclared identifier 'trace_event_guard' @@ -16259,2 +18203,2 @@ -In file included from ../drivers/dma/tegra20-apb-dma.c:31: -In file included from ../include/trace/events/tegra_apb_dma.h:61: +In file included from ../mm/slab_common.c:36: +In file included from ../include/trace/events/kmem.h:415: @@ -16263,2 +18207,2 @@ -../include/trace/events/tegra_apb_dma.h:27:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 27 | TRACE_EVENT(tegra_dma_complete_cb, +../include/trace/events/kmem.h:54:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 54 | TRACE_EVENT(kmalloc, @@ -16275,2 +18219,2 @@ -In file included from ../drivers/dma/tegra20-apb-dma.c:31: -In file included from ../include/trace/events/tegra_apb_dma.h:61: +In file included from ../mm/slab_common.c:36: +In file included from ../include/trace/events/kmem.h:415: @@ -16279 +18223 @@ -../include/trace/events/tegra_apb_dma.h:27:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/kmem.h:54:1: error: use of undeclared identifier 'preempt_notrace' @@ -16289,2 +18233,2 @@ -In file included from ../drivers/dma/tegra20-apb-dma.c:31: -In file included from ../include/trace/events/tegra_apb_dma.h:61: +In file included from ../mm/slab_common.c:36: +In file included from ../include/trace/events/kmem.h:415: @@ -16293 +18237 @@ -../include/trace/events/tegra_apb_dma.h:27:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/kmem.h:54:1: error: use of undeclared identifier 'trace_event_guard' @@ -16303,2 +18247,2 @@ -In file included from ../drivers/dma/tegra20-apb-dma.c:31: -In file included from ../include/trace/events/tegra_apb_dma.h:61: +In file included from ../mm/slab_common.c:36: +In file included from ../include/trace/events/kmem.h:415: @@ -16307 +18251 @@ -../include/trace/events/tegra_apb_dma.h:27:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/kmem.h:54:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -16317,2 +18261,2 @@ -In file included from ../drivers/dma/tegra20-apb-dma.c:31: -In file included from ../include/trace/events/tegra_apb_dma.h:61: +In file included from ../mm/slab_common.c:36: +In file included from ../include/trace/events/kmem.h:415: @@ -16321 +18265 @@ -../include/trace/events/tegra_apb_dma.h:27:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/kmem.h:54:1: error: use of undeclared identifier 'preempt_notrace' @@ -16331,2 +18275,2 @@ -In file included from ../drivers/dma/tegra20-apb-dma.c:31: -In file included from ../include/trace/events/tegra_apb_dma.h:61: +In file included from ../mm/slab_common.c:36: +In file included from ../include/trace/events/kmem.h:415: @@ -16335 +18279 @@ -../include/trace/events/tegra_apb_dma.h:27:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/kmem.h:54:1: error: use of undeclared identifier 'trace_event_guard' @@ -16345,2 +18289,2 @@ -In file included from ../drivers/dma/tegra20-apb-dma.c:31: -In file included from ../include/trace/events/tegra_apb_dma.h:61: +In file included from ../mm/slab_common.c:36: +In file included from ../include/trace/events/kmem.h:415: @@ -16349,2 +18293,2 @@ -../include/trace/events/tegra_apb_dma.h:44:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 44 | TRACE_EVENT(tegra_dma_isr, +../include/trace/events/kmem.h:94:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 94 | TRACE_EVENT(kfree, @@ -16361,2 +18305,2 @@ -In file included from ../drivers/dma/tegra20-apb-dma.c:31: -In file included from ../include/trace/events/tegra_apb_dma.h:61: +In file included from ../mm/slab_common.c:36: +In file included from ../include/trace/events/kmem.h:415: @@ -16365 +18309 @@ -../include/trace/events/tegra_apb_dma.h:44:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/kmem.h:94:1: error: use of undeclared identifier 'preempt_notrace' @@ -16375,2 +18319,2 @@ -In file included from ../drivers/dma/tegra20-apb-dma.c:31: -In file included from ../include/trace/events/tegra_apb_dma.h:61: +In file included from ../mm/slab_common.c:36: +In file included from ../include/trace/events/kmem.h:415: @@ -16379 +18323 @@ -../include/trace/events/tegra_apb_dma.h:44:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/kmem.h:94:1: error: use of undeclared identifier 'trace_event_guard' @@ -16389,2 +18333,2 @@ -In file included from ../drivers/dma/tegra20-apb-dma.c:31: -In file included from ../include/trace/events/tegra_apb_dma.h:61: +In file included from ../mm/slab_common.c:36: +In file included from ../include/trace/events/kmem.h:415: @@ -16393 +18337 @@ -../include/trace/events/tegra_apb_dma.h:44:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/kmem.h:94:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -16403,2 +18347,2 @@ -In file included from ../drivers/dma/tegra20-apb-dma.c:31: -In file included from ../include/trace/events/tegra_apb_dma.h:61: +In file included from ../mm/slab_common.c:36: +In file included from ../include/trace/events/kmem.h:415: @@ -16407 +18351 @@ -../include/trace/events/tegra_apb_dma.h:44:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/kmem.h:94:1: error: use of undeclared identifier 'preempt_notrace' @@ -16417,2 +18361,2 @@ -In file included from ../drivers/dma/tegra20-apb-dma.c:31: -In file included from ../include/trace/events/tegra_apb_dma.h:61: +In file included from ../mm/slab_common.c:36: +In file included from ../include/trace/events/kmem.h:415: @@ -16421 +18365 @@ -../include/trace/events/tegra_apb_dma.h:44:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/kmem.h:94:1: error: use of undeclared identifier 'trace_event_guard' @@ -16431,6 +18375,6 @@ -In file included from ../drivers/dma/tegra20-apb-dma.c:31: -In file included from ../include/trace/events/tegra_apb_dma.h:61: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/tegra_apb_dma.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 10 | TRACE_EVENT(tegra_dma_tx_status, +In file included from ../mm/slab_common.c:36: +In file included from ../include/trace/events/kmem.h:415: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/kmem.h:114:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 114 | TRACE_EVENT(kmem_cache_free, @@ -16441,2 +18385,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -16444,2 +18388,2 @@ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -16449,4 +18393,3 @@ -make[5]: *** [../scripts/Makefile.build:244: drivers/dma/tegra20-apb-dma.o] Error 1 -make[4]: *** [../scripts/Makefile.build:485: drivers/dma] Error 2 -In file included from ../drivers/gpu/drm/drm_trace_points.c:5: -In file included from ../drivers/gpu/drm/drm_trace.h:74: +make[4]: *** [../scripts/Makefile.build:244: mm/slab_common.o] Error 1 +In file included from ../net/mptcp/protocol.c:30: +In file included from ../include/trace/events/mptcp.h:184: @@ -16455,2 +18398,2 @@ -../drivers/gpu/drm/drm_trace.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 15 | TRACE_EVENT(drm_vblank_event, +../include/trace/events/mptcp.h:18:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 18 | TRACE_EVENT(mptcp_subflow_get_send, @@ -16467,2 +18410,2 @@ -In file included from ../drivers/gpu/drm/drm_trace_points.c:5: -In file included from ../drivers/gpu/drm/drm_trace.h:74: +In file included from ../net/mptcp/protocol.c:30: +In file included from ../include/trace/events/mptcp.h:184: @@ -16471 +18414 @@ -../drivers/gpu/drm/drm_trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/mptcp.h:18:1: error: use of undeclared identifier 'preempt_notrace' @@ -16481,2 +18424,2 @@ -In file included from ../drivers/gpu/drm/drm_trace_points.c:5: -In file included from ../drivers/gpu/drm/drm_trace.h:74: +In file included from ../net/mptcp/protocol.c:30: +In file included from ../include/trace/events/mptcp.h:184: @@ -16485 +18428 @@ -../drivers/gpu/drm/drm_trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/mptcp.h:18:1: error: use of undeclared identifier 'trace_event_guard' @@ -16495,2 +18438,2 @@ -In file included from ../drivers/gpu/drm/drm_trace_points.c:5: -In file included from ../drivers/gpu/drm/drm_trace.h:74: +In file included from ../net/mptcp/protocol.c:30: +In file included from ../include/trace/events/mptcp.h:184: @@ -16499 +18442 @@ -../drivers/gpu/drm/drm_trace.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/mptcp.h:18:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -16509,2 +18452,2 @@ -In file included from ../drivers/gpu/drm/drm_trace_points.c:5: -In file included from ../drivers/gpu/drm/drm_trace.h:74: +In file included from ../net/mptcp/protocol.c:30: +In file included from ../include/trace/events/mptcp.h:184: @@ -16513 +18456 @@ -../drivers/gpu/drm/drm_trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/mptcp.h:18:1: error: use of undeclared identifier 'preempt_notrace' @@ -16523,2 +18466,2 @@ -In file included from ../drivers/gpu/drm/drm_trace_points.c:5: -In file included from ../drivers/gpu/drm/drm_trace.h:74: +In file included from ../net/mptcp/protocol.c:30: +In file included from ../include/trace/events/mptcp.h:184: @@ -16527 +18470 @@ -../drivers/gpu/drm/drm_trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/mptcp.h:18:1: error: use of undeclared identifier 'trace_event_guard' @@ -16537,2 +18480,2 @@ -In file included from ../drivers/gpu/drm/drm_trace_points.c:5: -In file included from ../drivers/gpu/drm/drm_trace.h:74: +In file included from ../net/mptcp/protocol.c:30: +In file included from ../include/trace/events/mptcp.h:184: @@ -16541,2 +18484,2 @@ -../drivers/gpu/drm/drm_trace.h:35:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 35 | TRACE_EVENT(drm_vblank_event_queued, +../include/trace/events/mptcp.h:65:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 65 | DECLARE_EVENT_CLASS(mptcp_dump_mpext, @@ -16544,3 +18486,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -16553,2 +18493,2 @@ -In file included from ../drivers/gpu/drm/drm_trace_points.c:5: -In file included from ../drivers/gpu/drm/drm_trace.h:74: +In file included from ../net/mptcp/protocol.c:30: +In file included from ../include/trace/events/mptcp.h:184: @@ -16557,4 +18497 @@ -../drivers/gpu/drm/drm_trace.h:35:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/mptcp.h:65:1: error: use of undeclared identifier 'preempt_notrace' @@ -16567,2 +18504,2 @@ -In file included from ../drivers/gpu/drm/drm_trace_points.c:5: -In file included from ../drivers/gpu/drm/drm_trace.h:74: +In file included from ../net/mptcp/protocol.c:30: +In file included from ../include/trace/events/mptcp.h:184: @@ -16571,4 +18508 @@ -../drivers/gpu/drm/drm_trace.h:35:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/mptcp.h:65:1: error: use of undeclared identifier 'trace_event_guard' @@ -16581,2 +18515,2 @@ -In file included from ../drivers/gpu/drm/drm_trace_points.c:5: -In file included from ../drivers/gpu/drm/drm_trace.h:74: +In file included from ../net/mptcp/protocol.c:30: +In file included from ../include/trace/events/mptcp.h:184: @@ -16585,4 +18519 @@ -../drivers/gpu/drm/drm_trace.h:35:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/mptcp.h:65:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -16595,2 +18526,2 @@ -In file included from ../drivers/gpu/drm/drm_trace_points.c:5: -In file included from ../drivers/gpu/drm/drm_trace.h:74: +In file included from ../net/mptcp/protocol.c:30: +In file included from ../include/trace/events/mptcp.h:184: @@ -16599,4 +18530 @@ -../drivers/gpu/drm/drm_trace.h:35:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/mptcp.h:65:1: error: use of undeclared identifier 'preempt_notrace' @@ -16609,2 +18537,2 @@ -In file included from ../drivers/gpu/drm/drm_trace_points.c:5: -In file included from ../drivers/gpu/drm/drm_trace.h:74: +In file included from ../net/mptcp/protocol.c:30: +In file included from ../include/trace/events/mptcp.h:184: @@ -16613,4 +18541 @@ -../drivers/gpu/drm/drm_trace.h:35:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/mptcp.h:65:1: error: use of undeclared identifier 'trace_event_guard' @@ -16623,2 +18548,2 @@ -In file included from ../drivers/gpu/drm/drm_trace_points.c:5: -In file included from ../drivers/gpu/drm/drm_trace.h:74: +In file included from ../net/mptcp/protocol.c:30: +In file included from ../include/trace/events/mptcp.h:184: @@ -16627,2 +18552,2 @@ -../drivers/gpu/drm/drm_trace.h:52:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 52 | TRACE_EVENT(drm_vblank_event_delivered, +../include/trace/events/mptcp.h:128:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 128 | TRACE_EVENT(ack_update_msk, @@ -16639,2 +18564,2 @@ -In file included from ../drivers/gpu/drm/drm_trace_points.c:5: -In file included from ../drivers/gpu/drm/drm_trace.h:74: +In file included from ../net/mptcp/protocol.c:30: +In file included from ../include/trace/events/mptcp.h:184: @@ -16643 +18568 @@ -../drivers/gpu/drm/drm_trace.h:52:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/mptcp.h:128:1: error: use of undeclared identifier 'preempt_notrace' @@ -16653,2 +18578,2 @@ -In file included from ../drivers/gpu/drm/drm_trace_points.c:5: -In file included from ../drivers/gpu/drm/drm_trace.h:74: +In file included from ../net/mptcp/protocol.c:30: +In file included from ../include/trace/events/mptcp.h:184: @@ -16657 +18582 @@ -../drivers/gpu/drm/drm_trace.h:52:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/mptcp.h:128:1: error: use of undeclared identifier 'trace_event_guard' @@ -16667,2 +18592,2 @@ -In file included from ../drivers/gpu/drm/drm_trace_points.c:5: -In file included from ../drivers/gpu/drm/drm_trace.h:74: +In file included from ../net/mptcp/protocol.c:30: +In file included from ../include/trace/events/mptcp.h:184: @@ -16671 +18596 @@ -../drivers/gpu/drm/drm_trace.h:52:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/mptcp.h:128:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -16681,2 +18606,2 @@ -In file included from ../drivers/gpu/drm/drm_trace_points.c:5: -In file included from ../drivers/gpu/drm/drm_trace.h:74: +In file included from ../net/mptcp/protocol.c:30: +In file included from ../include/trace/events/mptcp.h:184: @@ -16685 +18610 @@ -../drivers/gpu/drm/drm_trace.h:52:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/mptcp.h:128:1: error: use of undeclared identifier 'preempt_notrace' @@ -16695,2 +18620,2 @@ -In file included from ../drivers/gpu/drm/drm_trace_points.c:5: -In file included from ../drivers/gpu/drm/drm_trace.h:74: +In file included from ../net/mptcp/protocol.c:30: +In file included from ../include/trace/events/mptcp.h:184: @@ -16699 +18624 @@ -../drivers/gpu/drm/drm_trace.h:52:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/mptcp.h:128:1: error: use of undeclared identifier 'trace_event_guard' @@ -16709,6 +18634,6 @@ -In file included from ../drivers/gpu/drm/drm_trace_points.c:5: -In file included from ../drivers/gpu/drm/drm_trace.h:74: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/gpu/drm/drm_trace.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 15 | TRACE_EVENT(drm_vblank_event, +In file included from ../net/mptcp/protocol.c:30: +In file included from ../include/trace/events/mptcp.h:184: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/mptcp.h:160:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 160 | TRACE_EVENT(subflow_check_data_avail, @@ -16719,2 +18644,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -16722,2 +18647,2 @@ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -16727,2 +18652,2 @@ -make[6]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/drm_trace_points.o] Error 1 -make[6]: *** Waiting for unfinished jobs.... +make[5]: *** [../scripts/Makefile.build:244: net/mptcp/protocol.o] Error 1 +make[4]: *** [../scripts/Makefile.build:485: net/mptcp] Error 2 @@ -16903,2 +18828,2 @@ -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: @@ -16911,2 +18836,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -16914,2 +18839,2 @@ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -16919,2 +18844,2 @@ -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: @@ -16925,2 +18850,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -16928,2 +18853,2 @@ -../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -16933,3 +18858,3 @@ -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/soc/qcom/trace-rpmh.h:15:1: error: use of undeclared identifier 'bpf_trace_guard' +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/soc/qcom/trace-rpmh.h:15:1: error: use of undeclared identifier 'trace_event_guard' @@ -16939,2 +18864,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -16942,2 +18867,2 @@ -../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -16947,2 +18872,2 @@ -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: @@ -16953,2 +18878,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -16956,2 +18881,2 @@ -../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ +../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -16961,2 +18886,2 @@ -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: @@ -16967,2 +18892,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -16970,2 +18895,2 @@ -../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ +../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -16975,3 +18900,3 @@ -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/soc/qcom/trace-rpmh.h:15:1: error: use of undeclared identifier 'bpf_trace_guard' +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/soc/qcom/trace-rpmh.h:15:1: error: use of undeclared identifier 'trace_event_guard' @@ -16981,2 +18906,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -16984,2 +18909,2 @@ -../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ +../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -16989,2 +18914,2 @@ -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: @@ -16997,2 +18922,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -17000,2 +18925,2 @@ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -17008,2 +18933,2 @@ -In file included from ../drivers/firewire/ohci.c:51: -In file included from ../include/trace/events/firewire_ohci.h:101: +In file included from ../drivers/gpu/drm/drm_trace_points.c:5: +In file included from ../drivers/gpu/drm/drm_trace.h:74: @@ -17012,2 +18937,2 @@ -../include/trace/events/firewire_ohci.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 14 | TRACE_EVENT(irqs, +../drivers/gpu/drm/drm_trace.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 15 | TRACE_EVENT(drm_vblank_event, @@ -17024,2 +18949,2 @@ -In file included from ../drivers/firewire/ohci.c:51: -In file included from ../include/trace/events/firewire_ohci.h:101: +In file included from ../drivers/gpu/drm/drm_trace_points.c:5: +In file included from ../drivers/gpu/drm/drm_trace.h:74: @@ -17028 +18953 @@ -../include/trace/events/firewire_ohci.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/drm_trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' @@ -17038,2 +18963,2 @@ -In file included from ../drivers/firewire/ohci.c:51: -In file included from ../include/trace/events/firewire_ohci.h:101: +In file included from ../drivers/gpu/drm/drm_trace_points.c:5: +In file included from ../drivers/gpu/drm/drm_trace.h:74: @@ -17042 +18967 @@ -../include/trace/events/firewire_ohci.h:14:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/drm_trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' @@ -17052,2 +18977,2 @@ -In file included from ../drivers/firewire/ohci.c:51: -In file included from ../include/trace/events/firewire_ohci.h:101: +In file included from ../drivers/gpu/drm/drm_trace_points.c:5: +In file included from ../drivers/gpu/drm/drm_trace.h:74: @@ -17056 +18981 @@ -../include/trace/events/firewire_ohci.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/gpu/drm/drm_trace.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -17066,2 +18991,2 @@ -In file included from ../drivers/firewire/ohci.c:51: -In file included from ../include/trace/events/firewire_ohci.h:101: +In file included from ../drivers/gpu/drm/drm_trace_points.c:5: +In file included from ../drivers/gpu/drm/drm_trace.h:74: @@ -17070 +18995 @@ -../include/trace/events/firewire_ohci.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/drm_trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' @@ -17080,2 +19005,2 @@ -In file included from ../drivers/firewire/ohci.c:51: -In file included from ../include/trace/events/firewire_ohci.h:101: +In file included from ../drivers/gpu/drm/drm_trace_points.c:5: +In file included from ../drivers/gpu/drm/drm_trace.h:74: @@ -17084 +19009 @@ -../include/trace/events/firewire_ohci.h:14:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/drm_trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' @@ -17094,2 +19019,2 @@ -In file included from ../drivers/firewire/ohci.c:51: -In file included from ../include/trace/events/firewire_ohci.h:101: +In file included from ../drivers/gpu/drm/drm_trace_points.c:5: +In file included from ../drivers/gpu/drm/drm_trace.h:74: @@ -17098,2 +19023,2 @@ -../include/trace/events/firewire_ohci.h:61:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 61 | TRACE_EVENT(self_id_complete, +../drivers/gpu/drm/drm_trace.h:35:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 35 | TRACE_EVENT(drm_vblank_event_queued, @@ -17110,2 +19035,2 @@ -In file included from ../drivers/firewire/ohci.c:51: -In file included from ../include/trace/events/firewire_ohci.h:101: +In file included from ../drivers/gpu/drm/drm_trace_points.c:5: +In file included from ../drivers/gpu/drm/drm_trace.h:74: @@ -17114 +19039 @@ -../include/trace/events/firewire_ohci.h:61:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/drm_trace.h:35:1: error: use of undeclared identifier 'preempt_notrace' @@ -17124,2 +19049,2 @@ -In file included from ../drivers/firewire/ohci.c:51: -In file included from ../include/trace/events/firewire_ohci.h:101: +In file included from ../drivers/gpu/drm/drm_trace_points.c:5: +In file included from ../drivers/gpu/drm/drm_trace.h:74: @@ -17128 +19053 @@ -../include/trace/events/firewire_ohci.h:61:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/drm_trace.h:35:1: error: use of undeclared identifier 'trace_event_guard' @@ -17138,2 +19063,2 @@ -In file included from ../drivers/firewire/ohci.c:51: -In file included from ../include/trace/events/firewire_ohci.h:101: +In file included from ../drivers/gpu/drm/drm_trace_points.c:5: +In file included from ../drivers/gpu/drm/drm_trace.h:74: @@ -17142 +19067 @@ -../include/trace/events/firewire_ohci.h:61:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/gpu/drm/drm_trace.h:35:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -17152,2 +19077,2 @@ -In file included from ../drivers/firewire/ohci.c:51: -In file included from ../include/trace/events/firewire_ohci.h:101: +In file included from ../drivers/gpu/drm/drm_trace_points.c:5: +In file included from ../drivers/gpu/drm/drm_trace.h:74: @@ -17156 +19081 @@ -../include/trace/events/firewire_ohci.h:61:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/drm_trace.h:35:1: error: use of undeclared identifier 'preempt_notrace' @@ -17166,2 +19091,2 @@ -In file included from ../drivers/firewire/ohci.c:51: -In file included from ../include/trace/events/firewire_ohci.h:101: +In file included from ../drivers/gpu/drm/drm_trace_points.c:5: +In file included from ../drivers/gpu/drm/drm_trace.h:74: @@ -17170 +19095 @@ -../include/trace/events/firewire_ohci.h:61:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/drm_trace.h:35:1: error: use of undeclared identifier 'trace_event_guard' @@ -17180,6 +19105,6 @@ -In file included from ../drivers/firewire/ohci.c:51: -In file included from ../include/trace/events/firewire_ohci.h:101: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/firewire_ohci.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 14 | TRACE_EVENT(irqs, +In file included from ../drivers/gpu/drm/drm_trace_points.c:5: +In file included from ../drivers/gpu/drm/drm_trace.h:74: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/gpu/drm/drm_trace.h:52:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 52 | TRACE_EVENT(drm_vblank_event_delivered, @@ -17190,2 +19115,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -17193,2 +19118,2 @@ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -17196,5 +19121,5 @@ -In file included from ../drivers/firewire/ohci.c:51: -In file included from ../include/trace/events/firewire_ohci.h:101: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/firewire_ohci.h:14:1: error: use of undeclared identifier 'preempt_notrace' +In file included from ../drivers/gpu/drm/drm_trace_points.c:5: +In file included from ../drivers/gpu/drm/drm_trace.h:74: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/gpu/drm/drm_trace.h:52:1: error: use of undeclared identifier 'preempt_notrace' @@ -17204,2 +19129,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -17207,2 +19132,2 @@ -../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -17210,5 +19135,5 @@ -In file included from ../drivers/firewire/ohci.c:51: -In file included from ../include/trace/events/firewire_ohci.h:101: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/firewire_ohci.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' +In file included from ../drivers/gpu/drm/drm_trace_points.c:5: +In file included from ../drivers/gpu/drm/drm_trace.h:74: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/gpu/drm/drm_trace.h:52:1: error: use of undeclared identifier 'trace_event_guard' @@ -17218,2 +19143,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -17221,2 +19146,2 @@ -../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -17224,5 +19149,5 @@ -In file included from ../drivers/firewire/ohci.c:51: -In file included from ../include/trace/events/firewire_ohci.h:101: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/firewire_ohci.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +In file included from ../drivers/gpu/drm/drm_trace_points.c:5: +In file included from ../drivers/gpu/drm/drm_trace.h:74: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/gpu/drm/drm_trace.h:52:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -17232,2 +19157,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -17235,2 +19160,2 @@ -../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ +../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -17238,5 +19163,5 @@ -In file included from ../drivers/firewire/ohci.c:51: -In file included from ../include/trace/events/firewire_ohci.h:101: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/firewire_ohci.h:14:1: error: use of undeclared identifier 'preempt_notrace' +In file included from ../drivers/gpu/drm/drm_trace_points.c:5: +In file included from ../drivers/gpu/drm/drm_trace.h:74: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/gpu/drm/drm_trace.h:52:1: error: use of undeclared identifier 'preempt_notrace' @@ -17246,2 +19171,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -17249,2 +19174,2 @@ -../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ +../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -17252,5 +19177,5 @@ -In file included from ../drivers/firewire/ohci.c:51: -In file included from ../include/trace/events/firewire_ohci.h:101: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/firewire_ohci.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' +In file included from ../drivers/gpu/drm/drm_trace_points.c:5: +In file included from ../drivers/gpu/drm/drm_trace.h:74: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/gpu/drm/drm_trace.h:52:1: error: use of undeclared identifier 'trace_event_guard' @@ -17260,2 +19185,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -17263,2 +19188,2 @@ -../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ +../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -17266,6 +19191,6 @@ -In file included from ../drivers/firewire/ohci.c:51: -In file included from ../include/trace/events/firewire_ohci.h:101: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/firewire_ohci.h:61:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 61 | TRACE_EVENT(self_id_complete, +In file included from ../drivers/gpu/drm/drm_trace_points.c:5: +In file included from ../drivers/gpu/drm/drm_trace.h:74: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/gpu/drm/drm_trace.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 15 | TRACE_EVENT(drm_vblank_event, @@ -17276,2 +19201,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -17279,2 +19204,2 @@ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -17284,4 +19209,4 @@ -make[5]: *** [../scripts/Makefile.build:244: drivers/firewire/ohci.o] Error 1 -make[4]: *** [../scripts/Makefile.build:485: drivers/firewire] Error 2 -In file included from ../net/mptcp/protocol.c:30: -In file included from ../include/trace/events/mptcp.h:184: +make[6]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/drm_trace_points.o] Error 1 +make[6]: *** Waiting for unfinished jobs.... +In file included from ../mm/mmap_lock.c:3: +In file included from ../include/trace/events/mmap_lock.h:87: @@ -17290,2 +19215,70 @@ -../include/trace/events/mptcp.h:18:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 18 | TRACE_EVENT(mptcp_subflow_get_send, +../include/trace/events/mmap_lock.h:16:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 16 | DECLARE_EVENT_CLASS(mmap_lock, + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../mm/mmap_lock.c:3: +In file included from ../include/trace/events/mmap_lock.h:87: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/mmap_lock.h:16:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../mm/mmap_lock.c:3: +In file included from ../include/trace/events/mmap_lock.h:87: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/mmap_lock.h:16:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../mm/mmap_lock.c:3: +In file included from ../include/trace/events/mmap_lock.h:87: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/mmap_lock.h:16:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../mm/mmap_lock.c:3: +In file included from ../include/trace/events/mmap_lock.h:87: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/mmap_lock.h:16:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../mm/mmap_lock.c:3: +In file included from ../include/trace/events/mmap_lock.h:87: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/mmap_lock.h:16:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../mm/mmap_lock.c:3: +In file included from ../include/trace/events/mmap_lock.h:87: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/mmap_lock.h:52:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 52 | TRACE_EVENT_FN(mmap_lock_acquire_returned, @@ -17292,0 +19286,3 @@ +../include/trace/trace_events.h:92:2: note: expanded from macro 'TRACE_EVENT_FN' + 92 | TRACE_EVENT(name, PARAMS(proto), PARAMS(args), \ + | ^ @@ -17302,2 +19298,2 @@ -In file included from ../net/mptcp/protocol.c:30: -In file included from ../include/trace/events/mptcp.h:184: +In file included from ../mm/mmap_lock.c:3: +In file included from ../include/trace/events/mmap_lock.h:87: @@ -17306 +19302,4 @@ -../include/trace/events/mptcp.h:18:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/mmap_lock.h:52:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:92:2: note: expanded from macro 'TRACE_EVENT_FN' + 92 | TRACE_EVENT(name, PARAMS(proto), PARAMS(args), \ + | ^ @@ -17316,2 +19315,2 @@ -In file included from ../net/mptcp/protocol.c:30: -In file included from ../include/trace/events/mptcp.h:184: +In file included from ../mm/mmap_lock.c:3: +In file included from ../include/trace/events/mmap_lock.h:87: @@ -17320 +19319,4 @@ -../include/trace/events/mptcp.h:18:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/mmap_lock.h:52:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:92:2: note: expanded from macro 'TRACE_EVENT_FN' + 92 | TRACE_EVENT(name, PARAMS(proto), PARAMS(args), \ + | ^ @@ -17330,2 +19332,2 @@ -In file included from ../net/mptcp/protocol.c:30: -In file included from ../include/trace/events/mptcp.h:184: +In file included from ../mm/mmap_lock.c:3: +In file included from ../include/trace/events/mmap_lock.h:87: @@ -17334 +19336,4 @@ -../include/trace/events/mptcp.h:18:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/mmap_lock.h:52:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:92:2: note: expanded from macro 'TRACE_EVENT_FN' + 92 | TRACE_EVENT(name, PARAMS(proto), PARAMS(args), \ + | ^ @@ -17344,2 +19349,2 @@ -In file included from ../net/mptcp/protocol.c:30: -In file included from ../include/trace/events/mptcp.h:184: +In file included from ../mm/mmap_lock.c:3: +In file included from ../include/trace/events/mmap_lock.h:87: @@ -17348 +19353,4 @@ -../include/trace/events/mptcp.h:18:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/mmap_lock.h:52:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:92:2: note: expanded from macro 'TRACE_EVENT_FN' + 92 | TRACE_EVENT(name, PARAMS(proto), PARAMS(args), \ + | ^ @@ -17358,2 +19366,2 @@ -In file included from ../net/mptcp/protocol.c:30: -In file included from ../include/trace/events/mptcp.h:184: +In file included from ../mm/mmap_lock.c:3: +In file included from ../include/trace/events/mmap_lock.h:87: @@ -17362 +19370,4 @@ -../include/trace/events/mptcp.h:18:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/mmap_lock.h:52:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:92:2: note: expanded from macro 'TRACE_EVENT_FN' + 92 | TRACE_EVENT(name, PARAMS(proto), PARAMS(args), \ + | ^ @@ -17372,2 +19383,92 @@ -In file included from ../net/mptcp/protocol.c:30: -In file included from ../include/trace/events/mptcp.h:184: +In file included from ../mm/mmap_lock.c:3: +In file included from ../include/trace/events/mmap_lock.h:87: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/mmap_lock.h:16:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 16 | DECLARE_EVENT_CLASS(mmap_lock, + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../mm/mmap_lock.c:3: +In file included from ../include/trace/events/mmap_lock.h:87: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/mmap_lock.h:16:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../mm/mmap_lock.c:3: +In file included from ../include/trace/events/mmap_lock.h:87: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/mmap_lock.h:16:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../mm/mmap_lock.c:3: +In file included from ../include/trace/events/mmap_lock.h:87: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/mmap_lock.h:16:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../mm/mmap_lock.c:3: +In file included from ../include/trace/events/mmap_lock.h:87: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/mmap_lock.h:16:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../mm/mmap_lock.c:3: +In file included from ../include/trace/events/mmap_lock.h:87: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/mmap_lock.h:16:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../mm/mmap_lock.c:3: +In file included from ../include/trace/events/mmap_lock.h:87: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/mmap_lock.h:52:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 52 | TRACE_EVENT_FN(mmap_lock_acquire_returned, + | ^ +../include/trace/trace_events.h:92:2: note: expanded from macro 'TRACE_EVENT_FN' + 92 | TRACE_EVENT(name, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. +make[4]: *** [../scripts/Makefile.build:244: mm/mmap_lock.o] Error 1 +In file included from ../mm/compaction.c:64: +In file included from ../include/trace/events/compaction.h:356: @@ -17376,2 +19477,2 @@ -../include/trace/events/mptcp.h:65:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 65 | DECLARE_EVENT_CLASS(mptcp_dump_mpext, +../include/trace/events/compaction.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 14 | DECLARE_EVENT_CLASS(mm_compaction_isolate_template, @@ -17385,2 +19486,2 @@ -In file included from ../net/mptcp/protocol.c:30: -In file included from ../include/trace/events/mptcp.h:184: +In file included from ../mm/compaction.c:64: +In file included from ../include/trace/events/compaction.h:356: @@ -17389 +19490 @@ -../include/trace/events/mptcp.h:65:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/compaction.h:14:1: error: use of undeclared identifier 'preempt_notrace' @@ -17396,2 +19497,2 @@ -In file included from ../net/mptcp/protocol.c:30: -In file included from ../include/trace/events/mptcp.h:184: +In file included from ../mm/compaction.c:64: +In file included from ../include/trace/events/compaction.h:356: @@ -17400 +19501 @@ -../include/trace/events/mptcp.h:65:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/compaction.h:14:1: error: use of undeclared identifier 'trace_event_guard' @@ -17407,2 +19508,2 @@ -In file included from ../net/mptcp/protocol.c:30: -In file included from ../include/trace/events/mptcp.h:184: +In file included from ../mm/compaction.c:64: +In file included from ../include/trace/events/compaction.h:356: @@ -17411 +19512 @@ -../include/trace/events/mptcp.h:65:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/compaction.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -17418,2 +19519,2 @@ -In file included from ../net/mptcp/protocol.c:30: -In file included from ../include/trace/events/mptcp.h:184: +In file included from ../mm/compaction.c:64: +In file included from ../include/trace/events/compaction.h:356: @@ -17422 +19523 @@ -../include/trace/events/mptcp.h:65:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/compaction.h:14:1: error: use of undeclared identifier 'preempt_notrace' @@ -17429,2 +19530,2 @@ -In file included from ../net/mptcp/protocol.c:30: -In file included from ../include/trace/events/mptcp.h:184: +In file included from ../mm/compaction.c:64: +In file included from ../include/trace/events/compaction.h:356: @@ -17433 +19534 @@ -../include/trace/events/mptcp.h:65:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/compaction.h:14:1: error: use of undeclared identifier 'trace_event_guard' @@ -17440,2 +19541,2 @@ -In file included from ../net/mptcp/protocol.c:30: -In file included from ../include/trace/events/mptcp.h:184: +In file included from ../mm/compaction.c:64: +In file included from ../include/trace/events/compaction.h:356: @@ -17444,2 +19545,2 @@ -../include/trace/events/mptcp.h:128:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 128 | TRACE_EVENT(ack_update_msk, +../include/trace/events/compaction.h:79:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 79 | TRACE_EVENT(mm_compaction_migratepages, @@ -17456,2 +19557,2 @@ -In file included from ../net/mptcp/protocol.c:30: -In file included from ../include/trace/events/mptcp.h:184: +In file included from ../mm/compaction.c:64: +In file included from ../include/trace/events/compaction.h:356: @@ -17460 +19561 @@ -../include/trace/events/mptcp.h:128:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/compaction.h:79:1: error: use of undeclared identifier 'preempt_notrace' @@ -17470,2 +19571,2 @@ -In file included from ../net/mptcp/protocol.c:30: -In file included from ../include/trace/events/mptcp.h:184: +In file included from ../mm/compaction.c:64: +In file included from ../include/trace/events/compaction.h:356: @@ -17474 +19575 @@ -../include/trace/events/mptcp.h:128:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/compaction.h:79:1: error: use of undeclared identifier 'trace_event_guard' @@ -17484,2 +19585,2 @@ -In file included from ../net/mptcp/protocol.c:30: -In file included from ../include/trace/events/mptcp.h:184: +In file included from ../mm/compaction.c:64: +In file included from ../include/trace/events/compaction.h:356: @@ -17488 +19589 @@ -../include/trace/events/mptcp.h:128:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/compaction.h:79:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -17498,2 +19599,2 @@ -In file included from ../net/mptcp/protocol.c:30: -In file included from ../include/trace/events/mptcp.h:184: +In file included from ../mm/compaction.c:64: +In file included from ../include/trace/events/compaction.h:356: @@ -17502 +19603 @@ -../include/trace/events/mptcp.h:128:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/compaction.h:79:1: error: use of undeclared identifier 'preempt_notrace' @@ -17512,2 +19613,2 @@ -In file included from ../net/mptcp/protocol.c:30: -In file included from ../include/trace/events/mptcp.h:184: +In file included from ../mm/compaction.c:64: +In file included from ../include/trace/events/compaction.h:356: @@ -17516 +19617 @@ -../include/trace/events/mptcp.h:128:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/compaction.h:79:1: error: use of undeclared identifier 'trace_event_guard' @@ -17526,22 +19627,2 @@ -In file included from ../net/mptcp/protocol.c:30: -In file included from ../include/trace/events/mptcp.h:184: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/mptcp.h:160:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 160 | TRACE_EVENT(subflow_check_data_avail, - | ^ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ - | ^ -fatal error: too many errors emitted, stopping now [-ferror-limit=] -20 errors generated. -make[5]: *** [../scripts/Makefile.build:244: net/mptcp/protocol.o] Error 1 -make[4]: *** [../scripts/Makefile.build:485: net/mptcp] Error 2 -In file included from ../drivers/net/wireless/ath/trace.c:20: -In file included from ../drivers/net/wireless/ath/trace.h:68: +In file included from ../mm/compaction.c:64: +In file included from ../include/trace/events/compaction.h:356: @@ -17550,2 +19631,2 @@ -../drivers/net/wireless/ath/trace.h:33:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 33 | TRACE_EVENT(ath_log, +../include/trace/events/compaction.h:101:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 101 | TRACE_EVENT(mm_compaction_begin, @@ -17562,2 +19643,2 @@ -In file included from ../drivers/net/wireless/ath/trace.c:20: -In file included from ../drivers/net/wireless/ath/trace.h:68: +In file included from ../mm/compaction.c:64: +In file included from ../include/trace/events/compaction.h:356: @@ -17566 +19647 @@ -../drivers/net/wireless/ath/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/compaction.h:101:1: error: use of undeclared identifier 'preempt_notrace' @@ -17576,2 +19657,2 @@ -In file included from ../drivers/net/wireless/ath/trace.c:20: -In file included from ../drivers/net/wireless/ath/trace.h:68: +In file included from ../mm/compaction.c:64: +In file included from ../include/trace/events/compaction.h:356: @@ -17580 +19661 @@ -../drivers/net/wireless/ath/trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/compaction.h:101:1: error: use of undeclared identifier 'trace_event_guard' @@ -17590,2 +19671,2 @@ -In file included from ../drivers/net/wireless/ath/trace.c:20: -In file included from ../drivers/net/wireless/ath/trace.h:68: +In file included from ../mm/compaction.c:64: +In file included from ../include/trace/events/compaction.h:356: @@ -17594 +19675 @@ -../drivers/net/wireless/ath/trace.h:33:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/compaction.h:101:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -17604,2 +19685,2 @@ -In file included from ../drivers/net/wireless/ath/trace.c:20: -In file included from ../drivers/net/wireless/ath/trace.h:68: +In file included from ../mm/compaction.c:64: +In file included from ../include/trace/events/compaction.h:356: @@ -17608 +19689 @@ -../drivers/net/wireless/ath/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/compaction.h:101:1: error: use of undeclared identifier 'preempt_notrace' @@ -17618,2 +19699,2 @@ -In file included from ../drivers/net/wireless/ath/trace.c:20: -In file included from ../drivers/net/wireless/ath/trace.h:68: +In file included from ../mm/compaction.c:64: +In file included from ../include/trace/events/compaction.h:356: @@ -17622 +19703 @@ -../drivers/net/wireless/ath/trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/compaction.h:101:1: error: use of undeclared identifier 'trace_event_guard' @@ -17632,6 +19713,6 @@ -In file included from ../drivers/net/wireless/ath/trace.c:20: -In file included from ../drivers/net/wireless/ath/trace.h:68: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/wireless/ath/trace.h:33:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 33 | TRACE_EVENT(ath_log, +In file included from ../mm/compaction.c:64: +In file included from ../include/trace/events/compaction.h:356: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/compaction.h:131:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 131 | TRACE_EVENT(mm_compaction_end, @@ -17642,69 +19723,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ - | ^ -In file included from ../drivers/net/wireless/ath/trace.c:20: -In file included from ../drivers/net/wireless/ath/trace.h:68: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/wireless/ath/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ - | ^ -In file included from ../drivers/net/wireless/ath/trace.c:20: -In file included from ../drivers/net/wireless/ath/trace.h:68: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/wireless/ath/trace.h:33:1: error: use of undeclared identifier 'bpf_trace_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ - | ^ -In file included from ../drivers/net/wireless/ath/trace.c:20: -In file included from ../drivers/net/wireless/ath/trace.h:68: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/wireless/ath/trace.h:33:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ - | ^ -In file included from ../drivers/net/wireless/ath/trace.c:20: -In file included from ../drivers/net/wireless/ath/trace.h:68: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/wireless/ath/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ - | ^ -In file included from ../drivers/net/wireless/ath/trace.c:20: -In file included from ../drivers/net/wireless/ath/trace.h:68: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/wireless/ath/trace.h:33:1: error: use of undeclared identifier 'bpf_trace_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -17712,2 +19726,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -17715,8 +19729,6 @@ -../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ - | ^ -12 errors generated. -make[7]: *** [../scripts/Makefile.build:244: drivers/net/wireless/ath/trace.o] Error 1 -make[7]: *** Waiting for unfinished jobs.... -In file included from ../mm/percpu.c:97: -In file included from ../include/trace/events/percpu.h:137: +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. +make[4]: *** [../scripts/Makefile.build:244: mm/compaction.o] Error 1 +make[3]: *** [../scripts/Makefile.build:485: mm] Error 2 +In file included from ../arch/x86/kvm/x86.c:90: +In file included from ../arch/x86/kvm/trace.h:1882: @@ -17725,2 +19737,2 @@ -../include/trace/events/percpu.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 11 | TRACE_EVENT(percpu_alloc_percpu, +../arch/x86/kvm/trace.h:17:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 17 | TRACE_EVENT(kvm_entry, @@ -17737,2 +19749,2 @@ -In file included from ../mm/percpu.c:97: -In file included from ../include/trace/events/percpu.h:137: +In file included from ../arch/x86/kvm/x86.c:90: +In file included from ../arch/x86/kvm/trace.h:1882: @@ -17741 +19753 @@ -../include/trace/events/percpu.h:11:1: error: use of undeclared identifier 'preempt_notrace' +../arch/x86/kvm/trace.h:17:1: error: use of undeclared identifier 'preempt_notrace' @@ -17751,2 +19763,2 @@ -In file included from ../mm/percpu.c:97: -In file included from ../include/trace/events/percpu.h:137: +In file included from ../arch/x86/kvm/x86.c:90: +In file included from ../arch/x86/kvm/trace.h:1882: @@ -17755 +19767 @@ -../include/trace/events/percpu.h:11:1: error: use of undeclared identifier 'trace_event_guard' +../arch/x86/kvm/trace.h:17:1: error: use of undeclared identifier 'trace_event_guard' @@ -17765,2 +19777,2 @@ -In file included from ../mm/percpu.c:97: -In file included from ../include/trace/events/percpu.h:137: +In file included from ../arch/x86/kvm/x86.c:90: +In file included from ../arch/x86/kvm/trace.h:1882: @@ -17769 +19781 @@ -../include/trace/events/percpu.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../arch/x86/kvm/trace.h:17:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -17779,2 +19791,2 @@ -In file included from ../mm/percpu.c:97: -In file included from ../include/trace/events/percpu.h:137: +In file included from ../arch/x86/kvm/x86.c:90: +In file included from ../arch/x86/kvm/trace.h:1882: @@ -17783 +19795 @@ -../include/trace/events/percpu.h:11:1: error: use of undeclared identifier 'preempt_notrace' +../arch/x86/kvm/trace.h:17:1: error: use of undeclared identifier 'preempt_notrace' @@ -17793,2 +19805,2 @@ -In file included from ../mm/percpu.c:97: -In file included from ../include/trace/events/percpu.h:137: +In file included from ../arch/x86/kvm/x86.c:90: +In file included from ../arch/x86/kvm/trace.h:1882: @@ -17797 +19809 @@ -../include/trace/events/percpu.h:11:1: error: use of undeclared identifier 'trace_event_guard' +../arch/x86/kvm/trace.h:17:1: error: use of undeclared identifier 'trace_event_guard' @@ -17807,2 +19819,2 @@ -In file included from ../mm/percpu.c:97: -In file included from ../include/trace/events/percpu.h:137: +In file included from ../arch/x86/kvm/x86.c:90: +In file included from ../arch/x86/kvm/trace.h:1882: @@ -17811,2 +19823,2 @@ -../include/trace/events/percpu.h:54:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 54 | TRACE_EVENT(percpu_free_percpu, +../arch/x86/kvm/trace.h:40:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 40 | TRACE_EVENT(kvm_hypercall, @@ -17823,2 +19835,2 @@ -In file included from ../mm/percpu.c:97: -In file included from ../include/trace/events/percpu.h:137: +In file included from ../arch/x86/kvm/x86.c:90: +In file included from ../arch/x86/kvm/trace.h:1882: @@ -17827 +19839 @@ -../include/trace/events/percpu.h:54:1: error: use of undeclared identifier 'preempt_notrace' +../arch/x86/kvm/trace.h:40:1: error: use of undeclared identifier 'preempt_notrace' @@ -17837,2 +19849,2 @@ -In file included from ../mm/percpu.c:97: -In file included from ../include/trace/events/percpu.h:137: +In file included from ../arch/x86/kvm/x86.c:90: +In file included from ../arch/x86/kvm/trace.h:1882: @@ -17841 +19853 @@ -../include/trace/events/percpu.h:54:1: error: use of undeclared identifier 'trace_event_guard' +../arch/x86/kvm/trace.h:40:1: error: use of undeclared identifier 'trace_event_guard' @@ -17851,2 +19863,2 @@ -In file included from ../mm/percpu.c:97: -In file included from ../include/trace/events/percpu.h:137: +In file included from ../arch/x86/kvm/x86.c:90: +In file included from ../arch/x86/kvm/trace.h:1882: @@ -17855 +19867 @@ -../include/trace/events/percpu.h:54:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../arch/x86/kvm/trace.h:40:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -17865,2 +19877,2 @@ -In file included from ../mm/percpu.c:97: -In file included from ../include/trace/events/percpu.h:137: +In file included from ../arch/x86/kvm/x86.c:90: +In file included from ../arch/x86/kvm/trace.h:1882: @@ -17869 +19881 @@ -../include/trace/events/percpu.h:54:1: error: use of undeclared identifier 'preempt_notrace' +../arch/x86/kvm/trace.h:40:1: error: use of undeclared identifier 'preempt_notrace' @@ -17879,2 +19891,2 @@ -In file included from ../mm/percpu.c:97: -In file included from ../include/trace/events/percpu.h:137: +In file included from ../arch/x86/kvm/x86.c:90: +In file included from ../arch/x86/kvm/trace.h:1882: @@ -17883 +19895 @@ -../include/trace/events/percpu.h:54:1: error: use of undeclared identifier 'trace_event_guard' +../arch/x86/kvm/trace.h:40:1: error: use of undeclared identifier 'trace_event_guard' @@ -17893,2 +19905,2 @@ -In file included from ../mm/percpu.c:97: -In file included from ../include/trace/events/percpu.h:137: +In file included from ../arch/x86/kvm/x86.c:90: +In file included from ../arch/x86/kvm/trace.h:1882: @@ -17897,2 +19909,2 @@ -../include/trace/events/percpu.h:76:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 76 | TRACE_EVENT(percpu_alloc_percpu_fail, +../arch/x86/kvm/trace.h:69:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 69 | TRACE_EVENT(kvm_hv_hypercall, @@ -17909,2 +19921,2 @@ -In file included from ../mm/percpu.c:97: -In file included from ../include/trace/events/percpu.h:137: +In file included from ../arch/x86/kvm/x86.c:90: +In file included from ../arch/x86/kvm/trace.h:1882: @@ -17913 +19925 @@ -../include/trace/events/percpu.h:76:1: error: use of undeclared identifier 'preempt_notrace' +../arch/x86/kvm/trace.h:69:1: error: use of undeclared identifier 'preempt_notrace' @@ -17923,2 +19935,2 @@ -In file included from ../mm/percpu.c:97: -In file included from ../include/trace/events/percpu.h:137: +In file included from ../arch/x86/kvm/x86.c:90: +In file included from ../arch/x86/kvm/trace.h:1882: @@ -17927 +19939 @@ -../include/trace/events/percpu.h:76:1: error: use of undeclared identifier 'trace_event_guard' +../arch/x86/kvm/trace.h:69:1: error: use of undeclared identifier 'trace_event_guard' @@ -17937,2 +19949,2 @@ -In file included from ../mm/percpu.c:97: -In file included from ../include/trace/events/percpu.h:137: +In file included from ../arch/x86/kvm/x86.c:90: +In file included from ../arch/x86/kvm/trace.h:1882: @@ -17941 +19953 @@ -../include/trace/events/percpu.h:76:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../arch/x86/kvm/trace.h:69:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -17951,2 +19963,2 @@ -In file included from ../mm/percpu.c:97: -In file included from ../include/trace/events/percpu.h:137: +In file included from ../arch/x86/kvm/x86.c:90: +In file included from ../arch/x86/kvm/trace.h:1882: @@ -17955 +19967 @@ -../include/trace/events/percpu.h:76:1: error: use of undeclared identifier 'preempt_notrace' +../arch/x86/kvm/trace.h:69:1: error: use of undeclared identifier 'preempt_notrace' @@ -17965,2 +19977,2 @@ -In file included from ../mm/percpu.c:97: -In file included from ../include/trace/events/percpu.h:137: +In file included from ../arch/x86/kvm/x86.c:90: +In file included from ../arch/x86/kvm/trace.h:1882: @@ -17969 +19981 @@ -../include/trace/events/percpu.h:76:1: error: use of undeclared identifier 'trace_event_guard' +../arch/x86/kvm/trace.h:69:1: error: use of undeclared identifier 'trace_event_guard' @@ -17979,2 +19991,2 @@ -In file included from ../mm/percpu.c:97: -In file included from ../include/trace/events/percpu.h:137: +In file included from ../arch/x86/kvm/x86.c:90: +In file included from ../arch/x86/kvm/trace.h:1882: @@ -17983,2 +19995,2 @@ -../include/trace/events/percpu.h:101:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 101 | TRACE_EVENT(percpu_create_chunk, +../arch/x86/kvm/trace.h:100:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 100 | TRACE_EVENT(kvm_hv_hypercall_done, @@ -17997,3 +20009,3 @@ -make[4]: *** [../scripts/Makefile.build:244: mm/percpu.o] Error 1 -In file included from ../drivers/block/null_blk/zoned.c:7: -In file included from ../drivers/block/null_blk/trace.h:85: +make[5]: *** [../scripts/Makefile.build:244: arch/x86/kvm/x86.o] Error 1 +In file included from ../drivers/net/phy/mdio_bus.c:38: +In file included from ../include/trace/events/mdio.h:43: @@ -18002,2 +20014,2 @@ -../drivers/block/null_blk/trace.h:33:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 33 | TRACE_EVENT(nullb_zone_op, +../include/trace/events/mdio.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 10 | TRACE_EVENT_CONDITION(mdio_access, @@ -18004,0 +20017,3 @@ +../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' + 32 | TRACE_EVENT(name, \ + | ^ @@ -18014,2 +20029,2 @@ -In file included from ../drivers/block/null_blk/zoned.c:7: -In file included from ../drivers/block/null_blk/trace.h:85: +In file included from ../drivers/net/phy/mdio_bus.c:38: +In file included from ../include/trace/events/mdio.h:43: @@ -18018 +20033,4 @@ -../drivers/block/null_blk/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/mdio.h:10:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' + 32 | TRACE_EVENT(name, \ + | ^ @@ -18028,2 +20046,2 @@ -In file included from ../drivers/block/null_blk/zoned.c:7: -In file included from ../drivers/block/null_blk/trace.h:85: +In file included from ../drivers/net/phy/mdio_bus.c:38: +In file included from ../include/trace/events/mdio.h:43: @@ -18032 +20050,4 @@ -../drivers/block/null_blk/trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/mdio.h:10:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' + 32 | TRACE_EVENT(name, \ + | ^ @@ -18042,2 +20063,2 @@ -In file included from ../drivers/block/null_blk/zoned.c:7: -In file included from ../drivers/block/null_blk/trace.h:85: +In file included from ../drivers/net/phy/mdio_bus.c:38: +In file included from ../include/trace/events/mdio.h:43: @@ -18046 +20067,4 @@ -../drivers/block/null_blk/trace.h:33:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/mdio.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' + 32 | TRACE_EVENT(name, \ + | ^ @@ -18056,2 +20080,2 @@ -In file included from ../drivers/block/null_blk/zoned.c:7: -In file included from ../drivers/block/null_blk/trace.h:85: +In file included from ../drivers/net/phy/mdio_bus.c:38: +In file included from ../include/trace/events/mdio.h:43: @@ -18060 +20084,4 @@ -../drivers/block/null_blk/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/mdio.h:10:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' + 32 | TRACE_EVENT(name, \ + | ^ @@ -18070,2 +20097,2 @@ -In file included from ../drivers/block/null_blk/zoned.c:7: -In file included from ../drivers/block/null_blk/trace.h:85: +In file included from ../drivers/net/phy/mdio_bus.c:38: +In file included from ../include/trace/events/mdio.h:43: @@ -18074 +20101,4 @@ -../drivers/block/null_blk/trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/mdio.h:10:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' + 32 | TRACE_EVENT(name, \ + | ^ @@ -18084,6 +20114,6 @@ -In file included from ../drivers/block/null_blk/zoned.c:7: -In file included from ../drivers/block/null_blk/trace.h:85: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/block/null_blk/trace.h:62:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 62 | TRACE_EVENT(nullb_report_zones, +In file included from ../drivers/net/phy/mdio_bus.c:38: +In file included from ../include/trace/events/mdio.h:43: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/mdio.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 10 | TRACE_EVENT_CONDITION(mdio_access, @@ -18090,0 +20121,3 @@ +../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' + 32 | TRACE_EVENT(name, \ + | ^ @@ -18094,2 +20127,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -18097,2 +20130,10 @@ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/net/phy/mdio_bus.c:38: +In file included from ../include/trace/events/mdio.h:43: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/mdio.h:10:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' + 32 | TRACE_EVENT(name, \ @@ -18100,5 +20140,0 @@ -In file included from ../drivers/block/null_blk/zoned.c:7: -In file included from ../drivers/block/null_blk/trace.h:85: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/block/null_blk/trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' @@ -18108,2 +20144,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -18111,2 +20147,2 @@ -../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -18114,5 +20150,8 @@ -In file included from ../drivers/block/null_blk/zoned.c:7: -In file included from ../drivers/block/null_blk/trace.h:85: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/block/null_blk/trace.h:62:1: error: use of undeclared identifier 'trace_event_guard' +In file included from ../drivers/net/phy/mdio_bus.c:38: +In file included from ../include/trace/events/mdio.h:43: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/mdio.h:10:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' + 32 | TRACE_EVENT(name, \ + | ^ @@ -18122,2 +20161,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -18125,2 +20164,2 @@ -../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -18128,5 +20167,8 @@ -In file included from ../drivers/block/null_blk/zoned.c:7: -In file included from ../drivers/block/null_blk/trace.h:85: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/block/null_blk/trace.h:62:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +In file included from ../drivers/net/phy/mdio_bus.c:38: +In file included from ../include/trace/events/mdio.h:43: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/mdio.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' + 32 | TRACE_EVENT(name, \ + | ^ @@ -18136,2 +20178,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -18139,2 +20181,2 @@ -../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -18142,5 +20184,8 @@ -In file included from ../drivers/block/null_blk/zoned.c:7: -In file included from ../drivers/block/null_blk/trace.h:85: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/block/null_blk/trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' +In file included from ../drivers/net/phy/mdio_bus.c:38: +In file included from ../include/trace/events/mdio.h:43: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/mdio.h:10:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' + 32 | TRACE_EVENT(name, \ + | ^ @@ -18150,2 +20195,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -18153,2 +20198,2 @@ -../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -18156,5 +20201,8 @@ -In file included from ../drivers/block/null_blk/zoned.c:7: -In file included from ../drivers/block/null_blk/trace.h:85: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/block/null_blk/trace.h:62:1: error: use of undeclared identifier 'trace_event_guard' +In file included from ../drivers/net/phy/mdio_bus.c:38: +In file included from ../include/trace/events/mdio.h:43: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/mdio.h:10:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' + 32 | TRACE_EVENT(name, \ + | ^ @@ -18164,2 +20212,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -18167,2 +20215,2 @@ -../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -18170,2 +20218,2 @@ -In file included from ../drivers/block/null_blk/zoned.c:7: -In file included from ../drivers/block/null_blk/trace.h:85: +In file included from ../drivers/net/phy/mdio_bus.c:38: +In file included from ../include/trace/events/mdio.h:43: @@ -18174,2 +20222,2 @@ -../drivers/block/null_blk/trace.h:33:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 33 | TRACE_EVENT(nullb_zone_op, +../include/trace/events/mdio.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 10 | TRACE_EVENT_CONDITION(mdio_access, @@ -18176,0 +20225,3 @@ +../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' + 32 | TRACE_EVENT(name, \ + | ^ @@ -18186,2 +20237,2 @@ -In file included from ../drivers/block/null_blk/zoned.c:7: -In file included from ../drivers/block/null_blk/trace.h:85: +In file included from ../drivers/net/phy/mdio_bus.c:38: +In file included from ../include/trace/events/mdio.h:43: @@ -18190 +20241,4 @@ -../drivers/block/null_blk/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/mdio.h:10:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' + 32 | TRACE_EVENT(name, \ + | ^ @@ -18200,2 +20254,2 @@ -In file included from ../drivers/block/null_blk/zoned.c:7: -In file included from ../drivers/block/null_blk/trace.h:85: +In file included from ../drivers/net/phy/mdio_bus.c:38: +In file included from ../include/trace/events/mdio.h:43: @@ -18204 +20258,4 @@ -../drivers/block/null_blk/trace.h:33:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/events/mdio.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' + 32 | TRACE_EVENT(name, \ + | ^ @@ -18214,2 +20271,2 @@ -In file included from ../drivers/block/null_blk/zoned.c:7: -In file included from ../drivers/block/null_blk/trace.h:85: +In file included from ../drivers/net/phy/mdio_bus.c:38: +In file included from ../include/trace/events/mdio.h:43: @@ -18218 +20275,4 @@ -../drivers/block/null_blk/trace.h:33:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/mdio.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' + 32 | TRACE_EVENT(name, \ + | ^ @@ -18228,2 +20288,2 @@ -In file included from ../drivers/block/null_blk/zoned.c:7: -In file included from ../drivers/block/null_blk/trace.h:85: +In file included from ../drivers/net/phy/mdio_bus.c:38: +In file included from ../include/trace/events/mdio.h:43: @@ -18232 +20292,4 @@ -../drivers/block/null_blk/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/mdio.h:10:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' + 32 | TRACE_EVENT(name, \ + | ^ @@ -18242,2 +20305,2 @@ -In file included from ../drivers/block/null_blk/zoned.c:7: -In file included from ../drivers/block/null_blk/trace.h:85: +In file included from ../drivers/net/phy/mdio_bus.c:38: +In file included from ../include/trace/events/mdio.h:43: @@ -18246 +20309,4 @@ -../drivers/block/null_blk/trace.h:33:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/events/mdio.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' + 32 | TRACE_EVENT(name, \ + | ^ @@ -18256,21 +20322,6 @@ -In file included from ../drivers/block/null_blk/zoned.c:7: -In file included from ../drivers/block/null_blk/trace.h:85: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/block/null_blk/trace.h:62:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 62 | TRACE_EVENT(nullb_report_zones, - | ^ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ - | ^ -fatal error: too many errors emitted, stopping now [-ferror-limit=] -20 errors generated. -make[6]: *** [../scripts/Makefile.build:244: drivers/block/null_blk/zoned.o] Error 1 -In file included from ../mm/slab_common.c:36: -In file included from ../include/trace/events/kmem.h:415: +18 errors generated. +make[6]: *** [../scripts/Makefile.build:244: drivers/net/phy/mdio_bus.o] Error 1 +make[5]: *** [../scripts/Makefile.build:485: drivers/net/phy] Error 2 +make[5]: *** Waiting for unfinished jobs.... +In file included from ../block/blk-iocost.c:751: +In file included from ../include/trace/events/iocost.h:225: @@ -18279,2 +20330,2 @@ -../include/trace/events/kmem.h:12:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 12 | TRACE_EVENT(kmem_cache_alloc, +../include/trace/events/iocost.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 14 | DECLARE_EVENT_CLASS(iocost_iocg_state, @@ -18282,3 +20332,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -18291,2 +20339,2 @@ -In file included from ../mm/slab_common.c:36: -In file included from ../include/trace/events/kmem.h:415: +In file included from ../block/blk-iocost.c:751: +In file included from ../include/trace/events/iocost.h:225: @@ -18295,4 +20343 @@ -../include/trace/events/kmem.h:12:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/iocost.h:14:1: error: use of undeclared identifier 'preempt_notrace' @@ -18305,2 +20350,2 @@ -In file included from ../mm/slab_common.c:36: -In file included from ../include/trace/events/kmem.h:415: +In file included from ../block/blk-iocost.c:751: +In file included from ../include/trace/events/iocost.h:225: @@ -18309,4 +20354 @@ -../include/trace/events/kmem.h:12:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/iocost.h:14:1: error: use of undeclared identifier 'trace_event_guard' @@ -18319,2 +20361,2 @@ -In file included from ../mm/slab_common.c:36: -In file included from ../include/trace/events/kmem.h:415: +In file included from ../block/blk-iocost.c:751: +In file included from ../include/trace/events/iocost.h:225: @@ -18323,4 +20365 @@ -../include/trace/events/kmem.h:12:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/iocost.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -18333,2 +20372,2 @@ -In file included from ../mm/slab_common.c:36: -In file included from ../include/trace/events/kmem.h:415: +In file included from ../block/blk-iocost.c:751: +In file included from ../include/trace/events/iocost.h:225: @@ -18337,4 +20376 @@ -../include/trace/events/kmem.h:12:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/iocost.h:14:1: error: use of undeclared identifier 'preempt_notrace' @@ -18347,2 +20383,2 @@ -In file included from ../mm/slab_common.c:36: -In file included from ../include/trace/events/kmem.h:415: +In file included from ../block/blk-iocost.c:751: +In file included from ../include/trace/events/iocost.h:225: @@ -18351,4 +20387 @@ -../include/trace/events/kmem.h:12:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/iocost.h:14:1: error: use of undeclared identifier 'trace_event_guard' @@ -18361,2 +20394,2 @@ -In file included from ../mm/slab_common.c:36: -In file included from ../include/trace/events/kmem.h:415: +In file included from ../block/blk-iocost.c:751: +In file included from ../include/trace/events/iocost.h:225: @@ -18365,2 +20398,2 @@ -../include/trace/events/kmem.h:54:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 54 | TRACE_EVENT(kmalloc, +../include/trace/events/iocost.h:76:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 76 | DECLARE_EVENT_CLASS(iocg_inuse_update, @@ -18368,3 +20400,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -18377,2 +20407,2 @@ -In file included from ../mm/slab_common.c:36: -In file included from ../include/trace/events/kmem.h:415: +In file included from ../block/blk-iocost.c:751: +In file included from ../include/trace/events/iocost.h:225: @@ -18381,4 +20411 @@ -../include/trace/events/kmem.h:54:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/iocost.h:76:1: error: use of undeclared identifier 'preempt_notrace' @@ -18391,2 +20418,2 @@ -In file included from ../mm/slab_common.c:36: -In file included from ../include/trace/events/kmem.h:415: +In file included from ../block/blk-iocost.c:751: +In file included from ../include/trace/events/iocost.h:225: @@ -18395,4 +20422 @@ -../include/trace/events/kmem.h:54:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/iocost.h:76:1: error: use of undeclared identifier 'trace_event_guard' @@ -18405,2 +20429,2 @@ -In file included from ../mm/slab_common.c:36: -In file included from ../include/trace/events/kmem.h:415: +In file included from ../block/blk-iocost.c:751: +In file included from ../include/trace/events/iocost.h:225: @@ -18409,4 +20433 @@ -../include/trace/events/kmem.h:54:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/iocost.h:76:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -18419,2 +20440,2 @@ -In file included from ../mm/slab_common.c:36: -In file included from ../include/trace/events/kmem.h:415: +In file included from ../block/blk-iocost.c:751: +In file included from ../include/trace/events/iocost.h:225: @@ -18423,4 +20444 @@ -../include/trace/events/kmem.h:54:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/iocost.h:76:1: error: use of undeclared identifier 'preempt_notrace' @@ -18433,2 +20451,2 @@ -In file included from ../mm/slab_common.c:36: -In file included from ../include/trace/events/kmem.h:415: +In file included from ../block/blk-iocost.c:751: +In file included from ../include/trace/events/iocost.h:225: @@ -18437,4 +20455 @@ -../include/trace/events/kmem.h:54:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/iocost.h:76:1: error: use of undeclared identifier 'trace_event_guard' @@ -18447,2 +20462,2 @@ -In file included from ../mm/slab_common.c:36: -In file included from ../include/trace/events/kmem.h:415: +In file included from ../block/blk-iocost.c:751: +In file included from ../include/trace/events/iocost.h:225: @@ -18451,2 +20466,2 @@ -../include/trace/events/kmem.h:94:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 94 | TRACE_EVENT(kfree, +../include/trace/events/iocost.h:142:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 142 | TRACE_EVENT(iocost_ioc_vrate_adj, @@ -18463,2 +20478,2 @@ -In file included from ../mm/slab_common.c:36: -In file included from ../include/trace/events/kmem.h:415: +In file included from ../block/blk-iocost.c:751: +In file included from ../include/trace/events/iocost.h:225: @@ -18467 +20482 @@ -../include/trace/events/kmem.h:94:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/iocost.h:142:1: error: use of undeclared identifier 'preempt_notrace' @@ -18477,2 +20492,2 @@ -In file included from ../mm/slab_common.c:36: -In file included from ../include/trace/events/kmem.h:415: +In file included from ../block/blk-iocost.c:751: +In file included from ../include/trace/events/iocost.h:225: @@ -18481 +20496 @@ -../include/trace/events/kmem.h:94:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/iocost.h:142:1: error: use of undeclared identifier 'trace_event_guard' @@ -18491,2 +20506,2 @@ -In file included from ../mm/slab_common.c:36: -In file included from ../include/trace/events/kmem.h:415: +In file included from ../block/blk-iocost.c:751: +In file included from ../include/trace/events/iocost.h:225: @@ -18495 +20510 @@ -../include/trace/events/kmem.h:94:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/iocost.h:142:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -18505,2 +20520,2 @@ -In file included from ../mm/slab_common.c:36: -In file included from ../include/trace/events/kmem.h:415: +In file included from ../block/blk-iocost.c:751: +In file included from ../include/trace/events/iocost.h:225: @@ -18509 +20524 @@ -../include/trace/events/kmem.h:94:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/iocost.h:142:1: error: use of undeclared identifier 'preempt_notrace' @@ -18519,2 +20534,2 @@ -In file included from ../mm/slab_common.c:36: -In file included from ../include/trace/events/kmem.h:415: +In file included from ../block/blk-iocost.c:751: +In file included from ../include/trace/events/iocost.h:225: @@ -18523 +20538 @@ -../include/trace/events/kmem.h:94:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/iocost.h:142:1: error: use of undeclared identifier 'trace_event_guard' @@ -18533,2 +20548,2 @@ -In file included from ../mm/slab_common.c:36: -In file included from ../include/trace/events/kmem.h:415: +In file included from ../block/blk-iocost.c:751: +In file included from ../include/trace/events/iocost.h:225: @@ -18537,2 +20552,2 @@ -../include/trace/events/kmem.h:114:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 114 | TRACE_EVENT(kmem_cache_free, +../include/trace/events/iocost.h:181:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 181 | TRACE_EVENT(iocost_iocg_forgive_debt, @@ -18551,5 +20566,3 @@ -make[4]: *** [../scripts/Makefile.build:244: mm/slab_common.o] Error 1 -make[5]: *** [../scripts/Makefile.build:485: drivers/block/null_blk] Error 2 -make[4]: *** [../scripts/Makefile.build:485: drivers/block] Error 2 -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: +make[4]: *** [../scripts/Makefile.build:244: block/blk-iocost.o] Error 1 +In file included from ../block/blk-wbt.c:35: +In file included from ../include/trace/events/wbt.h:158: @@ -18558,2 +20571,2 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:36:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 36 | TRACE_EVENT(brcmf_err, +../include/trace/events/wbt.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 15 | TRACE_EVENT(wbt_stat, @@ -18570,2 +20583,2 @@ -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: +In file included from ../block/blk-wbt.c:35: +In file included from ../include/trace/events/wbt.h:158: @@ -18574 +20587 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:36:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/wbt.h:15:1: error: use of undeclared identifier 'preempt_notrace' @@ -18584,2 +20597,2 @@ -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: +In file included from ../block/blk-wbt.c:35: +In file included from ../include/trace/events/wbt.h:158: @@ -18588 +20601 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:36:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/wbt.h:15:1: error: use of undeclared identifier 'trace_event_guard' @@ -18598,2 +20611,2 @@ -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: +In file included from ../block/blk-wbt.c:35: +In file included from ../include/trace/events/wbt.h:158: @@ -18602 +20615 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:36:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/wbt.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -18612,2 +20625,2 @@ -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: +In file included from ../block/blk-wbt.c:35: +In file included from ../include/trace/events/wbt.h:158: @@ -18616 +20629 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:36:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/wbt.h:15:1: error: use of undeclared identifier 'preempt_notrace' @@ -18626,2 +20639,2 @@ -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: +In file included from ../block/blk-wbt.c:35: +In file included from ../include/trace/events/wbt.h:158: @@ -18630 +20643 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:36:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/wbt.h:15:1: error: use of undeclared identifier 'trace_event_guard' @@ -18640,2 +20653,2 @@ -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: +In file included from ../block/blk-wbt.c:35: +In file included from ../include/trace/events/wbt.h:158: @@ -18644,2 +20657,2 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:50:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 50 | TRACE_EVENT(brcmf_dbg, +../include/trace/events/wbt.h:59:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 59 | TRACE_EVENT(wbt_lat, @@ -18656,2 +20669,2 @@ -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: +In file included from ../block/blk-wbt.c:35: +In file included from ../include/trace/events/wbt.h:158: @@ -18660 +20673 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:50:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/wbt.h:59:1: error: use of undeclared identifier 'preempt_notrace' @@ -18670,2 +20683,2 @@ -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: +In file included from ../block/blk-wbt.c:35: +In file included from ../include/trace/events/wbt.h:158: @@ -18674 +20687 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:50:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/wbt.h:59:1: error: use of undeclared identifier 'trace_event_guard' @@ -18684,2 +20697,2 @@ -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: +In file included from ../block/blk-wbt.c:35: +In file included from ../include/trace/events/wbt.h:158: @@ -18688 +20701 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:50:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/wbt.h:59:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -18698,2 +20711,2 @@ -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: +In file included from ../block/blk-wbt.c:35: +In file included from ../include/trace/events/wbt.h:158: @@ -18702 +20715 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:50:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/wbt.h:59:1: error: use of undeclared identifier 'preempt_notrace' @@ -18712,2 +20725,2 @@ -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: +In file included from ../block/blk-wbt.c:35: +In file included from ../include/trace/events/wbt.h:158: @@ -18716 +20729 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:50:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/wbt.h:59:1: error: use of undeclared identifier 'trace_event_guard' @@ -18726,2 +20739,2 @@ -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: +In file included from ../block/blk-wbt.c:35: +In file included from ../include/trace/events/wbt.h:158: @@ -18730,2 +20743,2 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:66:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 66 | TRACE_EVENT(brcmf_hexdump, +../include/trace/events/wbt.h:89:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 89 | TRACE_EVENT(wbt_step, @@ -18742,2 +20755,2 @@ -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: +In file included from ../block/blk-wbt.c:35: +In file included from ../include/trace/events/wbt.h:158: @@ -18746 +20759 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:66:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/wbt.h:89:1: error: use of undeclared identifier 'preempt_notrace' @@ -18756,2 +20769,2 @@ -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: +In file included from ../block/blk-wbt.c:35: +In file included from ../include/trace/events/wbt.h:158: @@ -18760 +20773 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:66:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/wbt.h:89:1: error: use of undeclared identifier 'trace_event_guard' @@ -18770,2 +20783,2 @@ -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: +In file included from ../block/blk-wbt.c:35: +In file included from ../include/trace/events/wbt.h:158: @@ -18774 +20787 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:66:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/wbt.h:89:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -18784,2 +20797,2 @@ -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: +In file included from ../block/blk-wbt.c:35: +In file included from ../include/trace/events/wbt.h:158: @@ -18788 +20801 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:66:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/wbt.h:89:1: error: use of undeclared identifier 'preempt_notrace' @@ -18798,2 +20811,2 @@ -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: +In file included from ../block/blk-wbt.c:35: +In file included from ../include/trace/events/wbt.h:158: @@ -18802 +20815 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:66:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/wbt.h:89:1: error: use of undeclared identifier 'trace_event_guard' @@ -18812,2 +20825,2 @@ -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: +In file included from ../block/blk-wbt.c:35: +In file included from ../include/trace/events/wbt.h:158: @@ -18816,2 +20829,2 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:82:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 82 | TRACE_EVENT(brcmf_bcdchdr, +../include/trace/events/wbt.h:129:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 129 | TRACE_EVENT(wbt_timer, @@ -18830,3 +20843,4 @@ -make[9]: *** [../scripts/Makefile.build:244: drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.o] Error 1 -In file included from ../kernel/workqueue.c:533: -In file included from ../include/trace/events/workqueue.h:132: +make[4]: *** [../scripts/Makefile.build:244: block/blk-wbt.o] Error 1 +make[3]: *** [../scripts/Makefile.build:485: block] Error 2 +In file included from ../kernel/printk/printk.c:56: +In file included from ../include/trace/events/printk.h:37: @@ -18835,2 +20849,2 @@ -../include/trace/events/workqueue.h:23:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 23 | TRACE_EVENT(workqueue_queue_work, +../include/trace/events/printk.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 10 | TRACE_EVENT(console, @@ -18847,2 +20861,2 @@ -In file included from ../kernel/workqueue.c:533: -In file included from ../include/trace/events/workqueue.h:132: +In file included from ../kernel/printk/printk.c:56: +In file included from ../include/trace/events/printk.h:37: @@ -18851 +20865 @@ -../include/trace/events/workqueue.h:23:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/printk.h:10:1: error: use of undeclared identifier 'preempt_notrace' @@ -18861,2 +20875,2 @@ -In file included from ../kernel/workqueue.c:533: -In file included from ../include/trace/events/workqueue.h:132: +In file included from ../kernel/printk/printk.c:56: +In file included from ../include/trace/events/printk.h:37: @@ -18865 +20879 @@ -../include/trace/events/workqueue.h:23:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/printk.h:10:1: error: use of undeclared identifier 'trace_event_guard' @@ -18875,2 +20889,2 @@ -In file included from ../kernel/workqueue.c:533: -In file included from ../include/trace/events/workqueue.h:132: +In file included from ../kernel/printk/printk.c:56: +In file included from ../include/trace/events/printk.h:37: @@ -18879 +20893 @@ -../include/trace/events/workqueue.h:23:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/printk.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -18889,2 +20903,2 @@ -In file included from ../kernel/workqueue.c:533: -In file included from ../include/trace/events/workqueue.h:132: +In file included from ../kernel/printk/printk.c:56: +In file included from ../include/trace/events/printk.h:37: @@ -18893 +20907 @@ -../include/trace/events/workqueue.h:23:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/printk.h:10:1: error: use of undeclared identifier 'preempt_notrace' @@ -18903,2 +20917,2 @@ -In file included from ../kernel/workqueue.c:533: -In file included from ../include/trace/events/workqueue.h:132: +In file included from ../kernel/printk/printk.c:56: +In file included from ../include/trace/events/printk.h:37: @@ -18907 +20921 @@ -../include/trace/events/workqueue.h:23:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/printk.h:10:1: error: use of undeclared identifier 'trace_event_guard' @@ -18917,6 +20931,6 @@ -In file included from ../kernel/workqueue.c:533: -In file included from ../include/trace/events/workqueue.h:132: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/workqueue.h:59:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 59 | TRACE_EVENT(workqueue_activate_work, +In file included from ../kernel/printk/printk.c:56: +In file included from ../include/trace/events/printk.h:37: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/printk.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 10 | TRACE_EVENT(console, @@ -18927,2 +20941,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -18930,2 +20944,2 @@ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -18933,5 +20947,5 @@ -In file included from ../kernel/workqueue.c:533: -In file included from ../include/trace/events/workqueue.h:132: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/workqueue.h:59:1: error: use of undeclared identifier 'preempt_notrace' +In file included from ../kernel/printk/printk.c:56: +In file included from ../include/trace/events/printk.h:37: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/printk.h:10:1: error: use of undeclared identifier 'preempt_notrace' @@ -18941,2 +20955,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -18944,2 +20958,2 @@ -../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -18947,5 +20961,5 @@ -In file included from ../kernel/workqueue.c:533: -In file included from ../include/trace/events/workqueue.h:132: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/workqueue.h:59:1: error: use of undeclared identifier 'trace_event_guard' +In file included from ../kernel/printk/printk.c:56: +In file included from ../include/trace/events/printk.h:37: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/printk.h:10:1: error: use of undeclared identifier 'trace_event_guard' @@ -18955,2 +20969,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -18958,2 +20972,2 @@ -../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -18961,5 +20975,5 @@ -In file included from ../kernel/workqueue.c:533: -In file included from ../include/trace/events/workqueue.h:132: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/workqueue.h:59:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +In file included from ../kernel/printk/printk.c:56: +In file included from ../include/trace/events/printk.h:37: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/printk.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -18969,2 +20983,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -18972,2 +20986,2 @@ -../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -18975,5 +20989,5 @@ -In file included from ../kernel/workqueue.c:533: -In file included from ../include/trace/events/workqueue.h:132: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/workqueue.h:59:1: error: use of undeclared identifier 'preempt_notrace' +In file included from ../kernel/printk/printk.c:56: +In file included from ../include/trace/events/printk.h:37: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/printk.h:10:1: error: use of undeclared identifier 'preempt_notrace' @@ -18983,2 +20997,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -18986,2 +21000,2 @@ -../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -18989,5 +21003,5 @@ -In file included from ../kernel/workqueue.c:533: -In file included from ../include/trace/events/workqueue.h:132: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/workqueue.h:59:1: error: use of undeclared identifier 'trace_event_guard' +In file included from ../kernel/printk/printk.c:56: +In file included from ../include/trace/events/printk.h:37: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/printk.h:10:1: error: use of undeclared identifier 'trace_event_guard' @@ -18997,2 +21011,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -19000,2 +21014,2 @@ -../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -19003,6 +21017,6 @@ -In file included from ../kernel/workqueue.c:533: -In file included from ../include/trace/events/workqueue.h:132: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/workqueue.h:84:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 84 | TRACE_EVENT(workqueue_execute_start, +In file included from ../kernel/printk/printk.c:56: +In file included from ../include/trace/events/printk.h:37: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/printk.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 10 | TRACE_EVENT(console, @@ -19013,2 +21027,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) @@ -19016,2 +21030,2 @@ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ @@ -19019,5 +21033,5 @@ -In file included from ../kernel/workqueue.c:533: -In file included from ../include/trace/events/workqueue.h:132: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/workqueue.h:84:1: error: use of undeclared identifier 'preempt_notrace' +In file included from ../kernel/printk/printk.c:56: +In file included from ../include/trace/events/printk.h:37: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/printk.h:10:1: error: use of undeclared identifier 'preempt_notrace' @@ -19027,2 +21041,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) @@ -19030,2 +21044,2 @@ -../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ @@ -19033,5 +21047,5 @@ -In file included from ../kernel/workqueue.c:533: -In file included from ../include/trace/events/workqueue.h:132: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/workqueue.h:84:1: error: use of undeclared identifier 'trace_event_guard' +In file included from ../kernel/printk/printk.c:56: +In file included from ../include/trace/events/printk.h:37: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/printk.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' @@ -19041,2 +21055,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) @@ -19044,2 +21058,2 @@ -../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ @@ -19047,5 +21061,5 @@ -In file included from ../kernel/workqueue.c:533: -In file included from ../include/trace/events/workqueue.h:132: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/workqueue.h:84:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +In file included from ../kernel/printk/printk.c:56: +In file included from ../include/trace/events/printk.h:37: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/printk.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -19055,2 +21069,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) @@ -19058,2 +21072,2 @@ -../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ @@ -19061,5 +21075,5 @@ -In file included from ../kernel/workqueue.c:533: -In file included from ../include/trace/events/workqueue.h:132: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/workqueue.h:84:1: error: use of undeclared identifier 'preempt_notrace' +In file included from ../kernel/printk/printk.c:56: +In file included from ../include/trace/events/printk.h:37: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/printk.h:10:1: error: use of undeclared identifier 'preempt_notrace' @@ -19069,2 +21083,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) @@ -19072,2 +21086,2 @@ -../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ @@ -19075,5 +21089,5 @@ -In file included from ../kernel/workqueue.c:533: -In file included from ../include/trace/events/workqueue.h:132: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/workqueue.h:84:1: error: use of undeclared identifier 'trace_event_guard' +In file included from ../kernel/printk/printk.c:56: +In file included from ../include/trace/events/printk.h:37: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/printk.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' @@ -19083,2 +21097,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) @@ -19086,2 +21100,2 @@ -../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ @@ -19089,24 +21103,4 @@ -In file included from ../kernel/workqueue.c:533: -In file included from ../include/trace/events/workqueue.h:132: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/workqueue.h:110:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 110 | TRACE_EVENT(workqueue_execute_end, - | ^ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ - | ^ -fatal error: too many errors emitted, stopping now [-ferror-limit=] -20 errors generated. -make[4]: *** [../scripts/Makefile.build:244: kernel/workqueue.o] Error 1 -make[8]: *** [../scripts/Makefile.build:485: drivers/net/wireless/broadcom/brcm80211/brcmfmac] Error 2 -make[8]: *** Waiting for unfinished jobs.... -make[3]: *** [../scripts/Makefile.build:485: kernel] Error 2 -In file included from ../arch/x86/kvm/x86.c:90: -In file included from ../arch/x86/kvm/trace.h:1882: +18 errors generated. +make[5]: *** [../scripts/Makefile.build:244: kernel/printk/printk.o] Error 1 +In file included from ../kernel/locking/mutex.c:34: +In file included from ../include/trace/events/lock.h:144: @@ -19115,2 +21109,2 @@ -../arch/x86/kvm/trace.h:17:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 17 | TRACE_EVENT(kvm_entry, +../include/trace/events/lock.h:24:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 24 | TRACE_EVENT(lock_acquire, @@ -19127,2 +21121,2 @@ -In file included from ../arch/x86/kvm/x86.c:90: -In file included from ../arch/x86/kvm/trace.h:1882: +In file included from ../kernel/locking/mutex.c:34: +In file included from ../include/trace/events/lock.h:144: @@ -19131 +21125 @@ -../arch/x86/kvm/trace.h:17:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/lock.h:24:1: error: use of undeclared identifier 'preempt_notrace' @@ -19141,2 +21135,2 @@ -In file included from ../arch/x86/kvm/x86.c:90: -In file included from ../arch/x86/kvm/trace.h:1882: +In file included from ../kernel/locking/mutex.c:34: +In file included from ../include/trace/events/lock.h:144: @@ -19145 +21139 @@ -../arch/x86/kvm/trace.h:17:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/lock.h:24:1: error: use of undeclared identifier 'trace_event_guard' @@ -19155,2 +21149,2 @@ -In file included from ../arch/x86/kvm/x86.c:90: -In file included from ../arch/x86/kvm/trace.h:1882: +In file included from ../kernel/locking/mutex.c:34: +In file included from ../include/trace/events/lock.h:144: @@ -19159 +21153 @@ -../arch/x86/kvm/trace.h:17:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/lock.h:24:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -19169,2 +21163,2 @@ -In file included from ../arch/x86/kvm/x86.c:90: -In file included from ../arch/x86/kvm/trace.h:1882: +In file included from ../kernel/locking/mutex.c:34: +In file included from ../include/trace/events/lock.h:144: @@ -19173 +21167 @@ -../arch/x86/kvm/trace.h:17:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/lock.h:24:1: error: use of undeclared identifier 'preempt_notrace' @@ -19183,2 +21177,2 @@ -In file included from ../arch/x86/kvm/x86.c:90: -In file included from ../arch/x86/kvm/trace.h:1882: +In file included from ../kernel/locking/mutex.c:34: +In file included from ../include/trace/events/lock.h:144: @@ -19187 +21181 @@ -../arch/x86/kvm/trace.h:17:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/lock.h:24:1: error: use of undeclared identifier 'trace_event_guard' @@ -19197,2 +21191,2 @@ -In file included from ../arch/x86/kvm/x86.c:90: -In file included from ../arch/x86/kvm/trace.h:1882: +In file included from ../kernel/locking/mutex.c:34: +In file included from ../include/trace/events/lock.h:144: @@ -19201,2 +21195,2 @@ -../arch/x86/kvm/trace.h:40:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 40 | TRACE_EVENT(kvm_hypercall, +../include/trace/events/lock.h:50:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 50 | DECLARE_EVENT_CLASS(lock, @@ -19204,3 +21197,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -19213,2 +21204,2 @@ -In file included from ../arch/x86/kvm/x86.c:90: -In file included from ../arch/x86/kvm/trace.h:1882: +In file included from ../kernel/locking/mutex.c:34: +In file included from ../include/trace/events/lock.h:144: @@ -19217,4 +21208 @@ -../arch/x86/kvm/trace.h:40:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/lock.h:50:1: error: use of undeclared identifier 'preempt_notrace' @@ -19227,2 +21215,2 @@ -In file included from ../arch/x86/kvm/x86.c:90: -In file included from ../arch/x86/kvm/trace.h:1882: +In file included from ../kernel/locking/mutex.c:34: +In file included from ../include/trace/events/lock.h:144: @@ -19231,4 +21219 @@ -../arch/x86/kvm/trace.h:40:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/lock.h:50:1: error: use of undeclared identifier 'trace_event_guard' @@ -19241,2 +21226,2 @@ -In file included from ../arch/x86/kvm/x86.c:90: -In file included from ../arch/x86/kvm/trace.h:1882: +In file included from ../kernel/locking/mutex.c:34: +In file included from ../include/trace/events/lock.h:144: @@ -19245,4 +21230 @@ -../arch/x86/kvm/trace.h:40:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/lock.h:50:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -19255,2 +21237,2 @@ -In file included from ../arch/x86/kvm/x86.c:90: -In file included from ../arch/x86/kvm/trace.h:1882: +In file included from ../kernel/locking/mutex.c:34: +In file included from ../include/trace/events/lock.h:144: @@ -19259,4 +21241 @@ -../arch/x86/kvm/trace.h:40:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/lock.h:50:1: error: use of undeclared identifier 'preempt_notrace' @@ -19269,2 +21248,2 @@ -In file included from ../arch/x86/kvm/x86.c:90: -In file included from ../arch/x86/kvm/trace.h:1882: +In file included from ../kernel/locking/mutex.c:34: +In file included from ../include/trace/events/lock.h:144: @@ -19273,4 +21252 @@ -../arch/x86/kvm/trace.h:40:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/lock.h:50:1: error: use of undeclared identifier 'trace_event_guard' @@ -19283,2 +21259,2 @@ -In file included from ../arch/x86/kvm/x86.c:90: -In file included from ../arch/x86/kvm/trace.h:1882: +In file included from ../kernel/locking/mutex.c:34: +In file included from ../include/trace/events/lock.h:144: @@ -19287,2 +21263,2 @@ -../arch/x86/kvm/trace.h:69:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 69 | TRACE_EVENT(kvm_hv_hypercall, +../include/trace/events/lock.h:95:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 95 | TRACE_EVENT(contention_begin, @@ -19299,2 +21275,2 @@ -In file included from ../arch/x86/kvm/x86.c:90: -In file included from ../arch/x86/kvm/trace.h:1882: +In file included from ../kernel/locking/mutex.c:34: +In file included from ../include/trace/events/lock.h:144: @@ -19303 +21279 @@ -../arch/x86/kvm/trace.h:69:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/lock.h:95:1: error: use of undeclared identifier 'preempt_notrace' @@ -19313,2 +21289,2 @@ -In file included from ../arch/x86/kvm/x86.c:90: -In file included from ../arch/x86/kvm/trace.h:1882: +In file included from ../kernel/locking/mutex.c:34: +In file included from ../include/trace/events/lock.h:144: @@ -19317 +21293 @@ -../arch/x86/kvm/trace.h:69:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/lock.h:95:1: error: use of undeclared identifier 'trace_event_guard' @@ -19327,2 +21303,2 @@ -In file included from ../arch/x86/kvm/x86.c:90: -In file included from ../arch/x86/kvm/trace.h:1882: +In file included from ../kernel/locking/mutex.c:34: +In file included from ../include/trace/events/lock.h:144: @@ -19331 +21307 @@ -../arch/x86/kvm/trace.h:69:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/lock.h:95:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -19341,2 +21317,2 @@ -In file included from ../arch/x86/kvm/x86.c:90: -In file included from ../arch/x86/kvm/trace.h:1882: +In file included from ../kernel/locking/mutex.c:34: +In file included from ../include/trace/events/lock.h:144: @@ -19345 +21321 @@ -../arch/x86/kvm/trace.h:69:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/lock.h:95:1: error: use of undeclared identifier 'preempt_notrace' @@ -19355,2 +21331,2 @@ -In file included from ../arch/x86/kvm/x86.c:90: -In file included from ../arch/x86/kvm/trace.h:1882: +In file included from ../kernel/locking/mutex.c:34: +In file included from ../include/trace/events/lock.h:144: @@ -19359 +21335 @@ -../arch/x86/kvm/trace.h:69:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/lock.h:95:1: error: use of undeclared identifier 'trace_event_guard' @@ -19369,2 +21345,2 @@ -In file included from ../arch/x86/kvm/x86.c:90: -In file included from ../arch/x86/kvm/trace.h:1882: +In file included from ../kernel/locking/mutex.c:34: +In file included from ../include/trace/events/lock.h:144: @@ -19373,2 +21349,2 @@ -../arch/x86/kvm/trace.h:100:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 100 | TRACE_EVENT(kvm_hv_hypercall_done, +../include/trace/events/lock.h:122:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 122 | TRACE_EVENT(contention_end, @@ -19387,3 +21363,5 @@ -make[5]: *** [../scripts/Makefile.build:244: arch/x86/kvm/x86.o] Error 1 -In file included from ../mm/compaction.c:64: -In file included from ../include/trace/events/compaction.h:356: +make[5]: *** [../scripts/Makefile.build:244: kernel/locking/mutex.o] Error 1 +make[4]: *** [../scripts/Makefile.build:485: kernel/printk] Error 2 +make[4]: *** [../scripts/Makefile.build:485: kernel/locking] Error 2 +In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: +In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: @@ -19392,2 +21370,2 @@ -../include/trace/events/compaction.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 14 | DECLARE_EVENT_CLASS(mm_compaction_isolate_template, +../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 15 | DECLARE_EVENT_CLASS(mv88e6xxx_atu_violation, @@ -19401,2 +21379,2 @@ -In file included from ../mm/compaction.c:64: -In file included from ../include/trace/events/compaction.h:356: +In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: +In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: @@ -19405 +21383 @@ -../include/trace/events/compaction.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' @@ -19412,2 +21390,2 @@ -In file included from ../mm/compaction.c:64: -In file included from ../include/trace/events/compaction.h:356: +In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: +In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: @@ -19416 +21394 @@ -../include/trace/events/compaction.h:14:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' @@ -19423,2 +21401,2 @@ -In file included from ../mm/compaction.c:64: -In file included from ../include/trace/events/compaction.h:356: +In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: +In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: @@ -19427 +21405 @@ -../include/trace/events/compaction.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -19434,2 +21412,2 @@ -In file included from ../mm/compaction.c:64: -In file included from ../include/trace/events/compaction.h:356: +In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: +In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: @@ -19438 +21416 @@ -../include/trace/events/compaction.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' @@ -19445,2 +21423,2 @@ -In file included from ../mm/compaction.c:64: -In file included from ../include/trace/events/compaction.h:356: +In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: +In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: @@ -19449 +21427 @@ -../include/trace/events/compaction.h:14:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' @@ -19456,2 +21434,2 @@ -In file included from ../mm/compaction.c:64: -In file included from ../include/trace/events/compaction.h:356: +In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: +In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: @@ -19460,2 +21438,2 @@ -../include/trace/events/compaction.h:79:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 79 | TRACE_EVENT(mm_compaction_migratepages, +../drivers/net/dsa/mv88e6xxx/trace.h:58:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 58 | DECLARE_EVENT_CLASS(mv88e6xxx_vtu_violation, @@ -19463,3 +21440,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -19472,2 +21447,2 @@ -In file included from ../mm/compaction.c:64: -In file included from ../include/trace/events/compaction.h:356: +In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: +In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: @@ -19476,4 +21451 @@ -../include/trace/events/compaction.h:79:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/dsa/mv88e6xxx/trace.h:58:1: error: use of undeclared identifier 'preempt_notrace' @@ -19486,2 +21458,2 @@ -In file included from ../mm/compaction.c:64: -In file included from ../include/trace/events/compaction.h:356: +In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: +In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: @@ -19490,4 +21462 @@ -../include/trace/events/compaction.h:79:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/dsa/mv88e6xxx/trace.h:58:1: error: use of undeclared identifier 'trace_event_guard' @@ -19500,2 +21469,2 @@ -In file included from ../mm/compaction.c:64: -In file included from ../include/trace/events/compaction.h:356: +In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: +In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: @@ -19504,4 +21473 @@ -../include/trace/events/compaction.h:79:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/dsa/mv88e6xxx/trace.h:58:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -19514,2 +21480,2 @@ -In file included from ../mm/compaction.c:64: -In file included from ../include/trace/events/compaction.h:356: +In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: +In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: @@ -19518,4 +21484 @@ -../include/trace/events/compaction.h:79:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/dsa/mv88e6xxx/trace.h:58:1: error: use of undeclared identifier 'preempt_notrace' @@ -19528,2 +21491,2 @@ -In file included from ../mm/compaction.c:64: -In file included from ../include/trace/events/compaction.h:356: +In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: +In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: @@ -19532,4 +21495 @@ -../include/trace/events/compaction.h:79:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/dsa/mv88e6xxx/trace.h:58:1: error: use of undeclared identifier 'trace_event_guard' @@ -19542,6 +21502,6 @@ -In file included from ../mm/compaction.c:64: -In file included from ../include/trace/events/compaction.h:356: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/compaction.h:101:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 101 | TRACE_EVENT(mm_compaction_begin, +In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: +In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 15 | DECLARE_EVENT_CLASS(mv88e6xxx_atu_violation, @@ -19549,2 +21509,2 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -19552,2 +21512,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -19555,2 +21515,7 @@ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: +In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -19558,7 +21523,10 @@ -In file included from ../mm/compaction.c:64: -In file included from ../include/trace/events/compaction.h:356: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/compaction.h:101:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ +../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: +In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -19566,19 +21534,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ - | ^ -In file included from ../mm/compaction.c:64: -In file included from ../include/trace/events/compaction.h:356: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/compaction.h:101:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -19586,10 +21537,7 @@ -In file included from ../mm/compaction.c:64: -In file included from ../include/trace/events/compaction.h:356: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/compaction.h:101:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: +In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -19597,2 +21545,2 @@ -../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -19600,10 +21548,7 @@ -In file included from ../mm/compaction.c:64: -In file included from ../include/trace/events/compaction.h:356: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/compaction.h:101:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: +In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -19611,2 +21556,2 @@ -../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -19614,10 +21559,7 @@ -In file included from ../mm/compaction.c:64: -In file included from ../include/trace/events/compaction.h:356: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/compaction.h:101:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: +In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -19625,2 +21567,2 @@ -../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -19628,6 +21570,6 @@ -In file included from ../mm/compaction.c:64: -In file included from ../include/trace/events/compaction.h:356: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/compaction.h:131:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 131 | TRACE_EVENT(mm_compaction_end, +In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: +In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/dsa/mv88e6xxx/trace.h:58:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 58 | DECLARE_EVENT_CLASS(mv88e6xxx_vtu_violation, @@ -19635,5 +21577,2 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -19641,2 +21580,2 @@ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -19646,5 +21585,5 @@ -make[4]: *** [../scripts/Makefile.build:244: mm/compaction.o] Error 1 -make[3]: *** [../scripts/Makefile.build:485: mm] Error 2 -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: +make[7]: *** [../scripts/Makefile.build:244: drivers/net/dsa/mv88e6xxx/trace.o] Error 1 +make[6]: *** [../scripts/Makefile.build:485: drivers/net/dsa/mv88e6xxx] Error 2 +make[5]: *** [../scripts/Makefile.build:485: drivers/net/dsa] Error 2 +In file included from ../fs/dax.c:31: +In file included from ../include/trace/events/fs_dax.h:286: @@ -19653,2 +21592,2 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:29:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 29 | TRACE_EVENT(brcms_timer, +../include/trace/events/fs_dax.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 10 | DECLARE_EVENT_CLASS(dax_pmd_fault_class, @@ -19656,3 +21594,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -19665,3 +21601,2 @@ -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: +In file included from ../fs/dax.c:31: +In file included from ../include/trace/events/fs_dax.h:286: @@ -19670,4 +21605 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:29:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/fs_dax.h:10:1: error: use of undeclared identifier 'preempt_notrace' @@ -19680,3 +21612,2 @@ -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: +In file included from ../fs/dax.c:31: +In file included from ../include/trace/events/fs_dax.h:286: @@ -19685,4 +21616 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:29:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/fs_dax.h:10:1: error: use of undeclared identifier 'trace_event_guard' @@ -19695,3 +21623,2 @@ -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: +In file included from ../fs/dax.c:31: +In file included from ../include/trace/events/fs_dax.h:286: @@ -19700,4 +21627 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:29:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/fs_dax.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -19710,3 +21634,2 @@ -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: +In file included from ../fs/dax.c:31: +In file included from ../include/trace/events/fs_dax.h:286: @@ -19715,4 +21638 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:29:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/fs_dax.h:10:1: error: use of undeclared identifier 'preempt_notrace' @@ -19725,3 +21645,2 @@ -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: +In file included from ../fs/dax.c:31: +In file included from ../include/trace/events/fs_dax.h:286: @@ -19730,4 +21649 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:29:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/fs_dax.h:10:1: error: use of undeclared identifier 'trace_event_guard' @@ -19740,3 +21656,2 @@ -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: +In file included from ../fs/dax.c:31: +In file included from ../include/trace/events/fs_dax.h:286: @@ -19745,2 +21660,2 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:58:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 58 | TRACE_EVENT(brcms_dpc, +../include/trace/events/fs_dax.h:63:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 63 | DECLARE_EVENT_CLASS(dax_pmd_load_hole_class, @@ -19748,3 +21662,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -19757,3 +21669,2 @@ -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: +In file included from ../fs/dax.c:31: +In file included from ../include/trace/events/fs_dax.h:286: @@ -19762,4 +21673 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:58:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/fs_dax.h:63:1: error: use of undeclared identifier 'preempt_notrace' @@ -19772,3 +21680,2 @@ -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: +In file included from ../fs/dax.c:31: +In file included from ../include/trace/events/fs_dax.h:286: @@ -19777,4 +21684 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:58:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/fs_dax.h:63:1: error: use of undeclared identifier 'trace_event_guard' @@ -19787,3 +21691,2 @@ -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: +In file included from ../fs/dax.c:31: +In file included from ../include/trace/events/fs_dax.h:286: @@ -19792,4 +21695 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:58:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/fs_dax.h:63:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -19802,3 +21702,2 @@ -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: +In file included from ../fs/dax.c:31: +In file included from ../include/trace/events/fs_dax.h:286: @@ -19807,4 +21706 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:58:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/fs_dax.h:63:1: error: use of undeclared identifier 'preempt_notrace' @@ -19817,3 +21713,2 @@ -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: +In file included from ../fs/dax.c:31: +In file included from ../include/trace/events/fs_dax.h:286: @@ -19822,4 +21717 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:58:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/fs_dax.h:63:1: error: use of undeclared identifier 'trace_event_guard' @@ -19832,3 +21724,2 @@ -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: +In file included from ../fs/dax.c:31: +In file included from ../include/trace/events/fs_dax.h:286: @@ -19837,2 +21728,2 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:73:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 73 | TRACE_EVENT(brcms_macintstatus, +../include/trace/events/fs_dax.h:105:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 105 | DECLARE_EVENT_CLASS(dax_pmd_insert_mapping_class, @@ -19840,3 +21730,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -19849,3 +21737,2 @@ -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: +In file included from ../fs/dax.c:31: +In file included from ../include/trace/events/fs_dax.h:286: @@ -19854,4 +21741 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:73:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/fs_dax.h:105:1: error: use of undeclared identifier 'preempt_notrace' @@ -19864,3 +21748,2 @@ -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: +In file included from ../fs/dax.c:31: +In file included from ../include/trace/events/fs_dax.h:286: @@ -19869,4 +21752 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:73:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/fs_dax.h:105:1: error: use of undeclared identifier 'trace_event_guard' @@ -19879,3 +21759,2 @@ -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: +In file included from ../fs/dax.c:31: +In file included from ../include/trace/events/fs_dax.h:286: @@ -19884,4 +21763 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:73:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/fs_dax.h:105:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -19894,3 +21770,2 @@ -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: +In file included from ../fs/dax.c:31: +In file included from ../include/trace/events/fs_dax.h:286: @@ -19899,4 +21774 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:73:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/fs_dax.h:105:1: error: use of undeclared identifier 'preempt_notrace' @@ -19909,3 +21781,2 @@ -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: +In file included from ../fs/dax.c:31: +In file included from ../include/trace/events/fs_dax.h:286: @@ -19914,4 +21785 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:73:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/fs_dax.h:105:1: error: use of undeclared identifier 'trace_event_guard' @@ -19924,7 +21792,6 @@ -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:29:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 29 | TRACE_EVENT(brcms_timer, +In file included from ../fs/dax.c:31: +In file included from ../include/trace/events/fs_dax.h:286: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/fs_dax.h:153:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 153 | DECLARE_EVENT_CLASS(dax_pte_fault_class, @@ -19932,5 +21799,2 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -19938,2 +21802,2 @@ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -19943,7 +21807,4 @@ -make[9]: *** [../scripts/Makefile.build:244: drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.o] Error 1 -make[8]: *** [../scripts/Makefile.build:485: drivers/net/wireless/broadcom/brcm80211/brcmsmac] Error 2 -make[7]: *** [../scripts/Makefile.build:485: drivers/net/wireless/broadcom/brcm80211] Error 2 -make[6]: *** [../scripts/Makefile.build:485: drivers/net/wireless/broadcom] Error 2 -make[6]: *** Waiting for unfinished jobs.... -In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: -In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: +make[4]: *** [../scripts/Makefile.build:244: fs/dax.o] Error 1 +make[3]: *** [../scripts/Makefile.build:485: fs] Error 2 +In file included from ../arch/x86/kvm/mmu/mmu.c:193: +In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: @@ -19952,2 +21813,2 @@ -../drivers/net/wireless/ath/ath5k/trace.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 21 | TRACE_EVENT(ath5k_rx, +../arch/x86/kvm/mmu/mmutrace.h:67:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 67 | TRACE_EVENT( @@ -19964,2 +21825,2 @@ -In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: -In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: +In file included from ../arch/x86/kvm/mmu/mmu.c:193: +In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: @@ -19968 +21829 @@ -../drivers/net/wireless/ath/ath5k/trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' +../arch/x86/kvm/mmu/mmutrace.h:67:1: error: use of undeclared identifier 'preempt_notrace' @@ -19978,2 +21839,2 @@ -In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: -In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: +In file included from ../arch/x86/kvm/mmu/mmu.c:193: +In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: @@ -19982 +21843 @@ -../drivers/net/wireless/ath/ath5k/trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' +../arch/x86/kvm/mmu/mmutrace.h:67:1: error: use of undeclared identifier 'trace_event_guard' @@ -19992,2 +21853,2 @@ -In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: -In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: +In file included from ../arch/x86/kvm/mmu/mmu.c:193: +In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: @@ -19996 +21857 @@ -../drivers/net/wireless/ath/ath5k/trace.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../arch/x86/kvm/mmu/mmutrace.h:67:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -20006,2 +21867,2 @@ -In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: -In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: +In file included from ../arch/x86/kvm/mmu/mmu.c:193: +In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: @@ -20010 +21871 @@ -../drivers/net/wireless/ath/ath5k/trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' +../arch/x86/kvm/mmu/mmutrace.h:67:1: error: use of undeclared identifier 'preempt_notrace' @@ -20020,2 +21881,2 @@ -In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: -In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: +In file included from ../arch/x86/kvm/mmu/mmu.c:193: +In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: @@ -20024 +21885 @@ -../drivers/net/wireless/ath/ath5k/trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' +../arch/x86/kvm/mmu/mmutrace.h:67:1: error: use of undeclared identifier 'trace_event_guard' @@ -20034,2 +21895,2 @@ -In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: -In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: +In file included from ../arch/x86/kvm/mmu/mmu.c:193: +In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: @@ -20038,2 +21899,2 @@ -../drivers/net/wireless/ath/ath5k/trace.h:39:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 39 | TRACE_EVENT(ath5k_tx, +../arch/x86/kvm/mmu/mmutrace.h:88:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 88 | TRACE_EVENT( @@ -20050,2 +21911,2 @@ -In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: -In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: +In file included from ../arch/x86/kvm/mmu/mmu.c:193: +In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: @@ -20054 +21915 @@ -../drivers/net/wireless/ath/ath5k/trace.h:39:1: error: use of undeclared identifier 'preempt_notrace' +../arch/x86/kvm/mmu/mmutrace.h:88:1: error: use of undeclared identifier 'preempt_notrace' @@ -20064,2 +21925,2 @@ -In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: -In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: +In file included from ../arch/x86/kvm/mmu/mmu.c:193: +In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: @@ -20068 +21929 @@ -../drivers/net/wireless/ath/ath5k/trace.h:39:1: error: use of undeclared identifier 'trace_event_guard' +../arch/x86/kvm/mmu/mmutrace.h:88:1: error: use of undeclared identifier 'trace_event_guard' @@ -20078,2 +21939,2 @@ -In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: -In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: +In file included from ../arch/x86/kvm/mmu/mmu.c:193: +In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: @@ -20082 +21943 @@ -../drivers/net/wireless/ath/ath5k/trace.h:39:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../arch/x86/kvm/mmu/mmutrace.h:88:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -20092,2 +21953,2 @@ -In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: -In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: +In file included from ../arch/x86/kvm/mmu/mmu.c:193: +In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: @@ -20096 +21957 @@ -../drivers/net/wireless/ath/ath5k/trace.h:39:1: error: use of undeclared identifier 'preempt_notrace' +../arch/x86/kvm/mmu/mmutrace.h:88:1: error: use of undeclared identifier 'preempt_notrace' @@ -20106,2 +21967,2 @@ -In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: -In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: +In file included from ../arch/x86/kvm/mmu/mmu.c:193: +In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: @@ -20110 +21971 @@ -../drivers/net/wireless/ath/ath5k/trace.h:39:1: error: use of undeclared identifier 'trace_event_guard' +../arch/x86/kvm/mmu/mmutrace.h:88:1: error: use of undeclared identifier 'trace_event_guard' @@ -20120,2 +21981,2 @@ -In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: -In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: +In file included from ../arch/x86/kvm/mmu/mmu.c:193: +In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: @@ -20124,2 +21985,2 @@ -../drivers/net/wireless/ath/ath5k/trace.h:65:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 65 | TRACE_EVENT(ath5k_tx_complete, +../arch/x86/kvm/mmu/mmutrace.h:106:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 106 | DECLARE_EVENT_CLASS(kvm_mmu_set_bit_class, @@ -20127,3 +21987,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -20136,2 +21994,2 @@ -In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: -In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: +In file included from ../arch/x86/kvm/mmu/mmu.c:193: +In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: @@ -20140,4 +21998 @@ -../drivers/net/wireless/ath/ath5k/trace.h:65:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../arch/x86/kvm/mmu/mmutrace.h:106:1: error: use of undeclared identifier 'preempt_notrace' @@ -20150,2 +22005,2 @@ -In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: -In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: +In file included from ../arch/x86/kvm/mmu/mmu.c:193: +In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: @@ -20154,4 +22009 @@ -../drivers/net/wireless/ath/ath5k/trace.h:65:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../arch/x86/kvm/mmu/mmutrace.h:106:1: error: use of undeclared identifier 'trace_event_guard' @@ -20164,2 +22016,2 @@ -In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: -In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: +In file included from ../arch/x86/kvm/mmu/mmu.c:193: +In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: @@ -20168,4 +22020 @@ -../drivers/net/wireless/ath/ath5k/trace.h:65:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../arch/x86/kvm/mmu/mmutrace.h:106:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -20178,2 +22027,2 @@ -In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: -In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: +In file included from ../arch/x86/kvm/mmu/mmu.c:193: +In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: @@ -20182,4 +22031 @@ -../drivers/net/wireless/ath/ath5k/trace.h:65:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../arch/x86/kvm/mmu/mmutrace.h:106:1: error: use of undeclared identifier 'preempt_notrace' @@ -20192,2 +22038,2 @@ -In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: -In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: +In file included from ../arch/x86/kvm/mmu/mmu.c:193: +In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: @@ -20196,4 +22042 @@ -../drivers/net/wireless/ath/ath5k/trace.h:65:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../arch/x86/kvm/mmu/mmutrace.h:106:1: error: use of undeclared identifier 'trace_event_guard' @@ -20206,6 +22049,6 @@ -In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: -In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/wireless/ath/ath5k/trace.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 21 | TRACE_EVENT(ath5k_rx, +In file included from ../arch/x86/kvm/mmu/mmu.c:193: +In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../arch/x86/kvm/mmu/mmutrace.h:140:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 140 | TRACE_EVENT( @@ -20216,2 +22059,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -20219,2 +22062,2 @@ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -20224,4 +22067,5 @@ -make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/ath/ath5k/base.o] Error 1 -make[7]: *** [../scripts/Makefile.build:485: drivers/net/wireless/ath/ath5k] Error 2 -In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: -In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: +make[5]: *** [../scripts/Makefile.build:244: arch/x86/kvm/mmu/mmu.o] Error 1 +make[4]: *** [../scripts/Makefile.build:485: arch/x86/kvm] Error 2 +make[3]: *** [../scripts/Makefile.build:485: arch/x86] Error 2 +In file included from ../kernel/irq/matrix.c:38: +In file included from ../include/trace/events/irq_matrix.h:201: @@ -20230,2 +22074,2 @@ -../drivers/net/wireless/ath/wil6210/trace.h:29:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 29 | DECLARE_EVENT_CLASS(wil6210_wmi, +../include/trace/events/irq_matrix.h:12:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 12 | DECLARE_EVENT_CLASS(irq_matrix_global, @@ -20239,2 +22083,2 @@ -In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: -In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: +In file included from ../kernel/irq/matrix.c:38: +In file included from ../include/trace/events/irq_matrix.h:201: @@ -20243 +22087 @@ -../drivers/net/wireless/ath/wil6210/trace.h:29:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/irq_matrix.h:12:1: error: use of undeclared identifier 'preempt_notrace' @@ -20250,2 +22094,2 @@ -In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: -In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: +In file included from ../kernel/irq/matrix.c:38: +In file included from ../include/trace/events/irq_matrix.h:201: @@ -20254 +22098 @@ -../drivers/net/wireless/ath/wil6210/trace.h:29:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/irq_matrix.h:12:1: error: use of undeclared identifier 'trace_event_guard' @@ -20261,2 +22105,2 @@ -In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: -In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: +In file included from ../kernel/irq/matrix.c:38: +In file included from ../include/trace/events/irq_matrix.h:201: @@ -20265 +22109 @@ -../drivers/net/wireless/ath/wil6210/trace.h:29:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/irq_matrix.h:12:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -20272,2 +22116,2 @@ -In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: -In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: +In file included from ../kernel/irq/matrix.c:38: +In file included from ../include/trace/events/irq_matrix.h:201: @@ -20276 +22120 @@ -../drivers/net/wireless/ath/wil6210/trace.h:29:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/irq_matrix.h:12:1: error: use of undeclared identifier 'preempt_notrace' @@ -20283,2 +22127,2 @@ -In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: -In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: +In file included from ../kernel/irq/matrix.c:38: +In file included from ../include/trace/events/irq_matrix.h:201: @@ -20287 +22131 @@ -../drivers/net/wireless/ath/wil6210/trace.h:29:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/irq_matrix.h:12:1: error: use of undeclared identifier 'trace_event_guard' @@ -20294,2 +22138,2 @@ -In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: -In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: +In file included from ../kernel/irq/matrix.c:38: +In file included from ../include/trace/events/irq_matrix.h:201: @@ -20298,2 +22142,2 @@ -../drivers/net/wireless/ath/wil6210/trace.h:69:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 69 | DECLARE_EVENT_CLASS(wil6210_log_event, +../include/trace/events/irq_matrix.h:37:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 37 | DECLARE_EVENT_CLASS(irq_matrix_global_update, @@ -20307,2 +22151,2 @@ -In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: -In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: +In file included from ../kernel/irq/matrix.c:38: +In file included from ../include/trace/events/irq_matrix.h:201: @@ -20311 +22155 @@ -../drivers/net/wireless/ath/wil6210/trace.h:69:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/irq_matrix.h:37:1: error: use of undeclared identifier 'preempt_notrace' @@ -20318,2 +22162,2 @@ -In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: -In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: +In file included from ../kernel/irq/matrix.c:38: +In file included from ../include/trace/events/irq_matrix.h:201: @@ -20322 +22166 @@ -../drivers/net/wireless/ath/wil6210/trace.h:69:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/irq_matrix.h:37:1: error: use of undeclared identifier 'trace_event_guard' @@ -20329,2 +22173,2 @@ -In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: -In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: +In file included from ../kernel/irq/matrix.c:38: +In file included from ../include/trace/events/irq_matrix.h:201: @@ -20333 +22177 @@ -../drivers/net/wireless/ath/wil6210/trace.h:69:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/irq_matrix.h:37:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -20340,2 +22184,2 @@ -In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: -In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: +In file included from ../kernel/irq/matrix.c:38: +In file included from ../include/trace/events/irq_matrix.h:201: @@ -20344 +22188 @@ -../drivers/net/wireless/ath/wil6210/trace.h:69:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/irq_matrix.h:37:1: error: use of undeclared identifier 'preempt_notrace' @@ -20351,2 +22195,2 @@ -In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: -In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: +In file included from ../kernel/irq/matrix.c:38: +In file included from ../include/trace/events/irq_matrix.h:201: @@ -20355 +22199 @@ -../drivers/net/wireless/ath/wil6210/trace.h:69:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/irq_matrix.h:37:1: error: use of undeclared identifier 'trace_event_guard' @@ -20362,2 +22206,2 @@ -In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: -In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: +In file included from ../kernel/irq/matrix.c:38: +In file included from ../include/trace/events/irq_matrix.h:201: @@ -20366,2 +22210,2 @@ -../drivers/net/wireless/ath/wil6210/trace.h:101:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 101 | TRACE_EVENT(wil6210_irq_pseudo, +../include/trace/events/irq_matrix.h:65:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 65 | DECLARE_EVENT_CLASS(irq_matrix_cpu, @@ -20369,3 +22212,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -20378,2 +22219,2 @@ -In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: -In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: +In file included from ../kernel/irq/matrix.c:38: +In file included from ../include/trace/events/irq_matrix.h:201: @@ -20382,4 +22223 @@ -../drivers/net/wireless/ath/wil6210/trace.h:101:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/irq_matrix.h:65:1: error: use of undeclared identifier 'preempt_notrace' @@ -20392,2 +22230,2 @@ -In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: -In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: +In file included from ../kernel/irq/matrix.c:38: +In file included from ../include/trace/events/irq_matrix.h:201: @@ -20396,4 +22234 @@ -../drivers/net/wireless/ath/wil6210/trace.h:101:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/irq_matrix.h:65:1: error: use of undeclared identifier 'trace_event_guard' @@ -20406,2 +22241,2 @@ -In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: -In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: +In file included from ../kernel/irq/matrix.c:38: +In file included from ../include/trace/events/irq_matrix.h:201: @@ -20410,4 +22245 @@ -../drivers/net/wireless/ath/wil6210/trace.h:101:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/irq_matrix.h:65:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -20420,2 +22252,2 @@ -In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: -In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: +In file included from ../kernel/irq/matrix.c:38: +In file included from ../include/trace/events/irq_matrix.h:201: @@ -20424,4 +22256 @@ -../drivers/net/wireless/ath/wil6210/trace.h:101:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/irq_matrix.h:65:1: error: use of undeclared identifier 'preempt_notrace' @@ -20434,2 +22263,2 @@ -In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: -In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: +In file included from ../kernel/irq/matrix.c:38: +In file included from ../include/trace/events/irq_matrix.h:201: @@ -20438,4 +22267 @@ -../drivers/net/wireless/ath/wil6210/trace.h:101:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/irq_matrix.h:65:1: error: use of undeclared identifier 'trace_event_guard' @@ -20448,6 +22274,6 @@ -In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: -In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/net/wireless/ath/wil6210/trace.h:114:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 114 | DECLARE_EVENT_CLASS(wil6210_irq, +In file included from ../kernel/irq/matrix.c:38: +In file included from ../include/trace/events/irq_matrix.h:201: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/irq_matrix.h:12:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 12 | DECLARE_EVENT_CLASS(irq_matrix_global, @@ -20455,2 +22281,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -20458,2 +22284,2 @@ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -20463,4 +22289,4 @@ -make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/ath/wil6210/trace.o] Error 1 -make[7]: *** [../scripts/Makefile.build:485: drivers/net/wireless/ath/wil6210] Error 2 -In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: -In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: +make[5]: *** [../scripts/Makefile.build:244: kernel/irq/matrix.o] Error 1 +make[4]: *** [../scripts/Makefile.build:485: kernel/irq] Error 2 +In file included from ../drivers/net/wireless/ath/trace.c:20: +In file included from ../drivers/net/wireless/ath/trace.h:68: @@ -20469,2 +22295,2 @@ -../drivers/net/wireless/ath/ath6kl/trace.h:39:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 39 | TRACE_EVENT(ath6kl_wmi_cmd, +../drivers/net/wireless/ath/trace.h:33:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 33 | TRACE_EVENT(ath_log, @@ -20481,2 +22307,2 @@ -In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: -In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: +In file included from ../drivers/net/wireless/ath/trace.c:20: +In file included from ../drivers/net/wireless/ath/trace.h:68: @@ -20485 +22311 @@ -../drivers/net/wireless/ath/ath6kl/trace.h:39:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' @@ -20495,2 +22321,2 @@ -In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: -In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: +In file included from ../drivers/net/wireless/ath/trace.c:20: +In file included from ../drivers/net/wireless/ath/trace.h:68: @@ -20499 +22325 @@ -../drivers/net/wireless/ath/ath6kl/trace.h:39:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/ath/trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' @@ -20509,2 +22335,2 @@ -In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: -In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: +In file included from ../drivers/net/wireless/ath/trace.c:20: +In file included from ../drivers/net/wireless/ath/trace.h:68: @@ -20513 +22339 @@ -../drivers/net/wireless/ath/ath6kl/trace.h:39:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/wireless/ath/trace.h:33:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -20523,2 +22349,2 @@ -In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: -In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: +In file included from ../drivers/net/wireless/ath/trace.c:20: +In file included from ../drivers/net/wireless/ath/trace.h:68: @@ -20527 +22353 @@ -../drivers/net/wireless/ath/ath6kl/trace.h:39:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' @@ -20537,2 +22363,2 @@ -In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: -In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: +In file included from ../drivers/net/wireless/ath/trace.c:20: +In file included from ../drivers/net/wireless/ath/trace.h:68: @@ -20541 +22367 @@ -../drivers/net/wireless/ath/ath6kl/trace.h:39:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/ath/trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' @@ -20551,6 +22377,6 @@ -In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: -In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/net/wireless/ath/ath6kl/trace.h:62:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 62 | TRACE_EVENT(ath6kl_wmi_event, +In file included from ../drivers/net/wireless/ath/trace.c:20: +In file included from ../drivers/net/wireless/ath/trace.h:68: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/wireless/ath/trace.h:33:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 33 | TRACE_EVENT(ath_log, @@ -20561,2 +22387,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -20564,2 +22390,2 @@ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -20567,5 +22393,5 @@ -In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: -In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/net/wireless/ath/ath6kl/trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' +In file included from ../drivers/net/wireless/ath/trace.c:20: +In file included from ../drivers/net/wireless/ath/trace.h:68: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/wireless/ath/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' @@ -20575,2 +22401,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -20578,2 +22404,2 @@ -../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -20581,5 +22407,5 @@ -In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: -In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/net/wireless/ath/ath6kl/trace.h:62:1: error: use of undeclared identifier 'trace_event_guard' +In file included from ../drivers/net/wireless/ath/trace.c:20: +In file included from ../drivers/net/wireless/ath/trace.h:68: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/wireless/ath/trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' @@ -20589,2 +22415,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -20592,2 +22418,2 @@ -../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -20595,5 +22421,5 @@ -In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: -In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/net/wireless/ath/ath6kl/trace.h:62:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +In file included from ../drivers/net/wireless/ath/trace.c:20: +In file included from ../drivers/net/wireless/ath/trace.h:68: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/wireless/ath/trace.h:33:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -20603,2 +22429,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -20606,2 +22432,2 @@ -../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -20609,5 +22435,5 @@ -In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: -In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/net/wireless/ath/ath6kl/trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' +In file included from ../drivers/net/wireless/ath/trace.c:20: +In file included from ../drivers/net/wireless/ath/trace.h:68: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/wireless/ath/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' @@ -20617,2 +22443,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -20620,2 +22446,2 @@ -../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -20623,5 +22449,5 @@ -In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: -In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/net/wireless/ath/ath6kl/trace.h:62:1: error: use of undeclared identifier 'trace_event_guard' +In file included from ../drivers/net/wireless/ath/trace.c:20: +In file included from ../drivers/net/wireless/ath/trace.h:68: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/wireless/ath/trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' @@ -20631,2 +22457,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -20634,2 +22460,2 @@ -../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -20637,6 +22463,6 @@ -In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: -In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/net/wireless/ath/ath6kl/trace.h:85:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 85 | TRACE_EVENT(ath6kl_sdio, +In file included from ../drivers/net/wireless/ath/trace.c:20: +In file included from ../drivers/net/wireless/ath/trace.h:68: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/wireless/ath/trace.h:33:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 33 | TRACE_EVENT(ath_log, @@ -20647,2 +22473,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) @@ -20650,2 +22476,2 @@ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ @@ -20653,5 +22479,5 @@ -In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: -In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/net/wireless/ath/ath6kl/trace.h:85:1: error: use of undeclared identifier 'preempt_notrace' +In file included from ../drivers/net/wireless/ath/trace.c:20: +In file included from ../drivers/net/wireless/ath/trace.h:68: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/wireless/ath/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' @@ -20661,2 +22487,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) @@ -20664,2 +22490,2 @@ -../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ @@ -20667,5 +22493,5 @@ -In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: -In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/net/wireless/ath/ath6kl/trace.h:85:1: error: use of undeclared identifier 'trace_event_guard' +In file included from ../drivers/net/wireless/ath/trace.c:20: +In file included from ../drivers/net/wireless/ath/trace.h:68: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/wireless/ath/trace.h:33:1: error: use of undeclared identifier 'bpf_trace_guard' @@ -20675,2 +22501,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) @@ -20678,2 +22504,2 @@ -../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ @@ -20681,5 +22507,5 @@ -In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: -In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/net/wireless/ath/ath6kl/trace.h:85:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +In file included from ../drivers/net/wireless/ath/trace.c:20: +In file included from ../drivers/net/wireless/ath/trace.h:68: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/wireless/ath/trace.h:33:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -20689,2 +22515,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) @@ -20692,2 +22518,2 @@ -../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ @@ -20695,5 +22521,5 @@ -In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: -In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/net/wireless/ath/ath6kl/trace.h:85:1: error: use of undeclared identifier 'preempt_notrace' +In file included from ../drivers/net/wireless/ath/trace.c:20: +In file included from ../drivers/net/wireless/ath/trace.h:68: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/wireless/ath/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' @@ -20703,2 +22529,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) @@ -20706,2 +22532,2 @@ -../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ @@ -20709,5 +22535,5 @@ -In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: -In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/net/wireless/ath/ath6kl/trace.h:85:1: error: use of undeclared identifier 'trace_event_guard' +In file included from ../drivers/net/wireless/ath/trace.c:20: +In file included from ../drivers/net/wireless/ath/trace.h:68: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/wireless/ath/trace.h:33:1: error: use of undeclared identifier 'bpf_trace_guard' @@ -20717,2 +22543,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) @@ -20720,2 +22546,2 @@ -../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ @@ -20723,2 +22549,5 @@ -In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: -In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: +18 errors generated. +make[7]: *** [../scripts/Makefile.build:244: drivers/net/wireless/ath/trace.o] Error 1 +make[7]: *** Waiting for unfinished jobs.... +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: @@ -20727,2 +22556,2 @@ -../drivers/net/wireless/ath/ath6kl/trace.h:120:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 120 | TRACE_EVENT(ath6kl_sdio_scat, +../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:36:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 36 | TRACE_EVENT(brcmf_err, @@ -20739,6 +22568,2 @@ -fatal error: too many errors emitted, stopping now [-ferror-limit=] -20 errors generated. -make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/ath/ath6kl/trace.o] Error 1 -make[7]: *** [../scripts/Makefile.build:485: drivers/net/wireless/ath/ath6kl] Error 2 -In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: -In file included from ../include/trace/events/iscsi.h:107: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: @@ -20747,8 +22572,3 @@ -../include/trace/events/iscsi.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 21 | DECLARE_EVENT_CLASS(iscsi_log_msg, - | ^ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:36:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -20756,5 +22575,0 @@ -In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: -In file included from ../include/trace/events/iscsi.h:107: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'preempt_notrace' @@ -20767,2 +22582,2 @@ -In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: -In file included from ../include/trace/events/iscsi.h:107: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: @@ -20771 +22586,4 @@ -../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:36:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -20778,2 +22596,2 @@ -In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: -In file included from ../include/trace/events/iscsi.h:107: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: @@ -20782 +22600,4 @@ -../include/trace/events/iscsi.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:36:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -20789,2 +22610,2 @@ -In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: -In file included from ../include/trace/events/iscsi.h:107: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: @@ -20793 +22614,4 @@ -../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:36:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -20800,2 +22624,2 @@ -In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: -In file included from ../include/trace/events/iscsi.h:107: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: @@ -20804 +22628,4 @@ -../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:36:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -20811,73 +22638,2 @@ -In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: -In file included from ../include/trace/events/iscsi.h:107: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/iscsi.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 21 | DECLARE_EVENT_CLASS(iscsi_log_msg, - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ - | ^ -In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: -In file included from ../include/trace/events/iscsi.h:107: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ - | ^ -In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: -In file included from ../include/trace/events/iscsi.h:107: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'bpf_trace_guard' -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ - | ^ -In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: -In file included from ../include/trace/events/iscsi.h:107: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/iscsi.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ - | ^ -In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: -In file included from ../include/trace/events/iscsi.h:107: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ - | ^ -In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: -In file included from ../include/trace/events/iscsi.h:107: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'bpf_trace_guard' -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ - | ^ -12 errors generated. -make[5]: *** [../scripts/Makefile.build:244: drivers/scsi/scsi_transport_iscsi.o] Error 1 -make[4]: *** [../scripts/Makefile.build:485: drivers/scsi] Error 2 -In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: @@ -20886,2 +22642,2 @@ -../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 27 | DECLARE_EVENT_CLASS(dev_reg_evt, +../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:50:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 50 | TRACE_EVENT(brcmf_dbg, @@ -20888,0 +22645,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -20895,2 +22654,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: @@ -20899 +22658,4 @@ -../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:50:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -20906,2 +22668,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: @@ -20910 +22672,4 @@ -../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:50:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -20917,2 +22682,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: @@ -20921 +22686,4 @@ -../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:50:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -20928,2 +22696,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: @@ -20932 +22700,4 @@ -../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:50:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -20939,2 +22710,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: @@ -20943 +22714,4 @@ -../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:50:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -20950,2 +22724,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: @@ -20954,2 +22728,2 @@ -../drivers/net/wireless/mediatek/mt76/usb_trace.h:54:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 54 | DECLARE_EVENT_CLASS(urb_transfer, +../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:66:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 66 | TRACE_EVENT(brcmf_hexdump, @@ -20956,0 +22731,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -20963,2 +22740,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: @@ -20967 +22744,4 @@ -../drivers/net/wireless/mediatek/mt76/usb_trace.h:54:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:66:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -20974,2 +22754,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: @@ -20978 +22758,4 @@ -../drivers/net/wireless/mediatek/mt76/usb_trace.h:54:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:66:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -20985,2 +22768,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: @@ -20989 +22772,4 @@ -../drivers/net/wireless/mediatek/mt76/usb_trace.h:54:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:66:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -20996,2 +22782,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: @@ -21000 +22786,4 @@ -../drivers/net/wireless/mediatek/mt76/usb_trace.h:54:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:66:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -21007,2 +22796,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: @@ -21011 +22800,4 @@ -../drivers/net/wireless/mediatek/mt76/usb_trace.h:54:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:66:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -21018,6 +22810,6 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 27 | DECLARE_EVENT_CLASS(dev_reg_evt, +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:82:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 82 | TRACE_EVENT(brcmf_bcdchdr, @@ -21025,57 +22817,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ - | ^ -In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ - | ^ -In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'bpf_trace_guard' -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ - | ^ -In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ - | ^ -In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ - | ^ -In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'bpf_trace_guard' -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -21083,12 +22820,2 @@ -../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ - | ^ -In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/wireless/mediatek/mt76/usb_trace.h:54:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 54 | DECLARE_EVENT_CLASS(urb_transfer, - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -21096,2 +22823,2 @@ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -21101 +22828,2 @@ -make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/mediatek/mt76/usb_trace.o] Error 1 +make[9]: *** [../scripts/Makefile.build:244: drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.o] Error 1 +make[8]: *** [../scripts/Makefile.build:485: drivers/net/wireless/broadcom/brcm80211/brcmfmac] Error 2 @@ -21103,2 +22831,3 @@ -In file included from ../arch/x86/kvm/mmu/mmu.c:193: -In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: @@ -21107,2 +22836,2 @@ -../arch/x86/kvm/mmu/mmutrace.h:67:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 67 | TRACE_EVENT( +../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:29:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 29 | TRACE_EVENT(brcms_timer, @@ -21119,2 +22848,3 @@ -In file included from ../arch/x86/kvm/mmu/mmu.c:193: -In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: @@ -21123 +22853 @@ -../arch/x86/kvm/mmu/mmutrace.h:67:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:29:1: error: use of undeclared identifier 'preempt_notrace' @@ -21133,2 +22863,3 @@ -In file included from ../arch/x86/kvm/mmu/mmu.c:193: -In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: @@ -21137 +22868 @@ -../arch/x86/kvm/mmu/mmutrace.h:67:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:29:1: error: use of undeclared identifier 'trace_event_guard' @@ -21147,2 +22878,3 @@ -In file included from ../arch/x86/kvm/mmu/mmu.c:193: -In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: @@ -21151 +22883 @@ -../arch/x86/kvm/mmu/mmutrace.h:67:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:29:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -21161,2 +22893,3 @@ -In file included from ../arch/x86/kvm/mmu/mmu.c:193: -In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: @@ -21165 +22898 @@ -../arch/x86/kvm/mmu/mmutrace.h:67:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:29:1: error: use of undeclared identifier 'preempt_notrace' @@ -21175,2 +22908,3 @@ -In file included from ../arch/x86/kvm/mmu/mmu.c:193: -In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: @@ -21179 +22913 @@ -../arch/x86/kvm/mmu/mmutrace.h:67:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:29:1: error: use of undeclared identifier 'trace_event_guard' @@ -21189,2 +22923,3 @@ -In file included from ../arch/x86/kvm/mmu/mmu.c:193: -In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: @@ -21193,2 +22928,2 @@ -../arch/x86/kvm/mmu/mmutrace.h:88:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 88 | TRACE_EVENT( +../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:58:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 58 | TRACE_EVENT(brcms_dpc, @@ -21205,2 +22940,3 @@ -In file included from ../arch/x86/kvm/mmu/mmu.c:193: -In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: @@ -21209 +22945 @@ -../arch/x86/kvm/mmu/mmutrace.h:88:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:58:1: error: use of undeclared identifier 'preempt_notrace' @@ -21219,2 +22955,3 @@ -In file included from ../arch/x86/kvm/mmu/mmu.c:193: -In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: @@ -21223 +22960 @@ -../arch/x86/kvm/mmu/mmutrace.h:88:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:58:1: error: use of undeclared identifier 'trace_event_guard' @@ -21233,2 +22970,3 @@ -In file included from ../arch/x86/kvm/mmu/mmu.c:193: -In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: @@ -21237 +22975 @@ -../arch/x86/kvm/mmu/mmutrace.h:88:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:58:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -21247,2 +22985,3 @@ -In file included from ../arch/x86/kvm/mmu/mmu.c:193: -In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: @@ -21251 +22990 @@ -../arch/x86/kvm/mmu/mmutrace.h:88:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:58:1: error: use of undeclared identifier 'preempt_notrace' @@ -21261,2 +23000,3 @@ -In file included from ../arch/x86/kvm/mmu/mmu.c:193: -In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: @@ -21265 +23005 @@ -../arch/x86/kvm/mmu/mmutrace.h:88:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:58:1: error: use of undeclared identifier 'trace_event_guard' @@ -21275,2 +23015,3 @@ -In file included from ../arch/x86/kvm/mmu/mmu.c:193: -In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: @@ -21279,2 +23020,2 @@ -../arch/x86/kvm/mmu/mmutrace.h:106:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 106 | DECLARE_EVENT_CLASS(kvm_mmu_set_bit_class, +../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:73:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 73 | TRACE_EVENT(brcms_macintstatus, @@ -21281,0 +23023,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -21288,2 +23032,3 @@ -In file included from ../arch/x86/kvm/mmu/mmu.c:193: -In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: @@ -21292 +23037,4 @@ -../arch/x86/kvm/mmu/mmutrace.h:106:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:73:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -21299,2 +23047,3 @@ -In file included from ../arch/x86/kvm/mmu/mmu.c:193: -In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: @@ -21303 +23052,4 @@ -../arch/x86/kvm/mmu/mmutrace.h:106:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:73:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -21310,2 +23062,3 @@ -In file included from ../arch/x86/kvm/mmu/mmu.c:193: -In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: @@ -21314 +23067,4 @@ -../arch/x86/kvm/mmu/mmutrace.h:106:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:73:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -21321,2 +23077,3 @@ -In file included from ../arch/x86/kvm/mmu/mmu.c:193: -In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: @@ -21325 +23082,4 @@ -../arch/x86/kvm/mmu/mmutrace.h:106:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:73:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -21332,2 +23092,3 @@ -In file included from ../arch/x86/kvm/mmu/mmu.c:193: -In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: @@ -21336 +23097,4 @@ -../arch/x86/kvm/mmu/mmutrace.h:106:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:73:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -21343,6 +23107,7 @@ -In file included from ../arch/x86/kvm/mmu/mmu.c:193: -In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../arch/x86/kvm/mmu/mmutrace.h:140:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 140 | TRACE_EVENT( +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:29:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 29 | TRACE_EVENT(brcms_timer, @@ -21353,2 +23118,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -21356,2 +23121,2 @@ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -21361,5 +23126,7 @@ -make[5]: *** [../scripts/Makefile.build:244: arch/x86/kvm/mmu/mmu.o] Error 1 -make[4]: *** [../scripts/Makefile.build:485: arch/x86/kvm] Error 2 -make[3]: *** [../scripts/Makefile.build:485: arch/x86] Error 2 -In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: -In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: +make[9]: *** [../scripts/Makefile.build:244: drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.o] Error 1 +make[8]: *** [../scripts/Makefile.build:485: drivers/net/wireless/broadcom/brcm80211/brcmsmac] Error 2 +make[7]: *** [../scripts/Makefile.build:485: drivers/net/wireless/broadcom/brcm80211] Error 2 +make[6]: *** [../scripts/Makefile.build:485: drivers/net/wireless/broadcom] Error 2 +make[6]: *** Waiting for unfinished jobs.... +In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: +In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: @@ -21368,2 +23135,2 @@ -../drivers/net/ethernet/fungible/funeth/funeth_trace.h:13:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 13 | TRACE_EVENT(funeth_tx, +../drivers/net/wireless/ath/wil6210/trace.h:29:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 29 | DECLARE_EVENT_CLASS(wil6210_wmi, @@ -21371,3 +23137,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -21380,2 +23144,2 @@ -In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: -In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: +In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: +In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: @@ -21384,4 +23148 @@ -../drivers/net/ethernet/fungible/funeth/funeth_trace.h:13:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/wireless/ath/wil6210/trace.h:29:1: error: use of undeclared identifier 'preempt_notrace' @@ -21394,2 +23155,2 @@ -In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: -In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: +In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: +In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: @@ -21398,4 +23159 @@ -../drivers/net/ethernet/fungible/funeth/funeth_trace.h:13:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/wireless/ath/wil6210/trace.h:29:1: error: use of undeclared identifier 'trace_event_guard' @@ -21408,2 +23166,2 @@ -In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: -In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: +In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: +In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: @@ -21412,4 +23170 @@ -../drivers/net/ethernet/fungible/funeth/funeth_trace.h:13:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/wireless/ath/wil6210/trace.h:29:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -21422,2 +23177,2 @@ -In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: -In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: +In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: +In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: @@ -21426,4 +23181 @@ -../drivers/net/ethernet/fungible/funeth/funeth_trace.h:13:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/wireless/ath/wil6210/trace.h:29:1: error: use of undeclared identifier 'preempt_notrace' @@ -21436,2 +23188,2 @@ -In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: -In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: +In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: +In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: @@ -21440,4 +23192 @@ -../drivers/net/ethernet/fungible/funeth/funeth_trace.h:13:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/wireless/ath/wil6210/trace.h:29:1: error: use of undeclared identifier 'trace_event_guard' @@ -21450,2 +23199,2 @@ -In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: -In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: +In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: +In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: @@ -21454,2 +23203,2 @@ -../drivers/net/ethernet/fungible/funeth/funeth_trace.h:43:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 43 | TRACE_EVENT(funeth_tx_free, +../drivers/net/wireless/ath/wil6210/trace.h:69:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 69 | DECLARE_EVENT_CLASS(wil6210_log_event, @@ -21457,3 +23205,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -21466,2 +23212,2 @@ -In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: -In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: +In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: +In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: @@ -21470,4 +23216 @@ -../drivers/net/ethernet/fungible/funeth/funeth_trace.h:43:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/wireless/ath/wil6210/trace.h:69:1: error: use of undeclared identifier 'preempt_notrace' @@ -21480,2 +23223,2 @@ -In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: -In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: +In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: +In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: @@ -21484,4 +23227 @@ -../drivers/net/ethernet/fungible/funeth/funeth_trace.h:43:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/wireless/ath/wil6210/trace.h:69:1: error: use of undeclared identifier 'trace_event_guard' @@ -21494,2 +23234,2 @@ -In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: -In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: +In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: +In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: @@ -21498,4 +23238 @@ -../drivers/net/ethernet/fungible/funeth/funeth_trace.h:43:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/wireless/ath/wil6210/trace.h:69:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -21508,2 +23245,2 @@ -In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: -In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: +In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: +In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: @@ -21512,4 +23249 @@ -../drivers/net/ethernet/fungible/funeth/funeth_trace.h:43:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/wireless/ath/wil6210/trace.h:69:1: error: use of undeclared identifier 'preempt_notrace' @@ -21522,2 +23256,2 @@ -In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: -In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: +In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: +In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: @@ -21526,4 +23260 @@ -../drivers/net/ethernet/fungible/funeth/funeth_trace.h:43:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/wireless/ath/wil6210/trace.h:69:1: error: use of undeclared identifier 'trace_event_guard' @@ -21536,2 +23267,2 @@ -In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: -In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: +In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: +In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: @@ -21540,2 +23271,2 @@ -../drivers/net/ethernet/fungible/funeth/funeth_trace.h:73:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 73 | TRACE_EVENT(funeth_rx, +../drivers/net/wireless/ath/wil6210/trace.h:101:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 101 | TRACE_EVENT(wil6210_irq_pseudo, @@ -21552,2 +23283,2 @@ -In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: -In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: +In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: +In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: @@ -21556 +23287 @@ -../drivers/net/ethernet/fungible/funeth/funeth_trace.h:73:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/wil6210/trace.h:101:1: error: use of undeclared identifier 'preempt_notrace' @@ -21566,2 +23297,2 @@ -In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: -In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: +In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: +In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: @@ -21570 +23301 @@ -../drivers/net/ethernet/fungible/funeth/funeth_trace.h:73:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/ath/wil6210/trace.h:101:1: error: use of undeclared identifier 'trace_event_guard' @@ -21580,2 +23311,2 @@ -In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: -In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: +In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: +In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: @@ -21584 +23315 @@ -../drivers/net/ethernet/fungible/funeth/funeth_trace.h:73:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/wireless/ath/wil6210/trace.h:101:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -21594,2 +23325,2 @@ -In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: -In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: +In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: +In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: @@ -21598 +23329 @@ -../drivers/net/ethernet/fungible/funeth/funeth_trace.h:73:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/wil6210/trace.h:101:1: error: use of undeclared identifier 'preempt_notrace' @@ -21608,2 +23339,2 @@ -In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: -In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: +In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: +In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: @@ -21612 +23343 @@ -../drivers/net/ethernet/fungible/funeth/funeth_trace.h:73:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/ath/wil6210/trace.h:101:1: error: use of undeclared identifier 'trace_event_guard' @@ -21622,6 +23353,6 @@ -In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: -In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/ethernet/fungible/funeth/funeth_trace.h:13:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 13 | TRACE_EVENT(funeth_tx, +In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: +In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/net/wireless/ath/wil6210/trace.h:114:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 114 | DECLARE_EVENT_CLASS(wil6210_irq, @@ -21629,5 +23360,2 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -21635,2 +23363,2 @@ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -21640,6 +23368,4 @@ -make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/fungible/funeth/funeth_rx.o] Error 1 -make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/fungible/funeth] Error 2 -make[6]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/fungible] Error 2 -make[6]: *** Waiting for unfinished jobs.... -In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: -In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: +make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/ath/wil6210/trace.o] Error 1 +make[7]: *** [../scripts/Makefile.build:485: drivers/net/wireless/ath/wil6210] Error 2 +In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: @@ -21648,2 +23374,2 @@ -../drivers/net/wireless/mediatek/mt7601u/trace.h:29:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 29 | DECLARE_EVENT_CLASS(dev_reg_evtu, +../drivers/net/wireless/ath/ath6kl/trace.h:39:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 39 | TRACE_EVENT(ath6kl_wmi_cmd, @@ -21650,0 +23377,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -21657,2 +23386,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: -In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: @@ -21661 +23390,4 @@ -../drivers/net/wireless/mediatek/mt7601u/trace.h:29:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath6kl/trace.h:39:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -21668,2 +23400,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: -In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: @@ -21672 +23404,4 @@ -../drivers/net/wireless/mediatek/mt7601u/trace.h:29:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/ath/ath6kl/trace.h:39:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -21679,2 +23414,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: -In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: @@ -21683 +23418,4 @@ -../drivers/net/wireless/mediatek/mt7601u/trace.h:29:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/wireless/ath/ath6kl/trace.h:39:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -21690,2 +23428,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: -In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: @@ -21694 +23432,4 @@ -../drivers/net/wireless/mediatek/mt7601u/trace.h:29:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath6kl/trace.h:39:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -21701,2 +23442,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: -In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: @@ -21705 +23446,4 @@ -../drivers/net/wireless/mediatek/mt7601u/trace.h:29:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/ath/ath6kl/trace.h:39:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -21712,2 +23456,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: -In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: @@ -21716,2 +23460,2 @@ -../drivers/net/wireless/mediatek/mt7601u/trace.h:56:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 56 | TRACE_EVENT(mt_submit_urb, +../drivers/net/wireless/ath/ath6kl/trace.h:62:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 62 | TRACE_EVENT(ath6kl_wmi_event, @@ -21728,2 +23472,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: -In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: @@ -21732 +23476 @@ -../drivers/net/wireless/mediatek/mt7601u/trace.h:56:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath6kl/trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' @@ -21742,2 +23486,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: -In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: @@ -21746 +23490 @@ -../drivers/net/wireless/mediatek/mt7601u/trace.h:56:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/ath/ath6kl/trace.h:62:1: error: use of undeclared identifier 'trace_event_guard' @@ -21756,2 +23500,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: -In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: @@ -21760 +23504 @@ -../drivers/net/wireless/mediatek/mt7601u/trace.h:56:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/wireless/ath/ath6kl/trace.h:62:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -21770,2 +23514,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: -In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: @@ -21774 +23518 @@ -../drivers/net/wireless/mediatek/mt7601u/trace.h:56:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath6kl/trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' @@ -21784,2 +23528,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: -In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: @@ -21788 +23532 @@ -../drivers/net/wireless/mediatek/mt7601u/trace.h:56:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/ath/ath6kl/trace.h:62:1: error: use of undeclared identifier 'trace_event_guard' @@ -21798,2 +23542,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: -In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: @@ -21802,2 +23546,2 @@ -../drivers/net/wireless/mediatek/mt7601u/trace.h:78:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 78 | TRACE_EVENT(mt_mcu_msg_send, +../drivers/net/wireless/ath/ath6kl/trace.h:85:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 85 | TRACE_EVENT(ath6kl_sdio, @@ -21814,2 +23558,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: -In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: @@ -21818 +23562 @@ -../drivers/net/wireless/mediatek/mt7601u/trace.h:78:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath6kl/trace.h:85:1: error: use of undeclared identifier 'preempt_notrace' @@ -21828,2 +23572,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: -In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: @@ -21832 +23576 @@ -../drivers/net/wireless/mediatek/mt7601u/trace.h:78:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/ath/ath6kl/trace.h:85:1: error: use of undeclared identifier 'trace_event_guard' @@ -21842,2 +23586,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: -In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: @@ -21846 +23590 @@ -../drivers/net/wireless/mediatek/mt7601u/trace.h:78:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/wireless/ath/ath6kl/trace.h:85:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -21856,2 +23600,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: -In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: @@ -21860 +23604 @@ -../drivers/net/wireless/mediatek/mt7601u/trace.h:78:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath6kl/trace.h:85:1: error: use of undeclared identifier 'preempt_notrace' @@ -21870,2 +23614,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: -In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: @@ -21874 +23618 @@ -../drivers/net/wireless/mediatek/mt7601u/trace.h:78:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/ath/ath6kl/trace.h:85:1: error: use of undeclared identifier 'trace_event_guard' @@ -21884,2 +23628,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: -In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: @@ -21888,2 +23632,2 @@ -../drivers/net/wireless/mediatek/mt7601u/trace.h:98:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 98 | TRACE_EVENT(mt_vend_req, +../drivers/net/wireless/ath/ath6kl/trace.h:120:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 120 | TRACE_EVENT(ath6kl_sdio_scat, @@ -21902,5 +23646,4 @@ -make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/mediatek/mt7601u/trace.o] Error 1 -make[7]: *** [../scripts/Makefile.build:485: drivers/net/wireless/mediatek/mt7601u] Error 2 -make[7]: *** Waiting for unfinished jobs.... -In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: -In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: +make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/ath/ath6kl/trace.o] Error 1 +make[7]: *** [../scripts/Makefile.build:485: drivers/net/wireless/ath/ath6kl] Error 2 +In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: +In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: @@ -21909,2 +23652,2 @@ -../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:20:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 20 | TRACE_EVENT(otx2_msg_alloc, +../drivers/net/wireless/ath/ath5k/trace.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 21 | TRACE_EVENT(ath5k_rx, @@ -21921,2 +23664,2 @@ -In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: -In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: +In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: +In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: @@ -21925 +23668 @@ -../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:20:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath5k/trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' @@ -21935,2 +23678,2 @@ -In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: -In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: +In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: +In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: @@ -21939 +23682 @@ -../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:20:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/ath/ath5k/trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' @@ -21949,2 +23692,2 @@ -In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: -In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: +In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: +In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: @@ -21953 +23696 @@ -../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:20:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/wireless/ath/ath5k/trace.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -21963,2 +23706,2 @@ -In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: -In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: +In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: +In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: @@ -21967 +23710 @@ -../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:20:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath5k/trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' @@ -21977,2 +23720,2 @@ -In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: -In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: +In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: +In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: @@ -21981 +23724 @@ -../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:20:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/ath/ath5k/trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' @@ -21991,2 +23734,2 @@ -In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: -In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: +In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: +In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: @@ -21995,2 +23738,2 @@ -../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:35:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 35 | TRACE_EVENT(otx2_msg_send, +../drivers/net/wireless/ath/ath5k/trace.h:39:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 39 | TRACE_EVENT(ath5k_tx, @@ -22007,2 +23750,2 @@ -In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: -In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: +In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: +In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: @@ -22011 +23754 @@ -../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:35:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath5k/trace.h:39:1: error: use of undeclared identifier 'preempt_notrace' @@ -22021,2 +23764,2 @@ -In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: -In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: +In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: +In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: @@ -22025 +23768 @@ -../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:35:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/ath/ath5k/trace.h:39:1: error: use of undeclared identifier 'trace_event_guard' @@ -22035,2 +23778,2 @@ -In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: -In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: +In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: +In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: @@ -22039 +23782 @@ -../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:35:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/wireless/ath/ath5k/trace.h:39:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -22049,2 +23792,2 @@ -In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: -In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: +In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: +In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: @@ -22053 +23796 @@ -../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:35:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath5k/trace.h:39:1: error: use of undeclared identifier 'preempt_notrace' @@ -22063,2 +23806,2 @@ -In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: -In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: +In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: +In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: @@ -22067 +23810 @@ -../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:35:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/ath/ath5k/trace.h:39:1: error: use of undeclared identifier 'trace_event_guard' @@ -22077,2 +23820,2 @@ -In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: -In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: +In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: +In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: @@ -22081,2 +23824,2 @@ -../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:50:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 50 | TRACE_EVENT(otx2_msg_check, +../drivers/net/wireless/ath/ath5k/trace.h:65:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 65 | TRACE_EVENT(ath5k_tx_complete, @@ -22093,2 +23836,2 @@ -In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: -In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: +In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: +In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: @@ -22097 +23840 @@ -../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath5k/trace.h:65:1: error: use of undeclared identifier 'preempt_notrace' @@ -22107,2 +23850,2 @@ -In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: -In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: +In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: +In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: @@ -22111 +23854 @@ -../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/ath/ath5k/trace.h:65:1: error: use of undeclared identifier 'trace_event_guard' @@ -22121,2 +23864,2 @@ -In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: -In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: +In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: +In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: @@ -22125 +23868 @@ -../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:50:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/wireless/ath/ath5k/trace.h:65:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -22135,2 +23878,2 @@ -In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: -In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: +In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: +In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: @@ -22139 +23882 @@ -../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath5k/trace.h:65:1: error: use of undeclared identifier 'preempt_notrace' @@ -22149,2 +23892,2 @@ -In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: -In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: +In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: +In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: @@ -22153 +23896 @@ -../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/ath/ath5k/trace.h:65:1: error: use of undeclared identifier 'trace_event_guard' @@ -22163,6 +23906,6 @@ -In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: -In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:68:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 68 | TRACE_EVENT(otx2_msg_interrupt, +In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: +In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/wireless/ath/ath5k/trace.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 21 | TRACE_EVENT(ath5k_rx, @@ -22172,0 +23916,17 @@ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. +make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/ath/ath5k/base.o] Error 1 +make[7]: *** [../scripts/Makefile.build:485: drivers/net/wireless/ath/ath5k] Error 2 +In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: +In file included from ../include/trace/events/iscsi.h:107: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/iscsi.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 21 | DECLARE_EVENT_CLASS(iscsi_log_msg, + | ^ @@ -22179,6 +23939,194 @@ -fatal error: too many errors emitted, stopping now [-ferror-limit=] -20 errors generated. -make[9]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.o] Error 1 -make[8]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/marvell/octeontx2/af] Error 2 -make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/marvell/octeontx2] Error 2 -make[6]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/marvell] Error 2 +In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: +In file included from ../include/trace/events/iscsi.h:107: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: +In file included from ../include/trace/events/iscsi.h:107: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: +In file included from ../include/trace/events/iscsi.h:107: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/iscsi.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: +In file included from ../include/trace/events/iscsi.h:107: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: +In file included from ../include/trace/events/iscsi.h:107: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: +In file included from ../include/trace/events/iscsi.h:107: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/iscsi.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 21 | DECLARE_EVENT_CLASS(iscsi_log_msg, + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: +In file included from ../include/trace/events/iscsi.h:107: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: +In file included from ../include/trace/events/iscsi.h:107: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: +In file included from ../include/trace/events/iscsi.h:107: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/iscsi.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: +In file included from ../include/trace/events/iscsi.h:107: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: +In file included from ../include/trace/events/iscsi.h:107: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: +In file included from ../include/trace/events/iscsi.h:107: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/iscsi.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 21 | DECLARE_EVENT_CLASS(iscsi_log_msg, + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: +In file included from ../include/trace/events/iscsi.h:107: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: +In file included from ../include/trace/events/iscsi.h:107: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: +In file included from ../include/trace/events/iscsi.h:107: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/iscsi.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: +In file included from ../include/trace/events/iscsi.h:107: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: +In file included from ../include/trace/events/iscsi.h:107: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +18 errors generated. +make[5]: *** [../scripts/Makefile.build:244: drivers/scsi/scsi_transport_iscsi.o] Error 1 +make[4]: *** [../scripts/Makefile.build:485: drivers/scsi] Error 2 @@ -22427,2 +24375,2 @@ -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: @@ -22432,2 +24380,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -22435,2 +24383,2 @@ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -22442,2 +24390,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: +In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: +In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: @@ -22446,2 +24394,2 @@ -../drivers/net/wireless/mediatek/mt76/trace.h:32:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 32 | DECLARE_EVENT_CLASS(dev_reg_evt, +../drivers/net/wireless/mediatek/mt7601u/trace.h:29:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 29 | DECLARE_EVENT_CLASS(dev_reg_evtu, @@ -22455,2 +24403,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: +In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: +In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: @@ -22459 +24407 @@ -../drivers/net/wireless/mediatek/mt76/trace.h:32:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/mediatek/mt7601u/trace.h:29:1: error: use of undeclared identifier 'preempt_notrace' @@ -22466,2 +24414,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: +In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: +In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: @@ -22470 +24418 @@ -../drivers/net/wireless/mediatek/mt76/trace.h:32:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/mediatek/mt7601u/trace.h:29:1: error: use of undeclared identifier 'trace_event_guard' @@ -22477,2 +24425,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: +In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: +In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: @@ -22481 +24429 @@ -../drivers/net/wireless/mediatek/mt76/trace.h:32:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/wireless/mediatek/mt7601u/trace.h:29:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -22488,2 +24436,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: +In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: +In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: @@ -22492 +24440 @@ -../drivers/net/wireless/mediatek/mt76/trace.h:32:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/mediatek/mt7601u/trace.h:29:1: error: use of undeclared identifier 'preempt_notrace' @@ -22499,2 +24447,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: +In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: +In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: @@ -22503 +24451 @@ -../drivers/net/wireless/mediatek/mt76/trace.h:32:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/mediatek/mt7601u/trace.h:29:1: error: use of undeclared identifier 'trace_event_guard' @@ -22510,2 +24458,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: +In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: +In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: @@ -22514,2 +24462,2 @@ -../drivers/net/wireless/mediatek/mt76/trace.h:59:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 59 | TRACE_EVENT(dev_irq, +../drivers/net/wireless/mediatek/mt7601u/trace.h:56:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 56 | TRACE_EVENT(mt_submit_urb, @@ -22526,2 +24474,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: +In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: +In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: @@ -22530 +24478 @@ -../drivers/net/wireless/mediatek/mt76/trace.h:59:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/mediatek/mt7601u/trace.h:56:1: error: use of undeclared identifier 'preempt_notrace' @@ -22540,2 +24488,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: +In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: +In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: @@ -22544 +24492 @@ -../drivers/net/wireless/mediatek/mt76/trace.h:59:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/mediatek/mt7601u/trace.h:56:1: error: use of undeclared identifier 'trace_event_guard' @@ -22554,2 +24502,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: +In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: +In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: @@ -22558 +24506 @@ -../drivers/net/wireless/mediatek/mt76/trace.h:59:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/wireless/mediatek/mt7601u/trace.h:56:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -22568,2 +24516,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: +In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: +In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: @@ -22572 +24520 @@ -../drivers/net/wireless/mediatek/mt76/trace.h:59:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/mediatek/mt7601u/trace.h:56:1: error: use of undeclared identifier 'preempt_notrace' @@ -22582,2 +24530,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: +In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: +In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: @@ -22586 +24534 @@ -../drivers/net/wireless/mediatek/mt76/trace.h:59:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/mediatek/mt7601u/trace.h:56:1: error: use of undeclared identifier 'trace_event_guard' @@ -22596,154 +24544,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/net/wireless/mediatek/mt76/trace.h:82:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 82 | DECLARE_EVENT_CLASS(dev_txid_evt, - | ^ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ - | ^ -In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/net/wireless/mediatek/mt76/trace.h:82:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ - | ^ -In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/net/wireless/mediatek/mt76/trace.h:82:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ - | ^ -In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/net/wireless/mediatek/mt76/trace.h:82:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ - | ^ -In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/net/wireless/mediatek/mt76/trace.h:82:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ - | ^ -In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/net/wireless/mediatek/mt76/trace.h:82:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ - | ^ -In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/wireless/mediatek/mt76/trace.h:32:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 32 | DECLARE_EVENT_CLASS(dev_reg_evt, - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ - | ^ -fatal error: too many errors emitted, stopping now [-ferror-limit=] -20 errors generated. -make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/mediatek/mt76/trace.o] Error 1 -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 26 | DECLARE_EVENT_CLASS(dev_evt, - | ^ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ - | ^ -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ - | ^ -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ - | ^ -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ - | ^ -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ - | ^ -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ - | ^ -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: +In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: +In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: @@ -22752,2 +24548,2 @@ -../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:43:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 43 | TRACE_EVENT(mac_txstat_fetch, +../drivers/net/wireless/mediatek/mt7601u/trace.h:78:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 78 | TRACE_EVENT(mt_mcu_msg_send, @@ -22764,2 +24560,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: +In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: +In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: @@ -22768 +24564 @@ -../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:43:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/mediatek/mt7601u/trace.h:78:1: error: use of undeclared identifier 'preempt_notrace' @@ -22778,2 +24574,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: +In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: +In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: @@ -22782 +24578 @@ -../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:43:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/mediatek/mt7601u/trace.h:78:1: error: use of undeclared identifier 'trace_event_guard' @@ -22792,2 +24588,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: +In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: +In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: @@ -22796 +24592 @@ -../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:43:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/wireless/mediatek/mt7601u/trace.h:78:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -22806,2 +24602,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: +In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: +In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: @@ -22810 +24606 @@ -../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:43:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/mediatek/mt7601u/trace.h:78:1: error: use of undeclared identifier 'preempt_notrace' @@ -22820,2 +24616,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: +In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: +In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: @@ -22824 +24620 @@ -../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:43:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/mediatek/mt7601u/trace.h:78:1: error: use of undeclared identifier 'trace_event_guard' @@ -22834,74 +24630,6 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 26 | DECLARE_EVENT_CLASS(dev_evt, - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ - | ^ -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ - | ^ -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: use of undeclared identifier 'bpf_trace_guard' -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ - | ^ -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ - | ^ -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ - | ^ -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: use of undeclared identifier 'bpf_trace_guard' -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ - | ^ -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:43:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 43 | TRACE_EVENT(mac_txstat_fetch, +In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.c:11: +In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/net/wireless/mediatek/mt7601u/trace.h:98:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 98 | TRACE_EVENT(mt_vend_req, @@ -22912,2 +24640,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -22915,2 +24643,2 @@ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -22920,4 +24648,5 @@ -make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/mediatek/mt76/mt76x02_trace.o] Error 1 -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: +make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/mediatek/mt7601u/trace.o] Error 1 +make[7]: *** [../scripts/Makefile.build:485: drivers/net/wireless/mediatek/mt7601u] Error 2 +make[7]: *** Waiting for unfinished jobs.... +In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: @@ -22926,2 +24655,2 @@ -../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:17:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 17 | TRACE_EVENT(iwlwifi_dev_ioread32, +../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 23 | TRACE_EVENT(lp_event, @@ -22938,3 +24667,2 @@ -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: +In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: @@ -22943 +24671 @@ -../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:17:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: use of undeclared identifier 'preempt_notrace' @@ -22953,3 +24681,2 @@ -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: +In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: @@ -22958 +24685 @@ -../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:17:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: use of undeclared identifier 'trace_event_guard' @@ -22968,3 +24695,2 @@ -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: +In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: @@ -22973 +24699 @@ -../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:17:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -22983,3 +24709,2 @@ -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: +In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: @@ -22988 +24713 @@ -../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:17:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: use of undeclared identifier 'preempt_notrace' @@ -22998,3 +24723,2 @@ -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: +In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: @@ -23003 +24727 @@ -../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:17:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: use of undeclared identifier 'trace_event_guard' @@ -23013,7 +24737,6 @@ -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:34:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 34 | TRACE_EVENT(iwlwifi_dev_iowrite8, +In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 23 | TRACE_EVENT(lp_event, @@ -23024,2 +24747,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -23027,2 +24750,2 @@ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -23030,6 +24753,5 @@ -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:34:1: error: use of undeclared identifier 'preempt_notrace' +In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: use of undeclared identifier 'preempt_notrace' @@ -23039,2 +24761,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -23042,2 +24764,2 @@ -../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -23045,6 +24767,5 @@ -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:34:1: error: use of undeclared identifier 'trace_event_guard' +In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: use of undeclared identifier 'trace_event_guard' @@ -23054,2 +24775,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -23057,2 +24778,2 @@ -../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -23060,6 +24781,5 @@ -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:34:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -23069,2 +24789,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -23072,2 +24792,2 @@ -../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -23075,6 +24795,5 @@ -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:34:1: error: use of undeclared identifier 'preempt_notrace' +In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: use of undeclared identifier 'preempt_notrace' @@ -23084,2 +24803,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -23087,2 +24806,2 @@ -../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -23090,6 +24809,5 @@ -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:34:1: error: use of undeclared identifier 'trace_event_guard' +In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: use of undeclared identifier 'trace_event_guard' @@ -23099,2 +24817,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -23102,2 +24820,2 @@ -../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -23105,7 +24823,6 @@ -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:51:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 51 | TRACE_EVENT(iwlwifi_dev_iowrite32, +In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 23 | TRACE_EVENT(lp_event, @@ -23116,2 +24833,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) @@ -23119,2 +24836,2 @@ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ @@ -23122,6 +24839,5 @@ -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:51:1: error: use of undeclared identifier 'preempt_notrace' +In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: use of undeclared identifier 'preempt_notrace' @@ -23131,2 +24847,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) @@ -23134,2 +24850,2 @@ -../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ @@ -23137,6 +24853,5 @@ -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:51:1: error: use of undeclared identifier 'trace_event_guard' +In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: use of undeclared identifier 'bpf_trace_guard' @@ -23146,2 +24861,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) @@ -23149,2 +24864,2 @@ -../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ @@ -23152,6 +24867,5 @@ -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:51:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -23161,2 +24875,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) @@ -23164,2 +24878,2 @@ -../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ @@ -23167,6 +24881,5 @@ -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:51:1: error: use of undeclared identifier 'preempt_notrace' +In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: use of undeclared identifier 'preempt_notrace' @@ -23176,2 +24889,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) @@ -23179,2 +24892,2 @@ -../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ @@ -23182,6 +24895,5 @@ -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:51:1: error: use of undeclared identifier 'trace_event_guard' +In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: use of undeclared identifier 'bpf_trace_guard' @@ -23191,2 +24903,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) @@ -23194,2 +24906,2 @@ -../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ @@ -23197,24 +24909,5 @@ -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:68:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 68 | TRACE_EVENT(iwlwifi_dev_iowrite64, - | ^ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ - | ^ -fatal error: too many errors emitted, stopping now [-ferror-limit=] -20 errors generated. -make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/intel/iwlwifi/iwl-devtrace.o] Error 1 -make[7]: *** [../scripts/Makefile.build:485: drivers/net/wireless/intel/iwlwifi] Error 2 -make[6]: *** [../scripts/Makefile.build:485: drivers/net/wireless/intel] Error 2 -In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: -In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: +18 errors generated. +make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/mediatek/mt76/mt792x_trace.o] Error 1 +make[8]: *** Waiting for unfinished jobs.... +In file included from ../drivers/net/hyperv/netvsc_trace.c:7: +In file included from ../drivers/net/hyperv/netvsc_trace.h:182: @@ -23223,2 +24916,2 @@ -../drivers/net/wireless/ath/ath10k/trace.h:49:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 49 | DECLARE_EVENT_CLASS(ath10k_log_event, +../drivers/net/hyperv/netvsc_trace.h:42:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 42 | DECLARE_EVENT_CLASS(rndis_msg_class, @@ -23232,2 +24925,2 @@ -In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: -In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: +In file included from ../drivers/net/hyperv/netvsc_trace.c:7: +In file included from ../drivers/net/hyperv/netvsc_trace.h:182: @@ -23236 +24929 @@ -../drivers/net/wireless/ath/ath10k/trace.h:49:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/hyperv/netvsc_trace.h:42:1: error: use of undeclared identifier 'preempt_notrace' @@ -23243,2 +24936,2 @@ -In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: -In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: +In file included from ../drivers/net/hyperv/netvsc_trace.c:7: +In file included from ../drivers/net/hyperv/netvsc_trace.h:182: @@ -23247 +24940 @@ -../drivers/net/wireless/ath/ath10k/trace.h:49:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/hyperv/netvsc_trace.h:42:1: error: use of undeclared identifier 'trace_event_guard' @@ -23254,2 +24947,2 @@ -In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: -In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: +In file included from ../drivers/net/hyperv/netvsc_trace.c:7: +In file included from ../drivers/net/hyperv/netvsc_trace.h:182: @@ -23258 +24951 @@ -../drivers/net/wireless/ath/ath10k/trace.h:49:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/hyperv/netvsc_trace.h:42:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -23265,2 +24958,2 @@ -In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: -In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: +In file included from ../drivers/net/hyperv/netvsc_trace.c:7: +In file included from ../drivers/net/hyperv/netvsc_trace.h:182: @@ -23269 +24962 @@ -../drivers/net/wireless/ath/ath10k/trace.h:49:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/hyperv/netvsc_trace.h:42:1: error: use of undeclared identifier 'preempt_notrace' @@ -23276,2 +24969,2 @@ -In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: -In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: +In file included from ../drivers/net/hyperv/netvsc_trace.c:7: +In file included from ../drivers/net/hyperv/netvsc_trace.h:182: @@ -23280 +24973 @@ -../drivers/net/wireless/ath/ath10k/trace.h:49:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/hyperv/netvsc_trace.h:42:1: error: use of undeclared identifier 'trace_event_guard' @@ -23287,2 +24980,2 @@ -In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: -In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: +In file included from ../drivers/net/hyperv/netvsc_trace.c:7: +In file included from ../drivers/net/hyperv/netvsc_trace.h:182: @@ -23291,2 +24984,2 @@ -../drivers/net/wireless/ath/ath10k/trace.h:85:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 85 | TRACE_EVENT(ath10k_log_dbg, +../drivers/net/hyperv/netvsc_trace.h:115:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 115 | TRACE_EVENT(nvsp_send, @@ -23303,2 +24996,2 @@ -In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: -In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: +In file included from ../drivers/net/hyperv/netvsc_trace.c:7: +In file included from ../drivers/net/hyperv/netvsc_trace.h:182: @@ -23307 +25000 @@ -../drivers/net/wireless/ath/ath10k/trace.h:85:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/hyperv/netvsc_trace.h:115:1: error: use of undeclared identifier 'preempt_notrace' @@ -23317,2 +25010,2 @@ -In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: -In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: +In file included from ../drivers/net/hyperv/netvsc_trace.c:7: +In file included from ../drivers/net/hyperv/netvsc_trace.h:182: @@ -23321 +25014 @@ -../drivers/net/wireless/ath/ath10k/trace.h:85:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/hyperv/netvsc_trace.h:115:1: error: use of undeclared identifier 'trace_event_guard' @@ -23331,2 +25024,2 @@ -In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: -In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: +In file included from ../drivers/net/hyperv/netvsc_trace.c:7: +In file included from ../drivers/net/hyperv/netvsc_trace.h:182: @@ -23335 +25028 @@ -../drivers/net/wireless/ath/ath10k/trace.h:85:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/hyperv/netvsc_trace.h:115:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -23345,2 +25038,2 @@ -In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: -In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: +In file included from ../drivers/net/hyperv/netvsc_trace.c:7: +In file included from ../drivers/net/hyperv/netvsc_trace.h:182: @@ -23349 +25042 @@ -../drivers/net/wireless/ath/ath10k/trace.h:85:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/hyperv/netvsc_trace.h:115:1: error: use of undeclared identifier 'preempt_notrace' @@ -23359,2 +25052,2 @@ -In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: -In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: +In file included from ../drivers/net/hyperv/netvsc_trace.c:7: +In file included from ../drivers/net/hyperv/netvsc_trace.h:182: @@ -23363 +25056 @@ -../drivers/net/wireless/ath/ath10k/trace.h:85:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/hyperv/netvsc_trace.h:115:1: error: use of undeclared identifier 'trace_event_guard' @@ -23373,2 +25066,2 @@ -In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: -In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: +In file included from ../drivers/net/hyperv/netvsc_trace.c:7: +In file included from ../drivers/net/hyperv/netvsc_trace.h:182: @@ -23377,2 +25070,2 @@ -../drivers/net/wireless/ath/ath10k/trace.h:108:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 108 | TRACE_EVENT(ath10k_log_dbg_dump, +../drivers/net/hyperv/netvsc_trace.h:132:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 132 | TRACE_EVENT(nvsp_send_pkt, @@ -23389,2 +25082,2 @@ -In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: -In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: +In file included from ../drivers/net/hyperv/netvsc_trace.c:7: +In file included from ../drivers/net/hyperv/netvsc_trace.h:182: @@ -23393 +25086 @@ -../drivers/net/wireless/ath/ath10k/trace.h:108:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/hyperv/netvsc_trace.h:132:1: error: use of undeclared identifier 'preempt_notrace' @@ -23403,2 +25096,2 @@ -In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: -In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: +In file included from ../drivers/net/hyperv/netvsc_trace.c:7: +In file included from ../drivers/net/hyperv/netvsc_trace.h:182: @@ -23407 +25100 @@ -../drivers/net/wireless/ath/ath10k/trace.h:108:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/hyperv/netvsc_trace.h:132:1: error: use of undeclared identifier 'trace_event_guard' @@ -23417,2 +25110,2 @@ -In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: -In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: +In file included from ../drivers/net/hyperv/netvsc_trace.c:7: +In file included from ../drivers/net/hyperv/netvsc_trace.h:182: @@ -23421 +25114 @@ -../drivers/net/wireless/ath/ath10k/trace.h:108:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/hyperv/netvsc_trace.h:132:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -23431,2 +25124,2 @@ -In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: -In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: +In file included from ../drivers/net/hyperv/netvsc_trace.c:7: +In file included from ../drivers/net/hyperv/netvsc_trace.h:182: @@ -23435 +25128 @@ -../drivers/net/wireless/ath/ath10k/trace.h:108:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/hyperv/netvsc_trace.h:132:1: error: use of undeclared identifier 'preempt_notrace' @@ -23445,2 +25138,2 @@ -In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: -In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: +In file included from ../drivers/net/hyperv/netvsc_trace.c:7: +In file included from ../drivers/net/hyperv/netvsc_trace.h:182: @@ -23449 +25142 @@ -../drivers/net/wireless/ath/ath10k/trace.h:108:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/hyperv/netvsc_trace.h:132:1: error: use of undeclared identifier 'trace_event_guard' @@ -23459,2 +25152,2 @@ -In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: -In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: +In file included from ../drivers/net/hyperv/netvsc_trace.c:7: +In file included from ../drivers/net/hyperv/netvsc_trace.h:182: @@ -23463,2 +25156,2 @@ -../drivers/net/wireless/ath/ath10k/trace.h:141:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 141 | TRACE_EVENT(ath10k_wmi_cmd, +../drivers/net/hyperv/netvsc_trace.h:157:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 157 | TRACE_EVENT(nvsp_recv, @@ -23477,2 +25170,2 @@ -make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/ath/ath10k/trace.o] Error 1 -make[7]: *** [../scripts/Makefile.build:485: drivers/net/wireless/ath/ath10k] Error 2 +make[6]: *** [../scripts/Makefile.build:244: drivers/net/hyperv/netvsc_trace.o] Error 1 +make[5]: *** [../scripts/Makefile.build:485: drivers/net/hyperv] Error 2 @@ -23757,2 +25450,2 @@ -In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: -In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: +In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: +In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: @@ -23761,2 +25454,2 @@ -../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 29 | DECLARE_EVENT_CLASS(dpaa_eth_fd, +../drivers/gpu/drm/vc4/vc4_trace.h:17:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 17 | TRACE_EVENT(vc4_wait_for_seqno_begin, @@ -23763,0 +25457,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -23770,2 +25466,2 @@ -In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: -In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: +In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: +In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: @@ -23774 +25470,4 @@ -../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/vc4/vc4_trace.h:17:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -23781,2 +25480,2 @@ -In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: -In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: +In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: +In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: @@ -23785 +25484,4 @@ -../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/vc4/vc4_trace.h:17:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -23792,2 +25494,2 @@ -In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: -In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: +In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: +In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: @@ -23796 +25498,4 @@ -../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/gpu/drm/vc4/vc4_trace.h:17:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -23803,2 +25508,2 @@ -In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: -In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: +In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: +In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: @@ -23807 +25512,4 @@ -../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/vc4/vc4_trace.h:17:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -23814,2 +25522,2 @@ -In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: -In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: +In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: +In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: @@ -23818 +25526,4 @@ -../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/vc4/vc4_trace.h:17:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -23825,6 +25536,6 @@ -In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: -In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 29 | DECLARE_EVENT_CLASS(dpaa_eth_fd, +In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: +In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/gpu/drm/vc4/vc4_trace.h:37:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 37 | TRACE_EVENT(vc4_wait_for_seqno_end, @@ -23832,2 +25543,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -23835,2 +25546,2 @@ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -23838,7 +25549,2 @@ -In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: -In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -23846,2 +25552,13 @@ -../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: +In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/gpu/drm/vc4/vc4_trace.h:37:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -23849,7 +25566,7 @@ -In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: -In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'bpf_trace_guard' -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: +In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/gpu/drm/vc4/vc4_trace.h:37:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -23857,2 +25574,5 @@ -../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -23860,7 +25580,7 @@ -In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: -In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: +In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/gpu/drm/vc4/vc4_trace.h:37:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -23868,2 +25588,5 @@ -../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -23871,7 +25594,7 @@ -In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: -In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: +In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/gpu/drm/vc4/vc4_trace.h:37:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -23879,2 +25602,5 @@ -../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -23882,7 +25608,7 @@ -In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: -In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'bpf_trace_guard' -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: +In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/gpu/drm/vc4/vc4_trace.h:37:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -23890,2 +25616,5 @@ -../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -23893,4 +25622,2 @@ -12 errors generated. -make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/freescale/dpaa/dpaa_eth.o] Error 1 -In file included from ../drivers/gpu/drm/lima/lima_trace.c:7: -In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: +In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: +In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: @@ -23899,2 +25626,2 @@ -../drivers/gpu/drm/lima/lima_trace.h:13:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 13 | DECLARE_EVENT_CLASS(lima_task, +../drivers/gpu/drm/vc4/vc4_trace.h:55:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 55 | TRACE_EVENT(vc4_submit_cl_ioctl, @@ -23901,0 +25629,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -23908,2 +25638,2 @@ -In file included from ../drivers/gpu/drm/lima/lima_trace.c:7: -In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: +In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: +In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: @@ -23912 +25642,4 @@ -../drivers/gpu/drm/lima/lima_trace.h:13:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/vc4/vc4_trace.h:55:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -23919,2 +25652,2 @@ -In file included from ../drivers/gpu/drm/lima/lima_trace.c:7: -In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: +In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: +In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: @@ -23923 +25656,4 @@ -../drivers/gpu/drm/lima/lima_trace.h:13:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/vc4/vc4_trace.h:55:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -23930,2 +25666,2 @@ -In file included from ../drivers/gpu/drm/lima/lima_trace.c:7: -In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: +In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: +In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: @@ -23934 +25670,4 @@ -../drivers/gpu/drm/lima/lima_trace.h:13:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/gpu/drm/vc4/vc4_trace.h:55:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -23941,2 +25680,2 @@ -In file included from ../drivers/gpu/drm/lima/lima_trace.c:7: -In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: +In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: +In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: @@ -23945 +25684,4 @@ -../drivers/gpu/drm/lima/lima_trace.h:13:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/vc4/vc4_trace.h:55:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -23952,2 +25694,2 @@ -In file included from ../drivers/gpu/drm/lima/lima_trace.c:7: -In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: +In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: +In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: @@ -23956 +25698,4 @@ -../drivers/gpu/drm/lima/lima_trace.h:13:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/vc4/vc4_trace.h:55:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -23963,6 +25708,6 @@ -In file included from ../drivers/gpu/drm/lima/lima_trace.c:7: -In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/gpu/drm/lima/lima_trace.h:13:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 13 | DECLARE_EVENT_CLASS(lima_task, +In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: +In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/gpu/drm/vc4/vc4_trace.h:80:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 80 | TRACE_EVENT(vc4_submit_cl, @@ -23970,35 +25715,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ - | ^ -In file included from ../drivers/gpu/drm/lima/lima_trace.c:7: -In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/gpu/drm/lima/lima_trace.h:13:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ - | ^ -In file included from ../drivers/gpu/drm/lima/lima_trace.c:7: -In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/gpu/drm/lima/lima_trace.h:13:1: error: use of undeclared identifier 'bpf_trace_guard' -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ - | ^ -In file included from ../drivers/gpu/drm/lima/lima_trace.c:7: -In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/gpu/drm/lima/lima_trace.h:13:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -24006,10 +25718,2 @@ -../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ - | ^ -In file included from ../drivers/gpu/drm/lima/lima_trace.c:7: -In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/gpu/drm/lima/lima_trace.h:13:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -24017,10 +25721,2 @@ -../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ - | ^ -In file included from ../drivers/gpu/drm/lima/lima_trace.c:7: -In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/gpu/drm/lima/lima_trace.h:13:1: error: use of undeclared identifier 'bpf_trace_guard' -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -24028,8 +25724,4 @@ -../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ - | ^ -12 errors generated. -make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/lima/lima_trace.o] Error 1 -make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/freescale/dpaa] Error 2 -make[7]: *** Waiting for unfinished jobs.... -make[6]: *** [../scripts/Makefile.build:485: drivers/gpu/drm/lima] Error 2 +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. +make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/vc4/vc4_trace_points.o] Error 1 +make[6]: *** [../scripts/Makefile.build:485: drivers/gpu/drm/vc4] Error 2 @@ -24242,2 +25934,2 @@ -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: @@ -24247,2 +25939,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -24250,2 +25942,2 @@ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -24256 +25947,0 @@ -make[5]: *** [../scripts/Makefile.build:485: drivers/net/thunderbolt] Error 2 @@ -24476,0 +26168 @@ +make[5]: *** [../scripts/Makefile.build:485: drivers/net/thunderbolt] Error 2 @@ -24479,2 +26171,2 @@ -In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: -In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: @@ -24483,2 +26175,2 @@ -../drivers/net/wireless/ath/ath11k/trace.h:36:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 36 | TRACE_EVENT(ath11k_htt_pktlog, +../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 27 | DECLARE_EVENT_CLASS(dev_reg_evt, @@ -24486,3 +26177,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -24495,2 +26184,2 @@ -In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: -In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: @@ -24499,4 +26188 @@ -../drivers/net/wireless/ath/ath11k/trace.h:36:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' @@ -24509,2 +26195,2 @@ -In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: -In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: @@ -24513,4 +26199 @@ -../drivers/net/wireless/ath/ath11k/trace.h:36:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'trace_event_guard' @@ -24523,2 +26206,2 @@ -In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: -In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: @@ -24527,4 +26210 @@ -../drivers/net/wireless/ath/ath11k/trace.h:36:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -24537,2 +26217,2 @@ -In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: -In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: @@ -24541,4 +26221 @@ -../drivers/net/wireless/ath/ath11k/trace.h:36:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' @@ -24551,2 +26228,2 @@ -In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: -In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: @@ -24555,4 +26232 @@ -../drivers/net/wireless/ath/ath11k/trace.h:36:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'trace_event_guard' @@ -24565,2 +26239,2 @@ -In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: -In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: @@ -24569,2 +26243,2 @@ -../drivers/net/wireless/ath/ath11k/trace.h:67:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 67 | TRACE_EVENT(ath11k_htt_ppdu_stats, +../drivers/net/wireless/mediatek/mt76/usb_trace.h:54:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 54 | DECLARE_EVENT_CLASS(urb_transfer, @@ -24572,3 +26245,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -24581,2 +26252,2 @@ -In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: -In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: @@ -24585,4 +26256 @@ -../drivers/net/wireless/ath/ath11k/trace.h:67:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/wireless/mediatek/mt76/usb_trace.h:54:1: error: use of undeclared identifier 'preempt_notrace' @@ -24595,2 +26263,2 @@ -In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: -In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: @@ -24599,4 +26267 @@ -../drivers/net/wireless/ath/ath11k/trace.h:67:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/wireless/mediatek/mt76/usb_trace.h:54:1: error: use of undeclared identifier 'trace_event_guard' @@ -24609,2 +26274,2 @@ -In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: -In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: @@ -24613,4 +26278 @@ -../drivers/net/wireless/ath/ath11k/trace.h:67:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/wireless/mediatek/mt76/usb_trace.h:54:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -24623,2 +26285,2 @@ -In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: -In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: @@ -24627,4 +26289 @@ -../drivers/net/wireless/ath/ath11k/trace.h:67:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/wireless/mediatek/mt76/usb_trace.h:54:1: error: use of undeclared identifier 'preempt_notrace' @@ -24637,2 +26296,2 @@ -In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: -In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: @@ -24641,4 +26300 @@ -../drivers/net/wireless/ath/ath11k/trace.h:67:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/wireless/mediatek/mt76/usb_trace.h:54:1: error: use of undeclared identifier 'trace_event_guard' @@ -24651,2 +26307,87 @@ -In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: -In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 27 | DECLARE_EVENT_CLASS(dev_reg_evt, + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/wireless/mediatek/mt76/usb_trace.h:54:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 54 | DECLARE_EVENT_CLASS(urb_transfer, + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. +make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/mediatek/mt76/usb_trace.o] Error 1 +In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: +In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: +In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: @@ -24655,2 +26396,2 @@ -../drivers/net/wireless/ath/ath11k/trace.h:94:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 94 | TRACE_EVENT(ath11k_htt_rxdesc, +../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:17:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 17 | TRACE_EVENT(iwlwifi_dev_ioread32, @@ -24667,2 +26408,3 @@ -In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: -In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: +In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: +In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: +In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: @@ -24671 +26413 @@ -../drivers/net/wireless/ath/ath11k/trace.h:94:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:17:1: error: use of undeclared identifier 'preempt_notrace' @@ -24681,2 +26423,3 @@ -In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: -In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: +In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: +In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: +In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: @@ -24685 +26428 @@ -../drivers/net/wireless/ath/ath11k/trace.h:94:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:17:1: error: use of undeclared identifier 'trace_event_guard' @@ -24695,2 +26438,3 @@ -In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: -In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: +In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: +In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: +In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: @@ -24699 +26443 @@ -../drivers/net/wireless/ath/ath11k/trace.h:94:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:17:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -24709,2 +26453,3 @@ -In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: -In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: +In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: +In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: +In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: @@ -24713 +26458 @@ -../drivers/net/wireless/ath/ath11k/trace.h:94:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:17:1: error: use of undeclared identifier 'preempt_notrace' @@ -24723,2 +26468,3 @@ -In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: -In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: +In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: +In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: +In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: @@ -24727 +26473 @@ -../drivers/net/wireless/ath/ath11k/trace.h:94:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:17:1: error: use of undeclared identifier 'trace_event_guard' @@ -24737,2 +26483,3 @@ -In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: -In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: +In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: +In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: +In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: @@ -24741,2 +26488,2 @@ -../drivers/net/wireless/ath/ath11k/trace.h:124:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 124 | DECLARE_EVENT_CLASS(ath11k_log_event, +../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:34:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 34 | TRACE_EVENT(iwlwifi_dev_iowrite8, @@ -24744,5 +26491,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -24750,12 +26493,0 @@ -fatal error: too many errors emitted, stopping now [-ferror-limit=] -20 errors generated. -make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/ath/ath11k/trace.o] Error 1 -make[7]: *** [../scripts/Makefile.build:485: drivers/net/wireless/ath/ath11k] Error 2 -make[6]: *** [../scripts/Makefile.build:485: drivers/net/wireless/ath] Error 2 -In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: -In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/net/ethernet/intel/iavf/iavf_trace.h:59:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 59 | DECLARE_EVENT_CLASS( - | ^ @@ -24768,2 +26500,3 @@ -In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: -In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: +In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: +In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: +In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: @@ -24772 +26505,4 @@ -../drivers/net/ethernet/intel/iavf/iavf_trace.h:59:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:34:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -24779,2 +26515,3 @@ -In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: -In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: +In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: +In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: +In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: @@ -24783 +26520,4 @@ -../drivers/net/ethernet/intel/iavf/iavf_trace.h:59:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:34:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -24790,2 +26530,3 @@ -In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: -In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: +In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: +In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: +In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: @@ -24794 +26535,4 @@ -../drivers/net/ethernet/intel/iavf/iavf_trace.h:59:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:34:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -24801,2 +26545,3 @@ -In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: -In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: +In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: +In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: +In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: @@ -24805 +26550,4 @@ -../drivers/net/ethernet/intel/iavf/iavf_trace.h:59:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:34:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -24812,2 +26560,3 @@ -In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: -In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: +In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: +In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: +In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: @@ -24816 +26565,4 @@ -../drivers/net/ethernet/intel/iavf/iavf_trace.h:59:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:34:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -24823,2 +26575,3 @@ -In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: -In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: +In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: +In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: +In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: @@ -24827,2 +26580,2 @@ -../drivers/net/ethernet/intel/iavf/iavf_trace.h:111:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 111 | DECLARE_EVENT_CLASS( +../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:51:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 51 | TRACE_EVENT(iwlwifi_dev_iowrite32, @@ -24829,0 +26583,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -24836,2 +26592,3 @@ -In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: -In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: +In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: +In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: +In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: @@ -24840 +26597,4 @@ -../drivers/net/ethernet/intel/iavf/iavf_trace.h:111:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:51:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -24847,2 +26607,3 @@ -In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: -In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: +In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: +In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: +In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: @@ -24851 +26612,4 @@ -../drivers/net/ethernet/intel/iavf/iavf_trace.h:111:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:51:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -24858,2 +26622,3 @@ -In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: -In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: +In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: +In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: +In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: @@ -24862 +26627,4 @@ -../drivers/net/ethernet/intel/iavf/iavf_trace.h:111:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:51:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -24869,2 +26637,3 @@ -In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: -In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: +In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: +In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: +In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: @@ -24873 +26642,4 @@ -../drivers/net/ethernet/intel/iavf/iavf_trace.h:111:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:51:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -24880,2 +26652,3 @@ -In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: -In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: +In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: +In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: +In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: @@ -24884 +26657,4 @@ -../drivers/net/ethernet/intel/iavf/iavf_trace.h:111:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:51:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -24891,2 +26667,3 @@ -In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: -In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: +In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: +In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: +In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: @@ -24895,2 +26672,2 @@ -../drivers/net/ethernet/intel/iavf/iavf_trace.h:156:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 156 | DECLARE_EVENT_CLASS( +../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:68:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 68 | TRACE_EVENT(iwlwifi_dev_iowrite64, @@ -24897,0 +26675,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -24904,2 +26684,7 @@ -In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: -In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. +make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/intel/iwlwifi/iwl-devtrace.o] Error 1 +make[7]: *** [../scripts/Makefile.build:485: drivers/net/wireless/intel/iwlwifi] Error 2 +make[6]: *** [../scripts/Makefile.build:485: drivers/net/wireless/intel] Error 2 +In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: @@ -24908 +26693,20 @@ -../drivers/net/ethernet/intel/iavf/iavf_trace.h:156:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath11k/trace.h:36:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 36 | TRACE_EVENT(ath11k_htt_pktlog, + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/net/wireless/ath/ath11k/trace.h:36:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -24915,2 +26719,2 @@ -In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: -In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: +In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: @@ -24919 +26723,4 @@ -../drivers/net/ethernet/intel/iavf/iavf_trace.h:156:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/ath/ath11k/trace.h:36:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -24926,2 +26733,2 @@ -In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: -In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: +In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: @@ -24930 +26737,4 @@ -../drivers/net/ethernet/intel/iavf/iavf_trace.h:156:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/wireless/ath/ath11k/trace.h:36:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -24937,2 +26747,2 @@ -In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: -In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: +In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: @@ -24941 +26751,4 @@ -../drivers/net/ethernet/intel/iavf/iavf_trace.h:156:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath11k/trace.h:36:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -24948,2 +26761,2 @@ -In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: -In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: +In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: @@ -24952 +26765,4 @@ -../drivers/net/ethernet/intel/iavf/iavf_trace.h:156:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/ath/ath11k/trace.h:36:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -24959,20 +26775,2 @@ -In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: -In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/ethernet/intel/iavf/iavf_trace.h:59:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 59 | DECLARE_EVENT_CLASS( - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ - | ^ -fatal error: too many errors emitted, stopping now [-ferror-limit=] -20 errors generated. -make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/intel/iavf/iavf_main.o] Error 1 -make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/intel/iavf] Error 2 -make[7]: *** Waiting for unfinished jobs.... -In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: -In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: +In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: @@ -24981,2 +26779,2 @@ -../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 21 | TRACE_EVENT(e1000e_trace_mac_register, +../drivers/net/wireless/ath/ath11k/trace.h:67:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 67 | TRACE_EVENT(ath11k_htt_ppdu_stats, @@ -24993,2 +26791,2 @@ -In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: -In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: +In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: @@ -24997 +26795 @@ -../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath11k/trace.h:67:1: error: use of undeclared identifier 'preempt_notrace' @@ -25007,2 +26805,2 @@ -In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: -In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: +In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: @@ -25011 +26809 @@ -../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/ath/ath11k/trace.h:67:1: error: use of undeclared identifier 'trace_event_guard' @@ -25021,2 +26819,2 @@ -In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: -In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: +In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: @@ -25025 +26823 @@ -../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/wireless/ath/ath11k/trace.h:67:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -25035,2 +26833,2 @@ -In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: -In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: +In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: @@ -25039 +26837 @@ -../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath11k/trace.h:67:1: error: use of undeclared identifier 'preempt_notrace' @@ -25049,2 +26847,2 @@ -In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: -In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: +In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: @@ -25053 +26851 @@ -../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/ath/ath11k/trace.h:67:1: error: use of undeclared identifier 'trace_event_guard' @@ -25063,6 +26861,6 @@ -In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: -In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 21 | TRACE_EVENT(e1000e_trace_mac_register, +In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/net/wireless/ath/ath11k/trace.h:94:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 94 | TRACE_EVENT(ath11k_htt_rxdesc, @@ -25073,2 +26871,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -25076,2 +26874,2 @@ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -25079,5 +26877,5 @@ -In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: -In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' +In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/net/wireless/ath/ath11k/trace.h:94:1: error: use of undeclared identifier 'preempt_notrace' @@ -25087,2 +26885,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -25090,2 +26888,2 @@ -../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -25093,5 +26891,5 @@ -In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: -In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: use of undeclared identifier 'bpf_trace_guard' +In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/net/wireless/ath/ath11k/trace.h:94:1: error: use of undeclared identifier 'trace_event_guard' @@ -25101,2 +26899,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -25104,2 +26902,2 @@ -../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -25107,5 +26905,5 @@ -In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: -In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/net/wireless/ath/ath11k/trace.h:94:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -25115,2 +26913,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -25118,2 +26916,2 @@ -../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ +../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -25121,5 +26919,5 @@ -In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: -In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' +In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/net/wireless/ath/ath11k/trace.h:94:1: error: use of undeclared identifier 'preempt_notrace' @@ -25129,2 +26927,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -25132,2 +26930,2 @@ -../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ +../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -25135,5 +26933,5 @@ -In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: -In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: use of undeclared identifier 'bpf_trace_guard' +In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/net/wireless/ath/ath11k/trace.h:94:1: error: use of undeclared identifier 'trace_event_guard' @@ -25143,2 +26941,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -25146,2 +26944,2 @@ -../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ +../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -25149,17 +26947,2 @@ -../drivers/net/ethernet/intel/e1000e/netdev.c:4460:22: warning: shift count >= width of type [-Wshift-count-overflow] - 4460 | adapter->cc.mask = CYCLECOUNTER_MASK(64); - | ^~~~~~~~~~~~~~~~~~~~~ -../include/linux/timecounter.h:14:59: note: expanded from macro 'CYCLECOUNTER_MASK' - 14 | #define CYCLECOUNTER_MASK(bits) (u64)((bits) < 64 ? ((1ULL<<(bits))-1) : -1) - | ^ ~~~~~~ -../drivers/net/ethernet/intel/e1000e/netdev.c:7383:46: warning: shift count >= width of type [-Wshift-count-overflow] - 7383 | err = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64)); - | ^~~~~~~~~~~~~~~~ -../include/linux/dma-mapping.h:77:54: note: expanded from macro 'DMA_BIT_MASK' - 77 | #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) - | ^ ~~~ -2 warnings and 12 errors generated. -make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/intel/e1000e/netdev.o] Error 1 -make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/intel/e1000e] Error 2 -In file included from ../net/sunrpc/auth_gss/trace.c:14: -In file included from ../include/trace/events/rpcgss.h:688: +In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: @@ -25168,2 +26951,19 @@ -../include/trace/events/rpcgss.h:83:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 83 | DECLARE_EVENT_CLASS(rpcgss_gssapi_event, +../drivers/net/wireless/ath/ath11k/trace.h:124:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 124 | DECLARE_EVENT_CLASS(ath11k_log_event, + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. +make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/ath/ath11k/trace.o] Error 1 +make[7]: *** [../scripts/Makefile.build:485: drivers/net/wireless/ath/ath11k] Error 2 +In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/net/wireless/mediatek/mt76/trace.h:32:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 32 | DECLARE_EVENT_CLASS(dev_reg_evt, @@ -25177,2 +26977,2 @@ -In file included from ../net/sunrpc/auth_gss/trace.c:14: -In file included from ../include/trace/events/rpcgss.h:688: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: @@ -25181 +26981 @@ -../include/trace/events/rpcgss.h:83:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/mediatek/mt76/trace.h:32:1: error: use of undeclared identifier 'preempt_notrace' @@ -25188,2 +26988,2 @@ -In file included from ../net/sunrpc/auth_gss/trace.c:14: -In file included from ../include/trace/events/rpcgss.h:688: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: @@ -25192 +26992 @@ -../include/trace/events/rpcgss.h:83:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/mediatek/mt76/trace.h:32:1: error: use of undeclared identifier 'trace_event_guard' @@ -25199,2 +26999,2 @@ -In file included from ../net/sunrpc/auth_gss/trace.c:14: -In file included from ../include/trace/events/rpcgss.h:688: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: @@ -25203 +27003 @@ -../include/trace/events/rpcgss.h:83:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/wireless/mediatek/mt76/trace.h:32:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -25210,2 +27010,2 @@ -In file included from ../net/sunrpc/auth_gss/trace.c:14: -In file included from ../include/trace/events/rpcgss.h:688: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: @@ -25214 +27014 @@ -../include/trace/events/rpcgss.h:83:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/mediatek/mt76/trace.h:32:1: error: use of undeclared identifier 'preempt_notrace' @@ -25221,2 +27021,2 @@ -In file included from ../net/sunrpc/auth_gss/trace.c:14: -In file included from ../include/trace/events/rpcgss.h:688: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: @@ -25225 +27025 @@ -../include/trace/events/rpcgss.h:83:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/mediatek/mt76/trace.h:32:1: error: use of undeclared identifier 'trace_event_guard' @@ -25232,2 +27032,2 @@ -In file included from ../net/sunrpc/auth_gss/trace.c:14: -In file included from ../include/trace/events/rpcgss.h:688: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: @@ -25236,2 +27036,2 @@ -../include/trace/events/rpcgss.h:118:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 118 | TRACE_EVENT(rpcgss_import_ctx, +../drivers/net/wireless/mediatek/mt76/trace.h:59:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 59 | TRACE_EVENT(dev_irq, @@ -25248,2 +27048,2 @@ -In file included from ../net/sunrpc/auth_gss/trace.c:14: -In file included from ../include/trace/events/rpcgss.h:688: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: @@ -25252 +27052 @@ -../include/trace/events/rpcgss.h:118:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/mediatek/mt76/trace.h:59:1: error: use of undeclared identifier 'preempt_notrace' @@ -25262,2 +27062,2 @@ -In file included from ../net/sunrpc/auth_gss/trace.c:14: -In file included from ../include/trace/events/rpcgss.h:688: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: @@ -25266 +27066 @@ -../include/trace/events/rpcgss.h:118:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/mediatek/mt76/trace.h:59:1: error: use of undeclared identifier 'trace_event_guard' @@ -25276,2 +27076,2 @@ -In file included from ../net/sunrpc/auth_gss/trace.c:14: -In file included from ../include/trace/events/rpcgss.h:688: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: @@ -25280 +27080 @@ -../include/trace/events/rpcgss.h:118:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/wireless/mediatek/mt76/trace.h:59:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -25290,2 +27090,2 @@ -In file included from ../net/sunrpc/auth_gss/trace.c:14: -In file included from ../include/trace/events/rpcgss.h:688: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: @@ -25294 +27094 @@ -../include/trace/events/rpcgss.h:118:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/mediatek/mt76/trace.h:59:1: error: use of undeclared identifier 'preempt_notrace' @@ -25304,2 +27104,2 @@ -In file included from ../net/sunrpc/auth_gss/trace.c:14: -In file included from ../include/trace/events/rpcgss.h:688: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: @@ -25308 +27108 @@ -../include/trace/events/rpcgss.h:118:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/mediatek/mt76/trace.h:59:1: error: use of undeclared identifier 'trace_event_guard' @@ -25318,2 +27118,2 @@ -In file included from ../net/sunrpc/auth_gss/trace.c:14: -In file included from ../include/trace/events/rpcgss.h:688: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: @@ -25322,2 +27122,2 @@ -../include/trace/events/rpcgss.h:141:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 141 | DECLARE_EVENT_CLASS(rpcgss_ctx_class, +../drivers/net/wireless/mediatek/mt76/trace.h:82:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 82 | DECLARE_EVENT_CLASS(dev_txid_evt, @@ -25331,2 +27131,2 @@ -In file included from ../net/sunrpc/auth_gss/trace.c:14: -In file included from ../include/trace/events/rpcgss.h:688: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: @@ -25335 +27135 @@ -../include/trace/events/rpcgss.h:141:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/mediatek/mt76/trace.h:82:1: error: use of undeclared identifier 'preempt_notrace' @@ -25342,2 +27142,2 @@ -In file included from ../net/sunrpc/auth_gss/trace.c:14: -In file included from ../include/trace/events/rpcgss.h:688: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: @@ -25346 +27146 @@ -../include/trace/events/rpcgss.h:141:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/mediatek/mt76/trace.h:82:1: error: use of undeclared identifier 'trace_event_guard' @@ -25353,2 +27153,2 @@ -In file included from ../net/sunrpc/auth_gss/trace.c:14: -In file included from ../include/trace/events/rpcgss.h:688: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: @@ -25357 +27157 @@ -../include/trace/events/rpcgss.h:141:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/wireless/mediatek/mt76/trace.h:82:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -25364,2 +27164,2 @@ -In file included from ../net/sunrpc/auth_gss/trace.c:14: -In file included from ../include/trace/events/rpcgss.h:688: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: @@ -25368 +27168 @@ -../include/trace/events/rpcgss.h:141:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/mediatek/mt76/trace.h:82:1: error: use of undeclared identifier 'preempt_notrace' @@ -25375,2 +27175,2 @@ -In file included from ../net/sunrpc/auth_gss/trace.c:14: -In file included from ../include/trace/events/rpcgss.h:688: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: @@ -25379 +27179 @@ -../include/trace/events/rpcgss.h:141:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/mediatek/mt76/trace.h:82:1: error: use of undeclared identifier 'trace_event_guard' @@ -25386,6 +27186,6 @@ -In file included from ../net/sunrpc/auth_gss/trace.c:14: -In file included from ../include/trace/events/rpcgss.h:688: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/rpcgss.h:175:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 175 | DECLARE_EVENT_CLASS(rpcgss_svc_gssapi_class, +In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/wireless/mediatek/mt76/trace.h:32:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 32 | DECLARE_EVENT_CLASS(dev_reg_evt, @@ -25393,2 +27193,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -25396,2 +27196,2 @@ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -25401,5 +27201,3 @@ -make[6]: *** [../scripts/Makefile.build:244: net/sunrpc/auth_gss/trace.o] Error 1 -make[5]: *** [../scripts/Makefile.build:485: net/sunrpc/auth_gss] Error 2 -make[5]: *** Waiting for unfinished jobs.... -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: +make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/mediatek/mt76/trace.o] Error 1 +In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: @@ -25408,2 +27206,2 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:16:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 16 | TRACE_EVENT(hclge_vf_mbx_get, +../drivers/net/wireless/ath/ath10k/trace.h:49:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 49 | DECLARE_EVENT_CLASS(ath10k_log_event, @@ -25411,3 +27208,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -25420,2 +27215,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: +In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: @@ -25424,4 +27219 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:16:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/wireless/ath/ath10k/trace.h:49:1: error: use of undeclared identifier 'preempt_notrace' @@ -25434,2 +27226,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: +In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: @@ -25438,4 +27230 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:16:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/wireless/ath/ath10k/trace.h:49:1: error: use of undeclared identifier 'trace_event_guard' @@ -25448,2 +27237,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: +In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: @@ -25452,4 +27241 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:16:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/wireless/ath/ath10k/trace.h:49:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -25462,2 +27248,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: +In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: @@ -25466,4 +27252 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:16:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/wireless/ath/ath10k/trace.h:49:1: error: use of undeclared identifier 'preempt_notrace' @@ -25476,2 +27259,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: +In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: @@ -25480,4 +27263 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:16:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/wireless/ath/ath10k/trace.h:49:1: error: use of undeclared identifier 'trace_event_guard' @@ -25490,2 +27270,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: +In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: @@ -25494,2 +27274,2 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:47:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 47 | TRACE_EVENT(hclge_vf_mbx_send, +../drivers/net/wireless/ath/ath10k/trace.h:85:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 85 | TRACE_EVENT(ath10k_log_dbg, @@ -25506,2 +27286,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: +In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: @@ -25510 +27290 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:47:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath10k/trace.h:85:1: error: use of undeclared identifier 'preempt_notrace' @@ -25520,2 +27300,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: +In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: @@ -25524 +27304 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:47:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/ath/ath10k/trace.h:85:1: error: use of undeclared identifier 'trace_event_guard' @@ -25534,2 +27314,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: +In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: @@ -25538 +27318 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:47:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/wireless/ath/ath10k/trace.h:85:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -25548,2 +27328,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: +In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: @@ -25552 +27332 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:47:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath10k/trace.h:85:1: error: use of undeclared identifier 'preempt_notrace' @@ -25562,2 +27342,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: +In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: @@ -25566 +27346 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:47:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/ath/ath10k/trace.h:85:1: error: use of undeclared identifier 'trace_event_guard' @@ -25576,2 +27356,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: +In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: @@ -25580,2 +27360,2 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:80:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 80 | DECLARE_EVENT_CLASS(hclge_vf_cmd_template, +../drivers/net/wireless/ath/ath10k/trace.h:108:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 108 | TRACE_EVENT(ath10k_log_dbg_dump, @@ -25582,0 +27363,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -25589,2 +27372,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: +In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: @@ -25593 +27376,4 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:80:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath10k/trace.h:108:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -25600,2 +27386,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: +In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: @@ -25604 +27390,4 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:80:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/ath/ath10k/trace.h:108:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -25611,2 +27400,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: +In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: @@ -25615 +27404,4 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:80:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/wireless/ath/ath10k/trace.h:108:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -25622,2 +27414,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: +In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: @@ -25626 +27418,4 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:80:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath10k/trace.h:108:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -25633,2 +27428,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: +In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: @@ -25637 +27432,4 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:80:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/ath/ath10k/trace.h:108:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -25644,6 +27442,6 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:16:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 16 | TRACE_EVENT(hclge_vf_mbx_get, +In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/net/wireless/ath/ath10k/trace.h:141:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 141 | TRACE_EVENT(ath10k_wmi_cmd, @@ -25654,2 +27452,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -25657,2 +27455,2 @@ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -25662,4 +27460,5 @@ -make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.o] Error 1 -make[8]: *** Waiting for unfinished jobs.... -In file included from ../drivers/net/hyperv/netvsc_trace.c:7: -In file included from ../drivers/net/hyperv/netvsc_trace.h:182: +make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/ath/ath10k/trace.o] Error 1 +make[7]: *** [../scripts/Makefile.build:485: drivers/net/wireless/ath/ath10k] Error 2 +make[6]: *** [../scripts/Makefile.build:485: drivers/net/wireless/ath] Error 2 +In file included from ../drivers/net/fjes/fjes_trace.c:13: +In file included from ../drivers/net/fjes/fjes_trace.h:365: @@ -25668,2 +27467,2 @@ -../drivers/net/hyperv/netvsc_trace.h:42:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 42 | DECLARE_EVENT_CLASS(rndis_msg_class, +../drivers/net/fjes/fjes_trace.h:18:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 18 | TRACE_EVENT(fjes_hw_issue_request_command, @@ -25670,0 +27470,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -25677,2 +27479,2 @@ -In file included from ../drivers/net/hyperv/netvsc_trace.c:7: -In file included from ../drivers/net/hyperv/netvsc_trace.h:182: +In file included from ../drivers/net/fjes/fjes_trace.c:13: +In file included from ../drivers/net/fjes/fjes_trace.h:365: @@ -25681 +27483,4 @@ -../drivers/net/hyperv/netvsc_trace.h:42:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/fjes/fjes_trace.h:18:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -25688,2 +27493,2 @@ -In file included from ../drivers/net/hyperv/netvsc_trace.c:7: -In file included from ../drivers/net/hyperv/netvsc_trace.h:182: +In file included from ../drivers/net/fjes/fjes_trace.c:13: +In file included from ../drivers/net/fjes/fjes_trace.h:365: @@ -25692 +27497,4 @@ -../drivers/net/hyperv/netvsc_trace.h:42:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/fjes/fjes_trace.h:18:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -25699,2 +27507,2 @@ -In file included from ../drivers/net/hyperv/netvsc_trace.c:7: -In file included from ../drivers/net/hyperv/netvsc_trace.h:182: +In file included from ../drivers/net/fjes/fjes_trace.c:13: +In file included from ../drivers/net/fjes/fjes_trace.h:365: @@ -25703 +27511,4 @@ -../drivers/net/hyperv/netvsc_trace.h:42:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/fjes/fjes_trace.h:18:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -25710,2 +27521,2 @@ -In file included from ../drivers/net/hyperv/netvsc_trace.c:7: -In file included from ../drivers/net/hyperv/netvsc_trace.h:182: +In file included from ../drivers/net/fjes/fjes_trace.c:13: +In file included from ../drivers/net/fjes/fjes_trace.h:365: @@ -25714 +27525,4 @@ -../drivers/net/hyperv/netvsc_trace.h:42:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/fjes/fjes_trace.h:18:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -25721,2 +27535,2 @@ -In file included from ../drivers/net/hyperv/netvsc_trace.c:7: -In file included from ../drivers/net/hyperv/netvsc_trace.h:182: +In file included from ../drivers/net/fjes/fjes_trace.c:13: +In file included from ../drivers/net/fjes/fjes_trace.h:365: @@ -25725 +27539,4 @@ -../drivers/net/hyperv/netvsc_trace.h:42:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/fjes/fjes_trace.h:18:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -25732,2 +27549,2 @@ -In file included from ../drivers/net/hyperv/netvsc_trace.c:7: -In file included from ../drivers/net/hyperv/netvsc_trace.h:182: +In file included from ../drivers/net/fjes/fjes_trace.c:13: +In file included from ../drivers/net/fjes/fjes_trace.h:365: @@ -25736,2 +27553,2 @@ -../drivers/net/hyperv/netvsc_trace.h:115:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 115 | TRACE_EVENT(nvsp_send, +../drivers/net/fjes/fjes_trace.h:50:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 50 | TRACE_EVENT(fjes_hw_request_info, @@ -25748,2 +27565,2 @@ -In file included from ../drivers/net/hyperv/netvsc_trace.c:7: -In file included from ../drivers/net/hyperv/netvsc_trace.h:182: +In file included from ../drivers/net/fjes/fjes_trace.c:13: +In file included from ../drivers/net/fjes/fjes_trace.h:365: @@ -25752 +27569 @@ -../drivers/net/hyperv/netvsc_trace.h:115:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/fjes/fjes_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' @@ -25762,2 +27579,2 @@ -In file included from ../drivers/net/hyperv/netvsc_trace.c:7: -In file included from ../drivers/net/hyperv/netvsc_trace.h:182: +In file included from ../drivers/net/fjes/fjes_trace.c:13: +In file included from ../drivers/net/fjes/fjes_trace.h:365: @@ -25766 +27583 @@ -../drivers/net/hyperv/netvsc_trace.h:115:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/fjes/fjes_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' @@ -25776,2 +27593,2 @@ -In file included from ../drivers/net/hyperv/netvsc_trace.c:7: -In file included from ../drivers/net/hyperv/netvsc_trace.h:182: +In file included from ../drivers/net/fjes/fjes_trace.c:13: +In file included from ../drivers/net/fjes/fjes_trace.h:365: @@ -25780 +27597 @@ -../drivers/net/hyperv/netvsc_trace.h:115:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/fjes/fjes_trace.h:50:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -25790,2 +27607,2 @@ -In file included from ../drivers/net/hyperv/netvsc_trace.c:7: -In file included from ../drivers/net/hyperv/netvsc_trace.h:182: +In file included from ../drivers/net/fjes/fjes_trace.c:13: +In file included from ../drivers/net/fjes/fjes_trace.h:365: @@ -25794 +27611 @@ -../drivers/net/hyperv/netvsc_trace.h:115:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/fjes/fjes_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' @@ -25804,2 +27621,2 @@ -In file included from ../drivers/net/hyperv/netvsc_trace.c:7: -In file included from ../drivers/net/hyperv/netvsc_trace.h:182: +In file included from ../drivers/net/fjes/fjes_trace.c:13: +In file included from ../drivers/net/fjes/fjes_trace.h:365: @@ -25808 +27625 @@ -../drivers/net/hyperv/netvsc_trace.h:115:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/fjes/fjes_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' @@ -25818,2 +27635,2 @@ -In file included from ../drivers/net/hyperv/netvsc_trace.c:7: -In file included from ../drivers/net/hyperv/netvsc_trace.h:182: +In file included from ../drivers/net/fjes/fjes_trace.c:13: +In file included from ../drivers/net/fjes/fjes_trace.h:365: @@ -25822,2 +27639,2 @@ -../drivers/net/hyperv/netvsc_trace.h:132:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 132 | TRACE_EVENT(nvsp_send_pkt, +../drivers/net/fjes/fjes_trace.h:81:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 81 | TRACE_EVENT(fjes_hw_request_info_err, @@ -25834,2 +27651,2 @@ -In file included from ../drivers/net/hyperv/netvsc_trace.c:7: -In file included from ../drivers/net/hyperv/netvsc_trace.h:182: +In file included from ../drivers/net/fjes/fjes_trace.c:13: +In file included from ../drivers/net/fjes/fjes_trace.h:365: @@ -25838 +27655 @@ -../drivers/net/hyperv/netvsc_trace.h:132:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/fjes/fjes_trace.h:81:1: error: use of undeclared identifier 'preempt_notrace' @@ -25848,2 +27665,2 @@ -In file included from ../drivers/net/hyperv/netvsc_trace.c:7: -In file included from ../drivers/net/hyperv/netvsc_trace.h:182: +In file included from ../drivers/net/fjes/fjes_trace.c:13: +In file included from ../drivers/net/fjes/fjes_trace.h:365: @@ -25852 +27669 @@ -../drivers/net/hyperv/netvsc_trace.h:132:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/fjes/fjes_trace.h:81:1: error: use of undeclared identifier 'trace_event_guard' @@ -25862,2 +27679,2 @@ -In file included from ../drivers/net/hyperv/netvsc_trace.c:7: -In file included from ../drivers/net/hyperv/netvsc_trace.h:182: +In file included from ../drivers/net/fjes/fjes_trace.c:13: +In file included from ../drivers/net/fjes/fjes_trace.h:365: @@ -25866 +27683 @@ -../drivers/net/hyperv/netvsc_trace.h:132:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/fjes/fjes_trace.h:81:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -25876,2 +27693,2 @@ -In file included from ../drivers/net/hyperv/netvsc_trace.c:7: -In file included from ../drivers/net/hyperv/netvsc_trace.h:182: +In file included from ../drivers/net/fjes/fjes_trace.c:13: +In file included from ../drivers/net/fjes/fjes_trace.h:365: @@ -25880 +27697 @@ -../drivers/net/hyperv/netvsc_trace.h:132:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/fjes/fjes_trace.h:81:1: error: use of undeclared identifier 'preempt_notrace' @@ -25890,2 +27707,2 @@ -In file included from ../drivers/net/hyperv/netvsc_trace.c:7: -In file included from ../drivers/net/hyperv/netvsc_trace.h:182: +In file included from ../drivers/net/fjes/fjes_trace.c:13: +In file included from ../drivers/net/fjes/fjes_trace.h:365: @@ -25894 +27711 @@ -../drivers/net/hyperv/netvsc_trace.h:132:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/fjes/fjes_trace.h:81:1: error: use of undeclared identifier 'trace_event_guard' @@ -25904,2 +27721,2 @@ -In file included from ../drivers/net/hyperv/netvsc_trace.c:7: -In file included from ../drivers/net/hyperv/netvsc_trace.h:182: +In file included from ../drivers/net/fjes/fjes_trace.c:13: +In file included from ../drivers/net/fjes/fjes_trace.h:365: @@ -25908,2 +27725,2 @@ -../drivers/net/hyperv/netvsc_trace.h:157:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 157 | TRACE_EVENT(nvsp_recv, +../drivers/net/fjes/fjes_trace.h:93:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 93 | TRACE_EVENT(fjes_hw_register_buff_addr_req, @@ -25922,4 +27739,4 @@ -make[6]: *** [../scripts/Makefile.build:244: drivers/net/hyperv/netvsc_trace.o] Error 1 -make[5]: *** [../scripts/Makefile.build:485: drivers/net/hyperv] Error 2 -In file included from ../net/sunrpc/sched.c:31: -In file included from ../include/trace/events/sunrpc.h:2518: +make[6]: *** [../scripts/Makefile.build:244: drivers/net/fjes/fjes_trace.o] Error 1 +make[5]: *** [../scripts/Makefile.build:485: drivers/net/fjes] Error 2 +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: @@ -25928,2 +27745,2 @@ -../include/trace/events/sunrpc.h:52:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 52 | DECLARE_EVENT_CLASS(rpc_xdr_buf_class, +../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 26 | DECLARE_EVENT_CLASS(dev_evt, @@ -25937,2 +27754,2 @@ -In file included from ../net/sunrpc/sched.c:31: -In file included from ../include/trace/events/sunrpc.h:2518: +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: @@ -25941 +27758 @@ -../include/trace/events/sunrpc.h:52:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: use of undeclared identifier 'preempt_notrace' @@ -25948,2 +27765,2 @@ -In file included from ../net/sunrpc/sched.c:31: -In file included from ../include/trace/events/sunrpc.h:2518: +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: @@ -25952 +27769 @@ -../include/trace/events/sunrpc.h:52:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: use of undeclared identifier 'trace_event_guard' @@ -25959,2 +27776,2 @@ -In file included from ../net/sunrpc/sched.c:31: -In file included from ../include/trace/events/sunrpc.h:2518: +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: @@ -25963 +27780 @@ -../include/trace/events/sunrpc.h:52:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -25970,2 +27787,2 @@ -In file included from ../net/sunrpc/sched.c:31: -In file included from ../include/trace/events/sunrpc.h:2518: +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: @@ -25974 +27791 @@ -../include/trace/events/sunrpc.h:52:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: use of undeclared identifier 'preempt_notrace' @@ -25981,2 +27798,2 @@ -In file included from ../net/sunrpc/sched.c:31: -In file included from ../include/trace/events/sunrpc.h:2518: +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: @@ -25985 +27802 @@ -../include/trace/events/sunrpc.h:52:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: use of undeclared identifier 'trace_event_guard' @@ -25992,2 +27809,2 @@ -In file included from ../net/sunrpc/sched.c:31: -In file included from ../include/trace/events/sunrpc.h:2518: +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: @@ -25996,2 +27813,2 @@ -../include/trace/events/sunrpc.h:109:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 109 | DECLARE_EVENT_CLASS(rpc_clnt_class, +../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:43:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 43 | TRACE_EVENT(mac_txstat_fetch, @@ -25998,0 +27816,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -26005,2 +27825,2 @@ -In file included from ../net/sunrpc/sched.c:31: -In file included from ../include/trace/events/sunrpc.h:2518: +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: @@ -26009 +27829,4 @@ -../include/trace/events/sunrpc.h:109:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:43:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -26016,2 +27839,2 @@ -In file included from ../net/sunrpc/sched.c:31: -In file included from ../include/trace/events/sunrpc.h:2518: +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: @@ -26020 +27843,4 @@ -../include/trace/events/sunrpc.h:109:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:43:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -26027,2 +27853,2 @@ -In file included from ../net/sunrpc/sched.c:31: -In file included from ../include/trace/events/sunrpc.h:2518: +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: @@ -26031 +27857,4 @@ -../include/trace/events/sunrpc.h:109:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:43:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -26038,2 +27867,2 @@ -In file included from ../net/sunrpc/sched.c:31: -In file included from ../include/trace/events/sunrpc.h:2518: +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: @@ -26042 +27871,4 @@ -../include/trace/events/sunrpc.h:109:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:43:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -26049,2 +27881,2 @@ -In file included from ../net/sunrpc/sched.c:31: -In file included from ../include/trace/events/sunrpc.h:2518: +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: @@ -26053 +27885,4 @@ -../include/trace/events/sunrpc.h:109:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:43:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -26060,2 +27895,89 @@ -In file included from ../net/sunrpc/sched.c:31: -In file included from ../include/trace/events/sunrpc.h:2518: +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 26 | DECLARE_EVENT_CLASS(dev_evt, + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:43:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 43 | TRACE_EVENT(mac_txstat_fetch, + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. +make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/mediatek/mt76/mt76x02_trace.o] Error 1 +In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: +In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: @@ -26064,2 +27986,2 @@ -../include/trace/events/sunrpc.h:168:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 168 | TRACE_EVENT(rpc_clnt_new, +../drivers/gpu/drm/v3d/v3d_trace.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 15 | TRACE_EVENT(v3d_submit_cl_ioctl, @@ -26076,2 +27998,2 @@ -In file included from ../net/sunrpc/sched.c:31: -In file included from ../include/trace/events/sunrpc.h:2518: +In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: +In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: @@ -26080 +28002 @@ -../include/trace/events/sunrpc.h:168:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/v3d/v3d_trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' @@ -26090,2 +28012,2 @@ -In file included from ../net/sunrpc/sched.c:31: -In file included from ../include/trace/events/sunrpc.h:2518: +In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: +In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: @@ -26094 +28016 @@ -../include/trace/events/sunrpc.h:168:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/v3d/v3d_trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' @@ -26104,2 +28026,2 @@ -In file included from ../net/sunrpc/sched.c:31: -In file included from ../include/trace/events/sunrpc.h:2518: +In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: +In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: @@ -26108 +28030 @@ -../include/trace/events/sunrpc.h:168:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/gpu/drm/v3d/v3d_trace.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -26118,2 +28040,2 @@ -In file included from ../net/sunrpc/sched.c:31: -In file included from ../include/trace/events/sunrpc.h:2518: +In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: +In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: @@ -26122 +28044 @@ -../include/trace/events/sunrpc.h:168:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/v3d/v3d_trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' @@ -26132,2 +28054,2 @@ -In file included from ../net/sunrpc/sched.c:31: -In file included from ../include/trace/events/sunrpc.h:2518: +In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: +In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: @@ -26136 +28058 @@ -../include/trace/events/sunrpc.h:168:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/v3d/v3d_trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' @@ -26146,2 +28068,2 @@ -In file included from ../net/sunrpc/sched.c:31: -In file included from ../include/trace/events/sunrpc.h:2518: +In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: +In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: @@ -26150,2 +28072,2 @@ -../include/trace/events/sunrpc.h:206:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 206 | TRACE_EVENT(rpc_clnt_new_err, +../drivers/gpu/drm/v3d/v3d_trace.h:37:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 37 | TRACE_EVENT(v3d_submit_cl, @@ -26162,5 +28084,2 @@ -fatal error: too many errors emitted, stopping now [-ferror-limit=] -20 errors generated. -make[5]: *** [../scripts/Makefile.build:244: net/sunrpc/sched.o] Error 1 -In file included from ../net/wireless/trace.c:5: -In file included from ../net/wireless/trace.h:4093: +In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: +In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: @@ -26169,8 +28088,3 @@ -../net/wireless/trace.h:249:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 249 | DECLARE_EVENT_CLASS(wiphy_work_event, - | ^ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../drivers/gpu/drm/v3d/v3d_trace.h:37:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -26178,5 +28091,0 @@ -In file included from ../net/wireless/trace.c:5: -In file included from ../net/wireless/trace.h:4093: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../net/wireless/trace.h:249:1: error: use of undeclared identifier 'preempt_notrace' @@ -26189,2 +28098,2 @@ -In file included from ../net/wireless/trace.c:5: -In file included from ../net/wireless/trace.h:4093: +In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: +In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: @@ -26193 +28102,4 @@ -../net/wireless/trace.h:249:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/v3d/v3d_trace.h:37:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -26200,2 +28112,2 @@ -In file included from ../net/wireless/trace.c:5: -In file included from ../net/wireless/trace.h:4093: +In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: +In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: @@ -26204 +28116,4 @@ -../net/wireless/trace.h:249:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/gpu/drm/v3d/v3d_trace.h:37:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -26211,2 +28126,2 @@ -In file included from ../net/wireless/trace.c:5: -In file included from ../net/wireless/trace.h:4093: +In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: +In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: @@ -26215 +28130,4 @@ -../net/wireless/trace.h:249:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/v3d/v3d_trace.h:37:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -26222,2 +28140,2 @@ -In file included from ../net/wireless/trace.c:5: -In file included from ../net/wireless/trace.h:4093: +In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: +In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: @@ -26226 +28144,4 @@ -../net/wireless/trace.h:249:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/v3d/v3d_trace.h:37:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -26233,2 +28154,2 @@ -In file included from ../net/wireless/trace.c:5: -In file included from ../net/wireless/trace.h:4093: +In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: +In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: @@ -26237,2 +28158,2 @@ -../net/wireless/trace.h:286:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 286 | TRACE_EVENT(wiphy_delayed_work_queue, +../drivers/gpu/drm/v3d/v3d_trace.h:67:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 67 | TRACE_EVENT(v3d_bcl_irq, @@ -26249,2 +28170,2 @@ -In file included from ../net/wireless/trace.c:5: -In file included from ../net/wireless/trace.h:4093: +In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: +In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: @@ -26253 +28174 @@ -../net/wireless/trace.h:286:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/v3d/v3d_trace.h:67:1: error: use of undeclared identifier 'preempt_notrace' @@ -26263,2 +28184,2 @@ -In file included from ../net/wireless/trace.c:5: -In file included from ../net/wireless/trace.h:4093: +In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: +In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: @@ -26267 +28188 @@ -../net/wireless/trace.h:286:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/v3d/v3d_trace.h:67:1: error: use of undeclared identifier 'trace_event_guard' @@ -26277,3 +28198,3 @@ -In file included from ../net/wireless/trace.c:5: -In file included from ../net/wireless/trace.h:4093: -In file included from ../include/trace/define_trace.h:108: +In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: +In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: +In file included from ../include/trace/define_trace.h:108: @@ -26281 +28202 @@ -../net/wireless/trace.h:286:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/gpu/drm/v3d/v3d_trace.h:67:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -26291,2 +28212,2 @@ -In file included from ../net/wireless/trace.c:5: -In file included from ../net/wireless/trace.h:4093: +In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: +In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: @@ -26295 +28216 @@ -../net/wireless/trace.h:286:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/v3d/v3d_trace.h:67:1: error: use of undeclared identifier 'preempt_notrace' @@ -26305,2 +28226,2 @@ -In file included from ../net/wireless/trace.c:5: -In file included from ../net/wireless/trace.h:4093: +In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: +In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: @@ -26309 +28230 @@ -../net/wireless/trace.h:286:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/v3d/v3d_trace.h:67:1: error: use of undeclared identifier 'trace_event_guard' @@ -26319,2 +28240,2 @@ -In file included from ../net/wireless/trace.c:5: -In file included from ../net/wireless/trace.h:4093: +In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: +In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: @@ -26323,2 +28244,2 @@ -../net/wireless/trace.h:307:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 307 | TRACE_EVENT(wiphy_work_worker_start, +../drivers/gpu/drm/v3d/v3d_trace.h:87:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 87 | TRACE_EVENT(v3d_rcl_irq, @@ -26335,2 +28256,6 @@ -In file included from ../net/wireless/trace.c:5: -In file included from ../net/wireless/trace.h:4093: +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. +make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/v3d/v3d_trace_points.o] Error 1 +make[6]: *** [../scripts/Makefile.build:485: drivers/gpu/drm/v3d] Error 2 +In file included from ../kernel/sched/core.c:84: +In file included from ../include/trace/events/sched.h:830: @@ -26339 +28264,17 @@ -../net/wireless/trace.h:307:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/sched.h:16:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 16 | TRACE_EVENT(sched_kthread_stop, + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../kernel/sched/core.c:84: +In file included from ../include/trace/events/sched.h:830: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/sched.h:16:1: error: use of undeclared identifier 'preempt_notrace' @@ -26349,2 +28290,2 @@ -In file included from ../net/wireless/trace.c:5: -In file included from ../net/wireless/trace.h:4093: +In file included from ../kernel/sched/core.c:84: +In file included from ../include/trace/events/sched.h:830: @@ -26353 +28294 @@ -../net/wireless/trace.h:307:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/sched.h:16:1: error: use of undeclared identifier 'trace_event_guard' @@ -26363,2 +28304,2 @@ -In file included from ../net/wireless/trace.c:5: -In file included from ../net/wireless/trace.h:4093: +In file included from ../kernel/sched/core.c:84: +In file included from ../include/trace/events/sched.h:830: @@ -26367 +28308 @@ -../net/wireless/trace.h:307:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/sched.h:16:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -26377,2 +28318,2 @@ -In file included from ../net/wireless/trace.c:5: -In file included from ../net/wireless/trace.h:4093: +In file included from ../kernel/sched/core.c:84: +In file included from ../include/trace/events/sched.h:830: @@ -26381 +28322 @@ -../net/wireless/trace.h:307:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/sched.h:16:1: error: use of undeclared identifier 'preempt_notrace' @@ -26391,2 +28332,2 @@ -In file included from ../net/wireless/trace.c:5: -In file included from ../net/wireless/trace.h:4093: +In file included from ../kernel/sched/core.c:84: +In file included from ../include/trace/events/sched.h:830: @@ -26395 +28336 @@ -../net/wireless/trace.h:307:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/sched.h:16:1: error: use of undeclared identifier 'trace_event_guard' @@ -26405,22 +28346,2 @@ -In file included from ../net/wireless/trace.c:5: -In file included from ../net/wireless/trace.h:4093: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../net/wireless/trace.h:323:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 323 | TRACE_EVENT(rdev_suspend, - | ^ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ - | ^ -fatal error: too many errors emitted, stopping now [-ferror-limit=] -20 errors generated. -make[5]: *** [../scripts/Makefile.build:244: net/wireless/trace.o] Error 1 -make[4]: *** [../scripts/Makefile.build:485: net/wireless] Error 2 -In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: +In file included from ../kernel/sched/core.c:84: +In file included from ../include/trace/events/sched.h:830: @@ -26429,2 +28350,2 @@ -../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 23 | TRACE_EVENT(lp_event, +../include/trace/events/sched.h:38:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 38 | TRACE_EVENT(sched_kthread_stop_ret, @@ -26441,2 +28362,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: +In file included from ../kernel/sched/core.c:84: +In file included from ../include/trace/events/sched.h:830: @@ -26445 +28366 @@ -../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/sched.h:38:1: error: use of undeclared identifier 'preempt_notrace' @@ -26455,2 +28376,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: +In file included from ../kernel/sched/core.c:84: +In file included from ../include/trace/events/sched.h:830: @@ -26459 +28380 @@ -../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/sched.h:38:1: error: use of undeclared identifier 'trace_event_guard' @@ -26469,2 +28390,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: +In file included from ../kernel/sched/core.c:84: +In file included from ../include/trace/events/sched.h:830: @@ -26473 +28394 @@ -../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/sched.h:38:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -26483,2 +28404,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: +In file included from ../kernel/sched/core.c:84: +In file included from ../include/trace/events/sched.h:830: @@ -26487 +28408 @@ -../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/sched.h:38:1: error: use of undeclared identifier 'preempt_notrace' @@ -26497,2 +28418,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: +In file included from ../kernel/sched/core.c:84: +In file included from ../include/trace/events/sched.h:830: @@ -26501 +28422 @@ -../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/sched.h:38:1: error: use of undeclared identifier 'trace_event_guard' @@ -26511,6 +28432,6 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 23 | TRACE_EVENT(lp_event, +In file included from ../kernel/sched/core.c:84: +In file included from ../include/trace/events/sched.h:830: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/sched.h:64:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 64 | TRACE_EVENT(sched_kthread_work_queue_work, @@ -26521,85 +28441,0 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ - | ^ -In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ - | ^ -In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: use of undeclared identifier 'bpf_trace_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ - | ^ -In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ - | ^ -In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ - | ^ -In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: use of undeclared identifier 'bpf_trace_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ - | ^ -12 errors generated. -make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/mediatek/mt76/mt792x_trace.o] Error 1 -In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: -In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 11 | DECLARE_EVENT_CLASS(virtio_gpu_cmd, - | ^ @@ -26612,2 +28448,2 @@ -In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: -In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: +In file included from ../kernel/sched/core.c:84: +In file included from ../include/trace/events/sched.h:830: @@ -26616 +28452,4 @@ -../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/sched.h:64:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -26623,2 +28462,2 @@ -In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: -In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: +In file included from ../kernel/sched/core.c:84: +In file included from ../include/trace/events/sched.h:830: @@ -26627 +28466,4 @@ -../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/sched.h:64:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -26634,2 +28476,2 @@ -In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: -In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: +In file included from ../kernel/sched/core.c:84: +In file included from ../include/trace/events/sched.h:830: @@ -26638 +28480,4 @@ -../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/sched.h:64:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -26645,2 +28490,2 @@ -In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: -In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: +In file included from ../kernel/sched/core.c:84: +In file included from ../include/trace/events/sched.h:830: @@ -26649 +28494,4 @@ -../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/sched.h:64:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -26656,2 +28504,2 @@ -In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: -In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: +In file included from ../kernel/sched/core.c:84: +In file included from ../include/trace/events/sched.h:830: @@ -26660 +28508,4 @@ -../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/sched.h:64:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -26667,6 +28518,6 @@ -In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: -In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 11 | DECLARE_EVENT_CLASS(virtio_gpu_cmd, +In file included from ../kernel/sched/core.c:84: +In file included from ../include/trace/events/sched.h:830: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../include/trace/events/sched.h:93:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 93 | TRACE_EVENT(sched_kthread_work_execute_start, @@ -26674,35 +28525,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ - | ^ -In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: -In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ - | ^ -In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: -In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'bpf_trace_guard' -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ - | ^ -In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: -In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -26710,10 +28528,2 @@ -../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ - | ^ -In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: -In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -26721,10 +28531,2 @@ -../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ - | ^ -In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: -In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'bpf_trace_guard' -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -26732,7 +28534,7 @@ -../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ - | ^ -12 errors generated. -make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/virtio/virtgpu_trace_points.o] Error 1 -In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: -In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. +make[5]: *** [../scripts/Makefile.build:244: kernel/sched/core.o] Error 1 +make[4]: *** [../scripts/Makefile.build:485: kernel/sched] Error 2 +make[3]: *** [../scripts/Makefile.build:485: kernel] Error 2 +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: @@ -26741,2 +28543,2 @@ -../drivers/gpu/drm/v3d/v3d_trace.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 15 | TRACE_EVENT(v3d_submit_cl_ioctl, +../drivers/net/ethernet/fungible/funeth/funeth_trace.h:13:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 13 | TRACE_EVENT(funeth_tx, @@ -26753,2 +28555,2 @@ -In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: -In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: @@ -26757 +28559 @@ -../drivers/gpu/drm/v3d/v3d_trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/fungible/funeth/funeth_trace.h:13:1: error: use of undeclared identifier 'preempt_notrace' @@ -26767,2 +28569,2 @@ -In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: -In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: @@ -26771 +28573 @@ -../drivers/gpu/drm/v3d/v3d_trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/fungible/funeth/funeth_trace.h:13:1: error: use of undeclared identifier 'trace_event_guard' @@ -26781,2 +28583,2 @@ -In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: -In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: @@ -26785 +28587 @@ -../drivers/gpu/drm/v3d/v3d_trace.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/ethernet/fungible/funeth/funeth_trace.h:13:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -26795,2 +28597,2 @@ -In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: -In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: @@ -26799 +28601 @@ -../drivers/gpu/drm/v3d/v3d_trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/fungible/funeth/funeth_trace.h:13:1: error: use of undeclared identifier 'preempt_notrace' @@ -26809,2 +28611,2 @@ -In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: -In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: @@ -26813 +28615 @@ -../drivers/gpu/drm/v3d/v3d_trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/fungible/funeth/funeth_trace.h:13:1: error: use of undeclared identifier 'trace_event_guard' @@ -26823,2 +28625,2 @@ -In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: -In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: @@ -26827,2 +28629,2 @@ -../drivers/gpu/drm/v3d/v3d_trace.h:37:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 37 | TRACE_EVENT(v3d_submit_cl, +../drivers/net/ethernet/fungible/funeth/funeth_trace.h:43:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 43 | TRACE_EVENT(funeth_tx_free, @@ -26839,2 +28641,2 @@ -In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: -In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: @@ -26843 +28645 @@ -../drivers/gpu/drm/v3d/v3d_trace.h:37:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/fungible/funeth/funeth_trace.h:43:1: error: use of undeclared identifier 'preempt_notrace' @@ -26853,2 +28655,2 @@ -In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: -In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: @@ -26857 +28659 @@ -../drivers/gpu/drm/v3d/v3d_trace.h:37:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/fungible/funeth/funeth_trace.h:43:1: error: use of undeclared identifier 'trace_event_guard' @@ -26867,2 +28669,2 @@ -In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: -In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: @@ -26871 +28673 @@ -../drivers/gpu/drm/v3d/v3d_trace.h:37:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/ethernet/fungible/funeth/funeth_trace.h:43:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -26881,2 +28683,2 @@ -In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: -In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: @@ -26885 +28687 @@ -../drivers/gpu/drm/v3d/v3d_trace.h:37:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/fungible/funeth/funeth_trace.h:43:1: error: use of undeclared identifier 'preempt_notrace' @@ -26895,2 +28697,2 @@ -In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: -In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: @@ -26899 +28701 @@ -../drivers/gpu/drm/v3d/v3d_trace.h:37:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/fungible/funeth/funeth_trace.h:43:1: error: use of undeclared identifier 'trace_event_guard' @@ -26909,2 +28711,2 @@ -In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: -In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: @@ -26913,2 +28715,2 @@ -../drivers/gpu/drm/v3d/v3d_trace.h:67:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 67 | TRACE_EVENT(v3d_bcl_irq, +../drivers/net/ethernet/fungible/funeth/funeth_trace.h:73:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 73 | TRACE_EVENT(funeth_rx, @@ -26925,2 +28727,2 @@ -In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: -In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: @@ -26929 +28731 @@ -../drivers/gpu/drm/v3d/v3d_trace.h:67:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/fungible/funeth/funeth_trace.h:73:1: error: use of undeclared identifier 'preempt_notrace' @@ -26939,2 +28741,2 @@ -In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: -In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: @@ -26943 +28745 @@ -../drivers/gpu/drm/v3d/v3d_trace.h:67:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/fungible/funeth/funeth_trace.h:73:1: error: use of undeclared identifier 'trace_event_guard' @@ -26953,2 +28755,2 @@ -In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: -In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: @@ -26957 +28759 @@ -../drivers/gpu/drm/v3d/v3d_trace.h:67:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/ethernet/fungible/funeth/funeth_trace.h:73:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -26967,2 +28769,2 @@ -In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: -In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: @@ -26971 +28773 @@ -../drivers/gpu/drm/v3d/v3d_trace.h:67:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/fungible/funeth/funeth_trace.h:73:1: error: use of undeclared identifier 'preempt_notrace' @@ -26981,2 +28783,2 @@ -In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: -In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: @@ -26985 +28787 @@ -../drivers/gpu/drm/v3d/v3d_trace.h:67:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/fungible/funeth/funeth_trace.h:73:1: error: use of undeclared identifier 'trace_event_guard' @@ -26995,6 +28797,6 @@ -In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: -In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/gpu/drm/v3d/v3d_trace.h:87:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 87 | TRACE_EVENT(v3d_rcl_irq, +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/ethernet/fungible/funeth/funeth_trace.h:13:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 13 | TRACE_EVENT(funeth_tx, @@ -27005,2 +28807,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -27008,2 +28810,2 @@ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -27013,5 +28815,6 @@ -make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/v3d/v3d_trace_points.o] Error 1 -make[6]: *** [../scripts/Makefile.build:485: drivers/gpu/drm/virtio] Error 2 -make[6]: *** [../scripts/Makefile.build:485: drivers/gpu/drm/v3d] Error 2 -In file included from ../drivers/net/fjes/fjes_trace.c:13: -In file included from ../drivers/net/fjes/fjes_trace.h:365: +make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/fungible/funeth/funeth_rx.o] Error 1 +make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/fungible/funeth] Error 2 +make[6]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/fungible] Error 2 +make[6]: *** Waiting for unfinished jobs.... +In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: +In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: @@ -27020,2 +28823,2 @@ -../drivers/net/fjes/fjes_trace.h:18:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 18 | TRACE_EVENT(fjes_hw_issue_request_command, +../drivers/gpu/drm/radeon/radeon_trace.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 15 | TRACE_EVENT(radeon_bo_create, @@ -27032,2 +28835,2 @@ -In file included from ../drivers/net/fjes/fjes_trace.c:13: -In file included from ../drivers/net/fjes/fjes_trace.h:365: +In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: +In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: @@ -27036 +28839 @@ -../drivers/net/fjes/fjes_trace.h:18:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/radeon/radeon_trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' @@ -27046,2 +28849,2 @@ -In file included from ../drivers/net/fjes/fjes_trace.c:13: -In file included from ../drivers/net/fjes/fjes_trace.h:365: +In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: +In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: @@ -27050 +28853 @@ -../drivers/net/fjes/fjes_trace.h:18:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/radeon/radeon_trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' @@ -27060,2 +28863,2 @@ -In file included from ../drivers/net/fjes/fjes_trace.c:13: -In file included from ../drivers/net/fjes/fjes_trace.h:365: +In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: +In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: @@ -27064 +28867 @@ -../drivers/net/fjes/fjes_trace.h:18:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/gpu/drm/radeon/radeon_trace.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -27074,2 +28877,2 @@ -In file included from ../drivers/net/fjes/fjes_trace.c:13: -In file included from ../drivers/net/fjes/fjes_trace.h:365: +In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: +In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: @@ -27078 +28881 @@ -../drivers/net/fjes/fjes_trace.h:18:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/radeon/radeon_trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' @@ -27088,2 +28891,2 @@ -In file included from ../drivers/net/fjes/fjes_trace.c:13: -In file included from ../drivers/net/fjes/fjes_trace.h:365: +In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: +In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: @@ -27092 +28895 @@ -../drivers/net/fjes/fjes_trace.h:18:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/radeon/radeon_trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' @@ -27102,2 +28905,2 @@ -In file included from ../drivers/net/fjes/fjes_trace.c:13: -In file included from ../drivers/net/fjes/fjes_trace.h:365: +In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: +In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: @@ -27106,2 +28909,2 @@ -../drivers/net/fjes/fjes_trace.h:50:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 50 | TRACE_EVENT(fjes_hw_request_info, +../drivers/gpu/drm/radeon/radeon_trace.h:30:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 30 | TRACE_EVENT(radeon_cs, @@ -27118,2 +28921,2 @@ -In file included from ../drivers/net/fjes/fjes_trace.c:13: -In file included from ../drivers/net/fjes/fjes_trace.h:365: +In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: +In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: @@ -27122 +28925 @@ -../drivers/net/fjes/fjes_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/radeon/radeon_trace.h:30:1: error: use of undeclared identifier 'preempt_notrace' @@ -27132,2 +28935,2 @@ -In file included from ../drivers/net/fjes/fjes_trace.c:13: -In file included from ../drivers/net/fjes/fjes_trace.h:365: +In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: +In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: @@ -27136 +28939 @@ -../drivers/net/fjes/fjes_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/radeon/radeon_trace.h:30:1: error: use of undeclared identifier 'trace_event_guard' @@ -27146,2 +28949,2 @@ -In file included from ../drivers/net/fjes/fjes_trace.c:13: -In file included from ../drivers/net/fjes/fjes_trace.h:365: +In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: +In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: @@ -27150 +28953 @@ -../drivers/net/fjes/fjes_trace.h:50:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/gpu/drm/radeon/radeon_trace.h:30:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -27160,2 +28963,2 @@ -In file included from ../drivers/net/fjes/fjes_trace.c:13: -In file included from ../drivers/net/fjes/fjes_trace.h:365: +In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: +In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: @@ -27164 +28967 @@ -../drivers/net/fjes/fjes_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/radeon/radeon_trace.h:30:1: error: use of undeclared identifier 'preempt_notrace' @@ -27174,2 +28977,2 @@ -In file included from ../drivers/net/fjes/fjes_trace.c:13: -In file included from ../drivers/net/fjes/fjes_trace.h:365: +In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: +In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: @@ -27178 +28981 @@ -../drivers/net/fjes/fjes_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/radeon/radeon_trace.h:30:1: error: use of undeclared identifier 'trace_event_guard' @@ -27188,2 +28991,2 @@ -In file included from ../drivers/net/fjes/fjes_trace.c:13: -In file included from ../drivers/net/fjes/fjes_trace.h:365: +In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: +In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: @@ -27192,2 +28995,2 @@ -../drivers/net/fjes/fjes_trace.h:81:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 81 | TRACE_EVENT(fjes_hw_request_info_err, +../drivers/gpu/drm/radeon/radeon_trace.h:50:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 50 | TRACE_EVENT(radeon_vm_grab_id, @@ -27204,2 +29007,2 @@ -In file included from ../drivers/net/fjes/fjes_trace.c:13: -In file included from ../drivers/net/fjes/fjes_trace.h:365: +In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: +In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: @@ -27208 +29011 @@ -../drivers/net/fjes/fjes_trace.h:81:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/radeon/radeon_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' @@ -27218,2 +29021,2 @@ -In file included from ../drivers/net/fjes/fjes_trace.c:13: -In file included from ../drivers/net/fjes/fjes_trace.h:365: +In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: +In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: @@ -27222 +29025 @@ -../drivers/net/fjes/fjes_trace.h:81:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/radeon/radeon_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' @@ -27232,2 +29035,2 @@ -In file included from ../drivers/net/fjes/fjes_trace.c:13: -In file included from ../drivers/net/fjes/fjes_trace.h:365: +In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: +In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: @@ -27236 +29039 @@ -../drivers/net/fjes/fjes_trace.h:81:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/gpu/drm/radeon/radeon_trace.h:50:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -27246,2 +29049,2 @@ -In file included from ../drivers/net/fjes/fjes_trace.c:13: -In file included from ../drivers/net/fjes/fjes_trace.h:365: +In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: +In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: @@ -27250 +29053 @@ -../drivers/net/fjes/fjes_trace.h:81:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/radeon/radeon_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' @@ -27260,2 +29063,2 @@ -In file included from ../drivers/net/fjes/fjes_trace.c:13: -In file included from ../drivers/net/fjes/fjes_trace.h:365: +In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: +In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: @@ -27264 +29067 @@ -../drivers/net/fjes/fjes_trace.h:81:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/radeon/radeon_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' @@ -27274,2 +29077,2 @@ -In file included from ../drivers/net/fjes/fjes_trace.c:13: -In file included from ../drivers/net/fjes/fjes_trace.h:365: +In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: +In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: @@ -27278,2 +29081,2 @@ -../drivers/net/fjes/fjes_trace.h:93:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 93 | TRACE_EVENT(fjes_hw_register_buff_addr_req, +../drivers/gpu/drm/radeon/radeon_trace.h:65:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 65 | TRACE_EVENT(radeon_vm_bo_update, @@ -27292,2 +29095,2 @@ -make[6]: *** [../scripts/Makefile.build:244: drivers/net/fjes/fjes_trace.o] Error 1 -make[5]: *** [../scripts/Makefile.build:485: drivers/net/fjes] Error 2 +make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/radeon/radeon_trace_points.o] Error 1 +make[6]: *** [../scripts/Makefile.build:485: drivers/gpu/drm/radeon] Error 2 @@ -27432,2 +29235,2 @@ -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: @@ -27437,2 +29240,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -27440,2 +29243,2 @@ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -27445,2 +29248,2 @@ -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: @@ -27448,2 +29251,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -27451,2 +29254,2 @@ -../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -27456,5 +29259,5 @@ -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24:1: error: use of undeclared identifier 'bpf_trace_guard' -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -27462,2 +29265,2 @@ -../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -27467,2 +29270,2 @@ -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: @@ -27470,2 +29273,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -27473,2 +29276,2 @@ -../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ +../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -27478,2 +29281,2 @@ -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: @@ -27481,2 +29284,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -27484,2 +29287,2 @@ -../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ +../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -27489,5 +29292,5 @@ -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24:1: error: use of undeclared identifier 'bpf_trace_guard' -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -27495,2 +29298,2 @@ -../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ +../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -27500,2 +29303,2 @@ -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: @@ -27505,2 +29308,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -27508,2 +29311,2 @@ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -27515,3 +29318,3 @@ -make[6]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/freescale] Error 2 -In file included from ../drivers/gpu/drm/tegra/trace.c:2: -In file included from ../drivers/gpu/drm/tegra/trace.h:68: +make[7]: *** Waiting for unfinished jobs.... +In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: +In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: @@ -27520,2 +29323,2 @@ -../drivers/gpu/drm/tegra/trace.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 10 | DECLARE_EVENT_CLASS(register_access, +../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 11 | DECLARE_EVENT_CLASS(virtio_gpu_cmd, @@ -27529,2 +29332,2 @@ -In file included from ../drivers/gpu/drm/tegra/trace.c:2: -In file included from ../drivers/gpu/drm/tegra/trace.h:68: +In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: +In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: @@ -27533 +29336 @@ -../drivers/gpu/drm/tegra/trace.h:10:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' @@ -27540,2 +29343,2 @@ -In file included from ../drivers/gpu/drm/tegra/trace.c:2: -In file included from ../drivers/gpu/drm/tegra/trace.h:68: +In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: +In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: @@ -27544 +29347 @@ -../drivers/gpu/drm/tegra/trace.h:10:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'trace_event_guard' @@ -27551,2 +29354,2 @@ -In file included from ../drivers/gpu/drm/tegra/trace.c:2: -In file included from ../drivers/gpu/drm/tegra/trace.h:68: +In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: +In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: @@ -27555 +29358 @@ -../drivers/gpu/drm/tegra/trace.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -27562,2 +29365,2 @@ -In file included from ../drivers/gpu/drm/tegra/trace.c:2: -In file included from ../drivers/gpu/drm/tegra/trace.h:68: +In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: +In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: @@ -27566 +29369 @@ -../drivers/gpu/drm/tegra/trace.h:10:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' @@ -27573,2 +29376,2 @@ -In file included from ../drivers/gpu/drm/tegra/trace.c:2: -In file included from ../drivers/gpu/drm/tegra/trace.h:68: +In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: +In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: @@ -27577 +29380 @@ -../drivers/gpu/drm/tegra/trace.h:10:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'trace_event_guard' @@ -27584,2 +29387,70 @@ -In file included from ../drivers/gpu/drm/tegra/trace.c:2: -In file included from ../drivers/gpu/drm/tegra/trace.h:68: +In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: +In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 11 | DECLARE_EVENT_CLASS(virtio_gpu_cmd, + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: +In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: +In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: +In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: +In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: +In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: +In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: @@ -27588,2 +29459,2 @@ -../drivers/gpu/drm/tegra/trace.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 10 | DECLARE_EVENT_CLASS(register_access, +../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 11 | DECLARE_EVENT_CLASS(virtio_gpu_cmd, @@ -27597,2 +29468,2 @@ -In file included from ../drivers/gpu/drm/tegra/trace.c:2: -In file included from ../drivers/gpu/drm/tegra/trace.h:68: +In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: +In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: @@ -27601 +29472 @@ -../drivers/gpu/drm/tegra/trace.h:10:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' @@ -27608,2 +29479,2 @@ -In file included from ../drivers/gpu/drm/tegra/trace.c:2: -In file included from ../drivers/gpu/drm/tegra/trace.h:68: +In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: +In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: @@ -27612 +29483 @@ -../drivers/gpu/drm/tegra/trace.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' +../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'bpf_trace_guard' @@ -27619,2 +29490,2 @@ -In file included from ../drivers/gpu/drm/tegra/trace.c:2: -In file included from ../drivers/gpu/drm/tegra/trace.h:68: +In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: +In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: @@ -27623 +29494 @@ -../drivers/gpu/drm/tegra/trace.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -27630,2 +29501,2 @@ -In file included from ../drivers/gpu/drm/tegra/trace.c:2: -In file included from ../drivers/gpu/drm/tegra/trace.h:68: +In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: +In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: @@ -27634 +29505 @@ -../drivers/gpu/drm/tegra/trace.h:10:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' @@ -27641,2 +29512,2 @@ -In file included from ../drivers/gpu/drm/tegra/trace.c:2: -In file included from ../drivers/gpu/drm/tegra/trace.h:68: +In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: +In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: @@ -27645 +29516 @@ -../drivers/gpu/drm/tegra/trace.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' +../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'bpf_trace_guard' @@ -27652,5 +29523,5 @@ -12 errors generated. -make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/tegra/trace.o] Error 1 -make[6]: *** [../scripts/Makefile.build:485: drivers/gpu/drm/tegra] Error 2 -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: +18 errors generated. +make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/virtio/virtgpu_trace_points.o] Error 1 +make[6]: *** [../scripts/Makefile.build:485: drivers/gpu/drm/virtio] Error 2 +In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: +In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: @@ -27659,2 +29530,2 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 15 | DECLARE_EVENT_CLASS(hns3_skb_template, +../drivers/gpu/drm/msm/msm_atomic_trace.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 11 | TRACE_EVENT(msm_atomic_commit_tail_start, @@ -27661,0 +29533,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -27668,2 +29542,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: +In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: +In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: @@ -27672 +29546,4 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/msm/msm_atomic_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -27679,2 +29556,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: +In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: +In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: @@ -27683 +29560,4 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/msm/msm_atomic_trace.h:11:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -27690,2 +29570,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: +In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: +In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: @@ -27694 +29574,4 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/gpu/drm/msm/msm_atomic_trace.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -27701,2 +29584,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: +In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: +In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: @@ -27705 +29588,4 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/msm/msm_atomic_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -27712,2 +29598,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: +In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: +In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: @@ -27716 +29602,4 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/msm/msm_atomic_trace.h:11:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -27723,2 +29612,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: +In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: +In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: @@ -27727,2 +29616,2 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:67:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 67 | TRACE_EVENT(hns3_tx_desc, +../drivers/gpu/drm/msm/msm_atomic_trace.h:26:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 26 | TRACE_EVENT(msm_atomic_commit_tail_finish, @@ -27739,2 +29628,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: +In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: +In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: @@ -27743 +29632 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:67:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/msm/msm_atomic_trace.h:26:1: error: use of undeclared identifier 'preempt_notrace' @@ -27753,2 +29642,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: +In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: +In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: @@ -27757 +29646 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:67:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/msm/msm_atomic_trace.h:26:1: error: use of undeclared identifier 'trace_event_guard' @@ -27767,2 +29656,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: +In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: +In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: @@ -27771 +29660 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:67:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/gpu/drm/msm/msm_atomic_trace.h:26:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -27781,2 +29670,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: +In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: +In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: @@ -27785 +29674 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:67:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/msm/msm_atomic_trace.h:26:1: error: use of undeclared identifier 'preempt_notrace' @@ -27795,2 +29684,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: +In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: +In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: @@ -27799 +29688 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:67:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/msm/msm_atomic_trace.h:26:1: error: use of undeclared identifier 'trace_event_guard' @@ -27809,2 +29698,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: +In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: +In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: @@ -27813,2 +29702,2 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:98:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 98 | TRACE_EVENT(hns3_rx_desc, +../drivers/gpu/drm/msm/msm_atomic_trace.h:41:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 41 | TRACE_EVENT(msm_atomic_async_commit_start, @@ -27825,2 +29714,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: +In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: +In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: @@ -27829 +29718 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:98:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/msm/msm_atomic_trace.h:41:1: error: use of undeclared identifier 'preempt_notrace' @@ -27839,2 +29728,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: +In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: +In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: @@ -27843 +29732 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:98:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/msm/msm_atomic_trace.h:41:1: error: use of undeclared identifier 'trace_event_guard' @@ -27853,2 +29742,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: +In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: +In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: @@ -27857 +29746 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:98:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/gpu/drm/msm/msm_atomic_trace.h:41:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -27867,2 +29756,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: +In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: +In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: @@ -27871 +29760 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:98:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/msm/msm_atomic_trace.h:41:1: error: use of undeclared identifier 'preempt_notrace' @@ -27881,2 +29770,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: +In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: +In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: @@ -27885 +29774 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:98:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/msm/msm_atomic_trace.h:41:1: error: use of undeclared identifier 'trace_event_guard' @@ -27895,6 +29784,6 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 15 | DECLARE_EVENT_CLASS(hns3_skb_template, +In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: +In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/gpu/drm/msm/msm_atomic_trace.h:54:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 54 | TRACE_EVENT(msm_atomic_async_commit_finish, @@ -27902,2 +29791,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -27905,2 +29794,5 @@ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -27910,3 +29802,4 @@ -make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/hisilicon/hns3/hns3_enet.o] Error 1 -In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: -In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: +make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/msm/msm_atomic_tracepoints.o] Error 1 +make[7]: *** Waiting for unfinished jobs.... +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: @@ -27915,2 +29808,2 @@ -../drivers/gpu/drm/vc4/vc4_trace.h:17:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 17 | TRACE_EVENT(vc4_wait_for_seqno_begin, +../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:20:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 20 | TRACE_EVENT(otx2_msg_alloc, @@ -27927,2 +29820,2 @@ -In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: -In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: @@ -27931 +29824 @@ -../drivers/gpu/drm/vc4/vc4_trace.h:17:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:20:1: error: use of undeclared identifier 'preempt_notrace' @@ -27941,2 +29834,2 @@ -In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: -In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: @@ -27945 +29838 @@ -../drivers/gpu/drm/vc4/vc4_trace.h:17:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:20:1: error: use of undeclared identifier 'trace_event_guard' @@ -27955,2 +29848,2 @@ -In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: -In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: @@ -27959 +29852 @@ -../drivers/gpu/drm/vc4/vc4_trace.h:17:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:20:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -27969,2 +29862,2 @@ -In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: -In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: @@ -27973 +29866 @@ -../drivers/gpu/drm/vc4/vc4_trace.h:17:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:20:1: error: use of undeclared identifier 'preempt_notrace' @@ -27983,2 +29876,2 @@ -In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: -In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: @@ -27987 +29880 @@ -../drivers/gpu/drm/vc4/vc4_trace.h:17:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:20:1: error: use of undeclared identifier 'trace_event_guard' @@ -27997,2 +29890,2 @@ -In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: -In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: @@ -28001,2 +29894,2 @@ -../drivers/gpu/drm/vc4/vc4_trace.h:37:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 37 | TRACE_EVENT(vc4_wait_for_seqno_end, +../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:35:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 35 | TRACE_EVENT(otx2_msg_send, @@ -28013,2 +29906,2 @@ -In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: -In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: @@ -28017 +29910 @@ -../drivers/gpu/drm/vc4/vc4_trace.h:37:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:35:1: error: use of undeclared identifier 'preempt_notrace' @@ -28027,2 +29920,2 @@ -In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: -In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: @@ -28031 +29924 @@ -../drivers/gpu/drm/vc4/vc4_trace.h:37:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:35:1: error: use of undeclared identifier 'trace_event_guard' @@ -28041,2 +29934,2 @@ -In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: -In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: @@ -28045 +29938 @@ -../drivers/gpu/drm/vc4/vc4_trace.h:37:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:35:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -28055,2 +29948,2 @@ -In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: -In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: @@ -28059 +29952 @@ -../drivers/gpu/drm/vc4/vc4_trace.h:37:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:35:1: error: use of undeclared identifier 'preempt_notrace' @@ -28069,2 +29962,2 @@ -In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: -In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: @@ -28073 +29966 @@ -../drivers/gpu/drm/vc4/vc4_trace.h:37:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:35:1: error: use of undeclared identifier 'trace_event_guard' @@ -28083,2 +29976,2 @@ -In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: -In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: @@ -28087,2 +29980,2 @@ -../drivers/gpu/drm/vc4/vc4_trace.h:55:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 55 | TRACE_EVENT(vc4_submit_cl_ioctl, +../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:50:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 50 | TRACE_EVENT(otx2_msg_check, @@ -28099,2 +29992,2 @@ -In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: -In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: @@ -28103 +29996 @@ -../drivers/gpu/drm/vc4/vc4_trace.h:55:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' @@ -28113,2 +30006,2 @@ -In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: -In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: @@ -28117 +30010 @@ -../drivers/gpu/drm/vc4/vc4_trace.h:55:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' @@ -28127,2 +30020,2 @@ -In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: -In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: @@ -28131 +30024 @@ -../drivers/gpu/drm/vc4/vc4_trace.h:55:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:50:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -28141,2 +30034,2 @@ -In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: -In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: @@ -28145 +30038 @@ -../drivers/gpu/drm/vc4/vc4_trace.h:55:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' @@ -28155,2 +30048,2 @@ -In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: -In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: @@ -28159 +30052 @@ -../drivers/gpu/drm/vc4/vc4_trace.h:55:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' @@ -28169,2 +30062,2 @@ -In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: -In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: @@ -28173,2 +30066,2 @@ -../drivers/gpu/drm/vc4/vc4_trace.h:80:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 80 | TRACE_EVENT(vc4_submit_cl, +../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:68:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 68 | TRACE_EVENT(otx2_msg_interrupt, @@ -28187,2 +30080,264 @@ -make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/vc4/vc4_trace_points.o] Error 1 -make[6]: *** [../scripts/Makefile.build:485: drivers/gpu/drm/vc4] Error 2 +make[9]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.o] Error 1 +make[8]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/marvell/octeontx2/af] Error 2 +make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/marvell/octeontx2] Error 2 +make[6]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/marvell] Error 2 +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:16:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 16 | TRACE_EVENT(hclge_vf_mbx_get, + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:16:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:16:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:16:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:16:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:16:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:47:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 47 | TRACE_EVENT(hclge_vf_mbx_send, + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:47:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:47:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:47:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:47:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:47:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:80:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 80 | DECLARE_EVENT_CLASS(hclge_vf_cmd_template, + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:80:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:80:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:80:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:80:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:80:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:16:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 16 | TRACE_EVENT(hclge_vf_mbx_get, + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. +make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.o] Error 1 +make[8]: *** Waiting for unfinished jobs.... @@ -28466,2 +30621,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: +In file included from ../drivers/gpu/drm/tegra/trace.c:2: +In file included from ../drivers/gpu/drm/tegra/trace.h:68: @@ -28470,2 +30625,279 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:17:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 17 | TRACE_EVENT(hclge_pf_mbx_get, +../drivers/gpu/drm/tegra/trace.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 10 | DECLARE_EVENT_CLASS(register_access, + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/gpu/drm/tegra/trace.c:2: +In file included from ../drivers/gpu/drm/tegra/trace.h:68: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/gpu/drm/tegra/trace.h:10:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/gpu/drm/tegra/trace.c:2: +In file included from ../drivers/gpu/drm/tegra/trace.h:68: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/gpu/drm/tegra/trace.h:10:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/gpu/drm/tegra/trace.c:2: +In file included from ../drivers/gpu/drm/tegra/trace.h:68: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/gpu/drm/tegra/trace.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/gpu/drm/tegra/trace.c:2: +In file included from ../drivers/gpu/drm/tegra/trace.h:68: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/gpu/drm/tegra/trace.h:10:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/gpu/drm/tegra/trace.c:2: +In file included from ../drivers/gpu/drm/tegra/trace.h:68: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/gpu/drm/tegra/trace.h:10:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/gpu/drm/tegra/trace.c:2: +In file included from ../drivers/gpu/drm/tegra/trace.h:68: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/gpu/drm/tegra/trace.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 10 | DECLARE_EVENT_CLASS(register_access, + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/gpu/drm/tegra/trace.c:2: +In file included from ../drivers/gpu/drm/tegra/trace.h:68: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/gpu/drm/tegra/trace.h:10:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/gpu/drm/tegra/trace.c:2: +In file included from ../drivers/gpu/drm/tegra/trace.h:68: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/gpu/drm/tegra/trace.h:10:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/gpu/drm/tegra/trace.c:2: +In file included from ../drivers/gpu/drm/tegra/trace.h:68: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/gpu/drm/tegra/trace.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/gpu/drm/tegra/trace.c:2: +In file included from ../drivers/gpu/drm/tegra/trace.h:68: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/gpu/drm/tegra/trace.h:10:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/gpu/drm/tegra/trace.c:2: +In file included from ../drivers/gpu/drm/tegra/trace.h:68: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/gpu/drm/tegra/trace.h:10:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/gpu/drm/tegra/trace.c:2: +In file included from ../drivers/gpu/drm/tegra/trace.h:68: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/gpu/drm/tegra/trace.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 10 | DECLARE_EVENT_CLASS(register_access, + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/gpu/drm/tegra/trace.c:2: +In file included from ../drivers/gpu/drm/tegra/trace.h:68: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/gpu/drm/tegra/trace.h:10:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/gpu/drm/tegra/trace.c:2: +In file included from ../drivers/gpu/drm/tegra/trace.h:68: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/gpu/drm/tegra/trace.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/gpu/drm/tegra/trace.c:2: +In file included from ../drivers/gpu/drm/tegra/trace.h:68: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/gpu/drm/tegra/trace.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/gpu/drm/tegra/trace.c:2: +In file included from ../drivers/gpu/drm/tegra/trace.h:68: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/gpu/drm/tegra/trace.h:10:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/gpu/drm/tegra/trace.c:2: +In file included from ../drivers/gpu/drm/tegra/trace.h:68: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/gpu/drm/tegra/trace.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +18 errors generated. +make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/tegra/trace.o] Error 1 +make[6]: *** [../scripts/Makefile.build:485: drivers/gpu/drm/tegra] Error 2 +make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/mellanox/mlxsw] Error 2 +make[7]: *** Waiting for unfinished jobs.... +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 15 | DECLARE_EVENT_CLASS(hns3_skb_template, + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:67:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 67 | TRACE_EVENT(hns3_tx_desc, @@ -28482,2 +30914,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: @@ -28486 +30918 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:17:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:67:1: error: use of undeclared identifier 'preempt_notrace' @@ -28496,2 +30928,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: @@ -28500 +30932 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:17:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:67:1: error: use of undeclared identifier 'trace_event_guard' @@ -28510,2 +30942,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: @@ -28514 +30946 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:17:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:67:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -28524,2 +30956,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: @@ -28528 +30960 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:17:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:67:1: error: use of undeclared identifier 'preempt_notrace' @@ -28538,2 +30970,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: @@ -28542 +30974 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:17:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:67:1: error: use of undeclared identifier 'trace_event_guard' @@ -28552,2 +30984,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: @@ -28556,2 +30988,2 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:50:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 50 | TRACE_EVENT(hclge_pf_mbx_send, +../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:98:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 98 | TRACE_EVENT(hns3_rx_desc, @@ -28568,2 +31000,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: @@ -28572 +31004 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:98:1: error: use of undeclared identifier 'preempt_notrace' @@ -28582,2 +31014,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: @@ -28586 +31018 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:98:1: error: use of undeclared identifier 'trace_event_guard' @@ -28596,2 +31028,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: @@ -28600 +31032 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:50:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:98:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -28610,2 +31042,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: @@ -28614 +31046 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:98:1: error: use of undeclared identifier 'preempt_notrace' @@ -28624,2 +31056,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: @@ -28628 +31060 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:98:1: error: use of undeclared identifier 'trace_event_guard' @@ -28638,2 +31070,18 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 15 | DECLARE_EVENT_CLASS(hns3_skb_template, + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. +make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/hisilicon/hns3/hns3_enet.o] Error 1 +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: @@ -28642,2 +31090,2 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:81:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 81 | DECLARE_EVENT_CLASS(hclge_pf_cmd_template, +../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 29 | DECLARE_EVENT_CLASS(dpaa_eth_fd, @@ -28651,2 +31099,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: @@ -28655 +31103 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:81:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'preempt_notrace' @@ -28662,2 +31110,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: @@ -28666 +31114 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:81:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'trace_event_guard' @@ -28673,2 +31121,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: @@ -28677 +31125 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:81:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -28684,2 +31132,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: @@ -28688 +31136 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:81:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'preempt_notrace' @@ -28695,2 +31143,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: @@ -28699 +31147 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:81:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'trace_event_guard' @@ -28706,6 +31154,6 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:132:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 132 | DECLARE_EVENT_CLASS(hclge_pf_special_cmd_template, +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 29 | DECLARE_EVENT_CLASS(dpaa_eth_fd, @@ -28713,2 +31161,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -28716,2 +31164,2 @@ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -28719,9 +31167,129 @@ -fatal error: too many errors emitted, stopping now [-ferror-limit=] -20 errors generated. -make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.o] Error 1 -make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/hisilicon/hns3] Error 2 -make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/mellanox/mlxsw] Error 2 -make[7]: *** Waiting for unfinished jobs.... -make[6]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/hisilicon] Error 2 -In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 29 | DECLARE_EVENT_CLASS(dpaa_eth_fd, + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +18 errors generated. +make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/freescale/dpaa/dpaa_eth.o] Error 1 +make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/freescale/dpaa] Error 2 +make[6]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/freescale] Error 2 +In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: +In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: @@ -28730,2 +31298,2 @@ -../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 27 | DECLARE_EVENT_CLASS(dev_token, +../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 21 | TRACE_EVENT(e1000e_trace_mac_register, @@ -28732,0 +31301,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -28739,2 +31310,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: +In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: +In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: @@ -28743 +31314,4 @@ -../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -28750,2 +31324,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: +In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: +In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: @@ -28754 +31328,4 @@ -../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -28761,2 +31338,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: +In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: +In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: @@ -28765 +31342,4 @@ -../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -28772,2 +31352,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: +In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: +In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: @@ -28776 +31356,4 @@ -../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -28783,2 +31366,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: +In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: +In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: @@ -28787 +31370,4 @@ -../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -28794,2 +31380,88 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: +In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: +In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 21 | TRACE_EVENT(e1000e_trace_mac_register, + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: +In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: +In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: +In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: +In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: +In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: +In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: @@ -28798,2 +31470,2 @@ -../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 27 | DECLARE_EVENT_CLASS(dev_token, +../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 21 | TRACE_EVENT(e1000e_trace_mac_register, @@ -28800,0 +31473,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -28807,2 +31482,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: +In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: +In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: @@ -28811 +31486,4 @@ -../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -28818,2 +31496,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: +In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: +In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: @@ -28822 +31500,4 @@ -../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'bpf_trace_guard' +../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -28829,2 +31510,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: +In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: +In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: @@ -28833 +31514,4 @@ -../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -28840,2 +31524,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: +In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: +In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: @@ -28844 +31528,4 @@ -../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -28851,2 +31538,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: +In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: +In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: @@ -28855 +31542,4 @@ -../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'bpf_trace_guard' +../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -28862,8 +31552,18 @@ -12 errors generated. -make[9]: *** [../scripts/Makefile.build:244: drivers/net/wireless/mediatek/mt76/mt7615/trace.o] Error 1 -make[8]: *** [../scripts/Makefile.build:485: drivers/net/wireless/mediatek/mt76/mt7615] Error 2 -make[7]: *** [../scripts/Makefile.build:485: drivers/net/wireless/mediatek/mt76] Error 2 -make[6]: *** [../scripts/Makefile.build:485: drivers/net/wireless/mediatek] Error 2 -make[5]: *** [../scripts/Makefile.build:485: drivers/net/wireless] Error 2 -In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: -In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: +../drivers/net/ethernet/intel/e1000e/netdev.c:4460:22: warning: shift count >= width of type [-Wshift-count-overflow] + 4460 | adapter->cc.mask = CYCLECOUNTER_MASK(64); + | ^~~~~~~~~~~~~~~~~~~~~ +../include/linux/timecounter.h:14:59: note: expanded from macro 'CYCLECOUNTER_MASK' + 14 | #define CYCLECOUNTER_MASK(bits) (u64)((bits) < 64 ? ((1ULL<<(bits))-1) : -1) + | ^ ~~~~~~ +../drivers/net/ethernet/intel/e1000e/netdev.c:7383:46: warning: shift count >= width of type [-Wshift-count-overflow] + 7383 | err = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64)); + | ^~~~~~~~~~~~~~~~ +../include/linux/dma-mapping.h:77:54: note: expanded from macro 'DMA_BIT_MASK' + 77 | #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) + | ^ ~~~ +2 warnings and 18 errors generated. +make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/intel/e1000e/netdev.o] Error 1 +make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/intel/e1000e] Error 2 +make[7]: *** Waiting for unfinished jobs.... +In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: +In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: @@ -28872,2 +31572,2 @@ -../drivers/gpu/drm/msm/msm_atomic_trace.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 11 | TRACE_EVENT(msm_atomic_commit_tail_start, +../drivers/gpu/drm/msm/msm_gpu_trace.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 11 | TRACE_EVENT(msm_gpu_submit, @@ -28884,2 +31584,2 @@ -In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: -In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: +In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: +In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: @@ -28888 +31588 @@ -../drivers/gpu/drm/msm/msm_atomic_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/msm/msm_gpu_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' @@ -28898,2 +31598,2 @@ -In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: -In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: +In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: +In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: @@ -28902 +31602 @@ -../drivers/gpu/drm/msm/msm_atomic_trace.h:11:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/msm/msm_gpu_trace.h:11:1: error: use of undeclared identifier 'trace_event_guard' @@ -28912,2 +31612,2 @@ -In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: -In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: +In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: +In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: @@ -28916 +31616 @@ -../drivers/gpu/drm/msm/msm_atomic_trace.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/gpu/drm/msm/msm_gpu_trace.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -28926,2 +31626,2 @@ -In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: -In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: +In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: +In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: @@ -28930 +31630 @@ -../drivers/gpu/drm/msm/msm_atomic_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/msm/msm_gpu_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' @@ -28940,2 +31640,2 @@ -In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: -In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: +In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: +In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: @@ -28944 +31644 @@ -../drivers/gpu/drm/msm/msm_atomic_trace.h:11:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/msm/msm_gpu_trace.h:11:1: error: use of undeclared identifier 'trace_event_guard' @@ -28954,2 +31654,2 @@ -In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: -In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: +In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: +In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: @@ -28958,2 +31658,2 @@ -../drivers/gpu/drm/msm/msm_atomic_trace.h:26:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 26 | TRACE_EVENT(msm_atomic_commit_tail_finish, +../drivers/gpu/drm/msm/msm_gpu_trace.h:33:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 33 | TRACE_EVENT(msm_gpu_submit_flush, @@ -28970,2 +31670,2 @@ -In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: -In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: +In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: +In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: @@ -28974 +31674 @@ -../drivers/gpu/drm/msm/msm_atomic_trace.h:26:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/msm/msm_gpu_trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' @@ -28984,2 +31684,2 @@ -In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: -In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: +In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: +In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: @@ -28988 +31688 @@ -../drivers/gpu/drm/msm/msm_atomic_trace.h:26:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/msm/msm_gpu_trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' @@ -28998,2 +31698,2 @@ -In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: -In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: +In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: +In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: @@ -29002 +31702 @@ -../drivers/gpu/drm/msm/msm_atomic_trace.h:26:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/gpu/drm/msm/msm_gpu_trace.h:33:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -29012,2 +31712,2 @@ -In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: -In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: +In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: +In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: @@ -29016 +31716 @@ -../drivers/gpu/drm/msm/msm_atomic_trace.h:26:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/msm/msm_gpu_trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' @@ -29026,2 +31726,2 @@ -In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: -In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: +In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: +In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: @@ -29030 +31730 @@ -../drivers/gpu/drm/msm/msm_atomic_trace.h:26:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/msm/msm_gpu_trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' @@ -29040,2 +31740,2 @@ -In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: -In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: +In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: +In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: @@ -29044,2 +31744,2 @@ -../drivers/gpu/drm/msm/msm_atomic_trace.h:41:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 41 | TRACE_EVENT(msm_atomic_async_commit_start, +../drivers/gpu/drm/msm/msm_gpu_trace.h:56:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 56 | TRACE_EVENT(msm_gpu_submit_retired, @@ -29056,2 +31756,2 @@ -In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: -In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: +In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: +In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: @@ -29060 +31760 @@ -../drivers/gpu/drm/msm/msm_atomic_trace.h:41:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/msm/msm_gpu_trace.h:56:1: error: use of undeclared identifier 'preempt_notrace' @@ -29070,2 +31770,2 @@ -In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: -In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: +In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: +In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: @@ -29074 +31774 @@ -../drivers/gpu/drm/msm/msm_atomic_trace.h:41:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/msm/msm_gpu_trace.h:56:1: error: use of undeclared identifier 'trace_event_guard' @@ -29084,2 +31784,2 @@ -In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: -In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: +In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: +In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: @@ -29088 +31788 @@ -../drivers/gpu/drm/msm/msm_atomic_trace.h:41:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/gpu/drm/msm/msm_gpu_trace.h:56:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -29098,2 +31798,2 @@ -In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: -In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: +In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: +In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: @@ -29102 +31802 @@ -../drivers/gpu/drm/msm/msm_atomic_trace.h:41:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/msm/msm_gpu_trace.h:56:1: error: use of undeclared identifier 'preempt_notrace' @@ -29112,2 +31812,2 @@ -In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: -In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: +In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: +In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: @@ -29116 +31816 @@ -../drivers/gpu/drm/msm/msm_atomic_trace.h:41:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/msm/msm_gpu_trace.h:56:1: error: use of undeclared identifier 'trace_event_guard' @@ -29126,2 +31826,2 @@ -In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: -In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: +In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: +In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: @@ -29130,2 +31830,2 @@ -../drivers/gpu/drm/msm/msm_atomic_trace.h:54:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 54 | TRACE_EVENT(msm_atomic_async_commit_finish, +../drivers/gpu/drm/msm/msm_gpu_trace.h:87:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 87 | TRACE_EVENT(msm_gpu_freq_change, @@ -29144,4 +31844,3 @@ -make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/msm/msm_atomic_tracepoints.o] Error 1 -make[7]: *** Waiting for unfinished jobs.... -In file included from ../net/sunrpc/xprtrdma/module.c:21: -In file included from ../include/trace/events/rpcrdma.h:2282: +make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/msm/msm_gpu_tracepoints.o] Error 1 +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: @@ -29150,2 +31849,2 @@ -../include/trace/events/rpcrdma.h:25:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 25 | DECLARE_EVENT_CLASS(rpcrdma_simple_cid_class, +../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 20 | DECLARE_EVENT_CLASS(xe_guc_ct_flow_control, @@ -29159,2 +31858,2 @@ -In file included from ../net/sunrpc/xprtrdma/module.c:21: -In file included from ../include/trace/events/rpcrdma.h:2282: +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: @@ -29163 +31862 @@ -../include/trace/events/rpcrdma.h:25:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: use of undeclared identifier 'preempt_notrace' @@ -29170,2 +31869,2 @@ -In file included from ../net/sunrpc/xprtrdma/module.c:21: -In file included from ../include/trace/events/rpcrdma.h:2282: +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: @@ -29174 +31873 @@ -../include/trace/events/rpcrdma.h:25:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: use of undeclared identifier 'trace_event_guard' @@ -29181,2 +31880,2 @@ -In file included from ../net/sunrpc/xprtrdma/module.c:21: -In file included from ../include/trace/events/rpcrdma.h:2282: +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: @@ -29185 +31884 @@ -../include/trace/events/rpcrdma.h:25:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -29192,2 +31891,2 @@ -In file included from ../net/sunrpc/xprtrdma/module.c:21: -In file included from ../include/trace/events/rpcrdma.h:2282: +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: @@ -29196 +31895 @@ -../include/trace/events/rpcrdma.h:25:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: use of undeclared identifier 'preempt_notrace' @@ -29203,2 +31902,2 @@ -In file included from ../net/sunrpc/xprtrdma/module.c:21: -In file included from ../include/trace/events/rpcrdma.h:2282: +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: @@ -29207 +31906 @@ -../include/trace/events/rpcrdma.h:25:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: use of undeclared identifier 'trace_event_guard' @@ -29214,2 +31913,2 @@ -In file included from ../net/sunrpc/xprtrdma/module.c:21: -In file included from ../include/trace/events/rpcrdma.h:2282: +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: @@ -29218,2 +31917,2 @@ -../include/trace/events/rpcrdma.h:55:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 55 | DECLARE_EVENT_CLASS(rpcrdma_completion_class, +../drivers/gpu/drm/xe/xe_trace_guc.h:61:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 61 | DECLARE_EVENT_CLASS(xe_guc_ctb, @@ -29227,2 +31926,2 @@ -In file included from ../net/sunrpc/xprtrdma/module.c:21: -In file included from ../include/trace/events/rpcrdma.h:2282: +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: @@ -29231 +31930 @@ -../include/trace/events/rpcrdma.h:55:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/xe/xe_trace_guc.h:61:1: error: use of undeclared identifier 'preempt_notrace' @@ -29238,2 +31937,2 @@ -In file included from ../net/sunrpc/xprtrdma/module.c:21: -In file included from ../include/trace/events/rpcrdma.h:2282: +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: @@ -29242 +31941 @@ -../include/trace/events/rpcrdma.h:55:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/xe/xe_trace_guc.h:61:1: error: use of undeclared identifier 'trace_event_guard' @@ -29249,2 +31948,2 @@ -In file included from ../net/sunrpc/xprtrdma/module.c:21: -In file included from ../include/trace/events/rpcrdma.h:2282: +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: @@ -29253 +31952 @@ -../include/trace/events/rpcrdma.h:55:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/gpu/drm/xe/xe_trace_guc.h:61:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -29260,2 +31959,2 @@ -In file included from ../net/sunrpc/xprtrdma/module.c:21: -In file included from ../include/trace/events/rpcrdma.h:2282: +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: @@ -29264 +31963 @@ -../include/trace/events/rpcrdma.h:55:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/xe/xe_trace_guc.h:61:1: error: use of undeclared identifier 'preempt_notrace' @@ -29271,2 +31970,2 @@ -In file included from ../net/sunrpc/xprtrdma/module.c:21: -In file included from ../include/trace/events/rpcrdma.h:2282: +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: @@ -29275 +31974 @@ -../include/trace/events/rpcrdma.h:55:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/xe/xe_trace_guc.h:61:1: error: use of undeclared identifier 'trace_event_guard' @@ -29282,2 +31981,87 @@ -In file included from ../net/sunrpc/xprtrdma/module.c:21: -In file included from ../include/trace/events/rpcrdma.h:2282: +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 20 | DECLARE_EVENT_CLASS(xe_guc_ct_flow_control, + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/gpu/drm/xe/xe_trace_guc.h:61:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 61 | DECLARE_EVENT_CLASS(xe_guc_ctb, + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. +make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/xe/xe_trace_guc.o] Error 1 +make[7]: *** Waiting for unfinished jobs.... +In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: @@ -29286,2 +32070,2 @@ -../include/trace/events/rpcrdma.h:95:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 95 | DECLARE_EVENT_CLASS(rpcrdma_send_flush_class, +../drivers/gpu/drm/xe/xe_trace_bo.h:23:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 23 | DECLARE_EVENT_CLASS(xe_bo, @@ -29295,2 +32079,2 @@ -In file included from ../net/sunrpc/xprtrdma/module.c:21: -In file included from ../include/trace/events/rpcrdma.h:2282: +In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: @@ -29299 +32083 @@ -../include/trace/events/rpcrdma.h:95:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/xe/xe_trace_bo.h:23:1: error: use of undeclared identifier 'preempt_notrace' @@ -29306,2 +32090,2 @@ -In file included from ../net/sunrpc/xprtrdma/module.c:21: -In file included from ../include/trace/events/rpcrdma.h:2282: +In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: @@ -29310 +32094 @@ -../include/trace/events/rpcrdma.h:95:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/xe/xe_trace_bo.h:23:1: error: use of undeclared identifier 'trace_event_guard' @@ -29317,2 +32101,2 @@ -In file included from ../net/sunrpc/xprtrdma/module.c:21: -In file included from ../include/trace/events/rpcrdma.h:2282: +In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: @@ -29321 +32105 @@ -../include/trace/events/rpcrdma.h:95:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/gpu/drm/xe/xe_trace_bo.h:23:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -29328,2 +32112,2 @@ -In file included from ../net/sunrpc/xprtrdma/module.c:21: -In file included from ../include/trace/events/rpcrdma.h:2282: +In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: @@ -29332 +32116 @@ -../include/trace/events/rpcrdma.h:95:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/xe/xe_trace_bo.h:23:1: error: use of undeclared identifier 'preempt_notrace' @@ -29339,2 +32123,2 @@ -In file included from ../net/sunrpc/xprtrdma/module.c:21: -In file included from ../include/trace/events/rpcrdma.h:2282: +In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: @@ -29343 +32127 @@ -../include/trace/events/rpcrdma.h:95:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/xe/xe_trace_bo.h:23:1: error: use of undeclared identifier 'trace_event_guard' @@ -29350,20 +32134,2 @@ -In file included from ../net/sunrpc/xprtrdma/module.c:21: -In file included from ../include/trace/events/rpcrdma.h:2282: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../include/trace/events/rpcrdma.h:132:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 132 | DECLARE_EVENT_CLASS(rpcrdma_mr_completion_class, - | ^ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ - | ^ -fatal error: too many errors emitted, stopping now [-ferror-limit=] -20 errors generated. -make[6]: *** [../scripts/Makefile.build:244: net/sunrpc/xprtrdma/module.o] Error 1 -make[5]: *** [../scripts/Makefile.build:485: net/sunrpc/xprtrdma] Error 2 -make[4]: *** [../scripts/Makefile.build:485: net/sunrpc] Error 2 -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: +In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: @@ -29372,2 +32138,2 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 13 | TRACE_EVENT(mlx5_cmd, +../drivers/gpu/drm/xe/xe_trace_bo.h:51:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 51 | TRACE_EVENT(xe_bo_move, @@ -29384,2 +32150,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: +In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: @@ -29388 +32154 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/xe/xe_trace_bo.h:51:1: error: use of undeclared identifier 'preempt_notrace' @@ -29398,2 +32164,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: +In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: @@ -29402 +32168 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/xe/xe_trace_bo.h:51:1: error: use of undeclared identifier 'trace_event_guard' @@ -29412,2 +32178,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: +In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: @@ -29416 +32182 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/gpu/drm/xe/xe_trace_bo.h:51:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -29426,2 +32192,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: +In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: @@ -29430 +32196 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/xe/xe_trace_bo.h:51:1: error: use of undeclared identifier 'preempt_notrace' @@ -29440,2 +32206,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: +In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: @@ -29444 +32210 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/xe/xe_trace_bo.h:51:1: error: use of undeclared identifier 'trace_event_guard' @@ -29454,6 +32220,6 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 13 | TRACE_EVENT(mlx5_cmd, +In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/gpu/drm/xe/xe_trace_bo.h:78:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 78 | DECLARE_EVENT_CLASS(xe_vma, @@ -29461,8 +32227,2 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -29470,7 +32230,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -29478,2 +32233,7 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/gpu/drm/xe/xe_trace_bo.h:78:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -29481,2 +32241,2 @@ -../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -29484,10 +32244,7 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: use of undeclared identifier 'bpf_trace_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/gpu/drm/xe/xe_trace_bo.h:78:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -29495,2 +32252,2 @@ -../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -29498,10 +32255,7 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/gpu/drm/xe/xe_trace_bo.h:78:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -29509,2 +32263,2 @@ -../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ +../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -29512,10 +32266,7 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/gpu/drm/xe/xe_trace_bo.h:78:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -29523,2 +32274,2 @@ -../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ +../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -29526,10 +32277,7 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: use of undeclared identifier 'bpf_trace_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/gpu/drm/xe/xe_trace_bo.h:78:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -29537,2 +32285,2 @@ -../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ +../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -29540,6 +32288,2 @@ -12 errors generated. -make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/cmd.o] Error 1 -make[8]: *** Waiting for unfinished jobs.... -make[3]: *** [../scripts/Makefile.build:485: net] Error 2 -In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: -In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: +In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: @@ -29548,2 +32292,2 @@ -../drivers/gpu/drm/msm/msm_gpu_trace.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 11 | TRACE_EVENT(msm_gpu_submit, +../drivers/gpu/drm/xe/xe_trace_bo.h:180:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 180 | DECLARE_EVENT_CLASS(xe_vm, @@ -29551,3 +32294,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -29560,2 +32301,5 @@ -In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: -In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. +make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/xe/xe_trace_bo.o] Error 1 +In file included from ../net/wireless/trace.c:5: +In file included from ../net/wireless/trace.h:4093: @@ -29564,3 +32308,8 @@ -../drivers/gpu/drm/msm/msm_gpu_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ +../net/wireless/trace.h:249:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 249 | DECLARE_EVENT_CLASS(wiphy_work_event, + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -29567,0 +32317,5 @@ +In file included from ../net/wireless/trace.c:5: +In file included from ../net/wireless/trace.h:4093: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../net/wireless/trace.h:249:1: error: use of undeclared identifier 'preempt_notrace' @@ -29574,2 +32328,2 @@ -In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: -In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: +In file included from ../net/wireless/trace.c:5: +In file included from ../net/wireless/trace.h:4093: @@ -29578,4 +32332 @@ -../drivers/gpu/drm/msm/msm_gpu_trace.h:11:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../net/wireless/trace.h:249:1: error: use of undeclared identifier 'trace_event_guard' @@ -29588,2 +32339,2 @@ -In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: -In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: +In file included from ../net/wireless/trace.c:5: +In file included from ../net/wireless/trace.h:4093: @@ -29592,4 +32343 @@ -../drivers/gpu/drm/msm/msm_gpu_trace.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../net/wireless/trace.h:249:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -29602,2 +32350,2 @@ -In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: -In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: +In file included from ../net/wireless/trace.c:5: +In file included from ../net/wireless/trace.h:4093: @@ -29606,4 +32354 @@ -../drivers/gpu/drm/msm/msm_gpu_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../net/wireless/trace.h:249:1: error: use of undeclared identifier 'preempt_notrace' @@ -29616,2 +32361,2 @@ -In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: -In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: +In file included from ../net/wireless/trace.c:5: +In file included from ../net/wireless/trace.h:4093: @@ -29620,4 +32365 @@ -../drivers/gpu/drm/msm/msm_gpu_trace.h:11:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../net/wireless/trace.h:249:1: error: use of undeclared identifier 'trace_event_guard' @@ -29630,2 +32372,2 @@ -In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: -In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: +In file included from ../net/wireless/trace.c:5: +In file included from ../net/wireless/trace.h:4093: @@ -29634,2 +32376,2 @@ -../drivers/gpu/drm/msm/msm_gpu_trace.h:33:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 33 | TRACE_EVENT(msm_gpu_submit_flush, +../net/wireless/trace.h:286:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 286 | TRACE_EVENT(wiphy_delayed_work_queue, @@ -29646,2 +32388,2 @@ -In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: -In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: +In file included from ../net/wireless/trace.c:5: +In file included from ../net/wireless/trace.h:4093: @@ -29650 +32392 @@ -../drivers/gpu/drm/msm/msm_gpu_trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' +../net/wireless/trace.h:286:1: error: use of undeclared identifier 'preempt_notrace' @@ -29660,2 +32402,2 @@ -In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: -In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: +In file included from ../net/wireless/trace.c:5: +In file included from ../net/wireless/trace.h:4093: @@ -29664 +32406 @@ -../drivers/gpu/drm/msm/msm_gpu_trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' +../net/wireless/trace.h:286:1: error: use of undeclared identifier 'trace_event_guard' @@ -29674,2 +32416,2 @@ -In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: -In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: +In file included from ../net/wireless/trace.c:5: +In file included from ../net/wireless/trace.h:4093: @@ -29678 +32420 @@ -../drivers/gpu/drm/msm/msm_gpu_trace.h:33:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../net/wireless/trace.h:286:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -29688,2 +32430,2 @@ -In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: -In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: +In file included from ../net/wireless/trace.c:5: +In file included from ../net/wireless/trace.h:4093: @@ -29692 +32434 @@ -../drivers/gpu/drm/msm/msm_gpu_trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' +../net/wireless/trace.h:286:1: error: use of undeclared identifier 'preempt_notrace' @@ -29702,2 +32444,2 @@ -In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: -In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: +In file included from ../net/wireless/trace.c:5: +In file included from ../net/wireless/trace.h:4093: @@ -29706 +32448 @@ -../drivers/gpu/drm/msm/msm_gpu_trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' +../net/wireless/trace.h:286:1: error: use of undeclared identifier 'trace_event_guard' @@ -29716,2 +32458,2 @@ -In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: -In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: +In file included from ../net/wireless/trace.c:5: +In file included from ../net/wireless/trace.h:4093: @@ -29720,2 +32462,2 @@ -../drivers/gpu/drm/msm/msm_gpu_trace.h:56:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 56 | TRACE_EVENT(msm_gpu_submit_retired, +../net/wireless/trace.h:307:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 307 | TRACE_EVENT(wiphy_work_worker_start, @@ -29732,2 +32474,2 @@ -In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: -In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: +In file included from ../net/wireless/trace.c:5: +In file included from ../net/wireless/trace.h:4093: @@ -29736 +32478 @@ -../drivers/gpu/drm/msm/msm_gpu_trace.h:56:1: error: use of undeclared identifier 'preempt_notrace' +../net/wireless/trace.h:307:1: error: use of undeclared identifier 'preempt_notrace' @@ -29746,2 +32488,2 @@ -In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: -In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: +In file included from ../net/wireless/trace.c:5: +In file included from ../net/wireless/trace.h:4093: @@ -29750 +32492 @@ -../drivers/gpu/drm/msm/msm_gpu_trace.h:56:1: error: use of undeclared identifier 'trace_event_guard' +../net/wireless/trace.h:307:1: error: use of undeclared identifier 'trace_event_guard' @@ -29760,2 +32502,2 @@ -In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: -In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: +In file included from ../net/wireless/trace.c:5: +In file included from ../net/wireless/trace.h:4093: @@ -29764 +32506 @@ -../drivers/gpu/drm/msm/msm_gpu_trace.h:56:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../net/wireless/trace.h:307:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -29774,2 +32516,2 @@ -In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: -In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: +In file included from ../net/wireless/trace.c:5: +In file included from ../net/wireless/trace.h:4093: @@ -29778 +32520 @@ -../drivers/gpu/drm/msm/msm_gpu_trace.h:56:1: error: use of undeclared identifier 'preempt_notrace' +../net/wireless/trace.h:307:1: error: use of undeclared identifier 'preempt_notrace' @@ -29788,2 +32530,2 @@ -In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: -In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: +In file included from ../net/wireless/trace.c:5: +In file included from ../net/wireless/trace.h:4093: @@ -29792 +32534 @@ -../drivers/gpu/drm/msm/msm_gpu_trace.h:56:1: error: use of undeclared identifier 'trace_event_guard' +../net/wireless/trace.h:307:1: error: use of undeclared identifier 'trace_event_guard' @@ -29802,2 +32544,2 @@ -In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: -In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: +In file included from ../net/wireless/trace.c:5: +In file included from ../net/wireless/trace.h:4093: @@ -29806,2 +32548,2 @@ -../drivers/gpu/drm/msm/msm_gpu_trace.h:87:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 87 | TRACE_EVENT(msm_gpu_freq_change, +../net/wireless/trace.h:323:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 323 | TRACE_EVENT(rdev_suspend, @@ -29820,3 +32562,5 @@ -make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/msm/msm_gpu_tracepoints.o] Error 1 -In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: -In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: +make[5]: *** [../scripts/Makefile.build:244: net/wireless/trace.o] Error 1 +make[4]: *** [../scripts/Makefile.build:485: net/wireless] Error 2 +make[3]: *** [../scripts/Makefile.build:485: net] Error 2 +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: @@ -29825,2 +32569,212 @@ -../drivers/net/ethernet/intel/i40e/i40e_trace.h:60:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 60 | TRACE_EVENT(i40e_napi_poll, +../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 27 | DECLARE_EVENT_CLASS(dev_token, + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 27 | DECLARE_EVENT_CLASS(dev_token, + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 27 | DECLARE_EVENT_CLASS(dev_token, + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +18 errors generated. +make[9]: *** [../scripts/Makefile.build:244: drivers/net/wireless/mediatek/mt76/mt7615/trace.o] Error 1 +make[8]: *** [../scripts/Makefile.build:485: drivers/net/wireless/mediatek/mt76/mt7615] Error 2 +make[7]: *** [../scripts/Makefile.build:485: drivers/net/wireless/mediatek/mt76] Error 2 +make[6]: *** [../scripts/Makefile.build:485: drivers/net/wireless/mediatek] Error 2 +make[5]: *** [../scripts/Makefile.build:485: drivers/net/wireless] Error 2 +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:17:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 17 | TRACE_EVENT(hclge_pf_mbx_get, @@ -29837,2 +32791,2 @@ -In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: -In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: @@ -29841 +32795 @@ -../drivers/net/ethernet/intel/i40e/i40e_trace.h:60:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:17:1: error: use of undeclared identifier 'preempt_notrace' @@ -29851,2 +32805,2 @@ -In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: -In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: @@ -29855 +32809 @@ -../drivers/net/ethernet/intel/i40e/i40e_trace.h:60:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:17:1: error: use of undeclared identifier 'trace_event_guard' @@ -29865,2 +32819,2 @@ -In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: -In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: @@ -29869 +32823 @@ -../drivers/net/ethernet/intel/i40e/i40e_trace.h:60:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:17:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -29879,2 +32833,2 @@ -In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: -In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: @@ -29883 +32837 @@ -../drivers/net/ethernet/intel/i40e/i40e_trace.h:60:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:17:1: error: use of undeclared identifier 'preempt_notrace' @@ -29893,2 +32847,2 @@ -In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: -In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: @@ -29897 +32851 @@ -../drivers/net/ethernet/intel/i40e/i40e_trace.h:60:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:17:1: error: use of undeclared identifier 'trace_event_guard' @@ -29907,2 +32861,2 @@ -In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: -In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: @@ -29911,2 +32865,2 @@ -../drivers/net/ethernet/intel/i40e/i40e_trace.h:108:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 108 | DECLARE_EVENT_CLASS( +../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:50:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 50 | TRACE_EVENT(hclge_pf_mbx_send, @@ -29913,0 +32868,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -29920,2 +32877,2 @@ -In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: -In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: @@ -29924 +32881,4 @@ -../drivers/net/ethernet/intel/i40e/i40e_trace.h:108:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -29931,2 +32891,2 @@ -In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: -In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: @@ -29935 +32895,4 @@ -../drivers/net/ethernet/intel/i40e/i40e_trace.h:108:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -29942,2 +32905,2 @@ -In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: -In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: @@ -29946 +32909,4 @@ -../drivers/net/ethernet/intel/i40e/i40e_trace.h:108:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:50:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -29953,2 +32919,2 @@ -In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: -In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: @@ -29957 +32923,4 @@ -../drivers/net/ethernet/intel/i40e/i40e_trace.h:108:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -29964,2 +32933,2 @@ -In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: -In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: @@ -29968 +32937,4 @@ -../drivers/net/ethernet/intel/i40e/i40e_trace.h:108:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -29975,2 +32947,2 @@ -In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: -In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: @@ -29979,2 +32951,2 @@ -../drivers/net/ethernet/intel/i40e/i40e_trace.h:160:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 160 | DECLARE_EVENT_CLASS( +../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:81:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 81 | DECLARE_EVENT_CLASS(hclge_pf_cmd_template, @@ -29988,2 +32960,2 @@ -In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: -In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: @@ -29992 +32964 @@ -../drivers/net/ethernet/intel/i40e/i40e_trace.h:160:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:81:1: error: use of undeclared identifier 'preempt_notrace' @@ -29999,2 +32971,2 @@ -In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: -In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: @@ -30003 +32975 @@ -../drivers/net/ethernet/intel/i40e/i40e_trace.h:160:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:81:1: error: use of undeclared identifier 'trace_event_guard' @@ -30010,2 +32982,2 @@ -In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: -In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: @@ -30014 +32986 @@ -../drivers/net/ethernet/intel/i40e/i40e_trace.h:160:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:81:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -30021,2 +32993,2 @@ -In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: -In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: @@ -30025 +32997 @@ -../drivers/net/ethernet/intel/i40e/i40e_trace.h:160:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:81:1: error: use of undeclared identifier 'preempt_notrace' @@ -30032,2 +33004,2 @@ -In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: -In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: @@ -30036 +33008 @@ -../drivers/net/ethernet/intel/i40e/i40e_trace.h:160:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:81:1: error: use of undeclared identifier 'trace_event_guard' @@ -30043,2 +33015,2 @@ -In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: -In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: @@ -30047,2 +33019,2 @@ -../drivers/net/ethernet/intel/i40e/i40e_trace.h:205:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 205 | DECLARE_EVENT_CLASS( +../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:132:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 132 | DECLARE_EVENT_CLASS(hclge_pf_special_cmd_template, @@ -30058,4 +33030,5 @@ -make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/intel/i40e/i40e_main.o] Error 1 -make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/intel/i40e] Error 2 -In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: -In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: +make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.o] Error 1 +make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/hisilicon/hns3] Error 2 +make[6]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/hisilicon] Error 2 +In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: +In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: @@ -30064,2 +33037,2 @@ -../drivers/net/ethernet/intel/ice/ice_trace.h:63:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 63 | DECLARE_EVENT_CLASS(ice_rx_dim_template, +../drivers/net/ethernet/intel/iavf/iavf_trace.h:59:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 59 | DECLARE_EVENT_CLASS( @@ -30073,2 +33046,2 @@ -In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: -In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: +In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: +In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: @@ -30077 +33050 @@ -../drivers/net/ethernet/intel/ice/ice_trace.h:63:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/intel/iavf/iavf_trace.h:59:1: error: use of undeclared identifier 'preempt_notrace' @@ -30084,2 +33057,2 @@ -In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: -In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: +In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: +In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: @@ -30088 +33061 @@ -../drivers/net/ethernet/intel/ice/ice_trace.h:63:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/intel/iavf/iavf_trace.h:59:1: error: use of undeclared identifier 'trace_event_guard' @@ -30095,2 +33068,2 @@ -In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: -In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: +In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: +In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: @@ -30099 +33072 @@ -../drivers/net/ethernet/intel/ice/ice_trace.h:63:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/ethernet/intel/iavf/iavf_trace.h:59:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -30106,2 +33079,2 @@ -In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: -In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: +In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: +In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: @@ -30110 +33083 @@ -../drivers/net/ethernet/intel/ice/ice_trace.h:63:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/intel/iavf/iavf_trace.h:59:1: error: use of undeclared identifier 'preempt_notrace' @@ -30117,2 +33090,2 @@ -In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: -In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: +In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: +In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: @@ -30121 +33094 @@ -../drivers/net/ethernet/intel/ice/ice_trace.h:63:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/intel/iavf/iavf_trace.h:59:1: error: use of undeclared identifier 'trace_event_guard' @@ -30128,2 +33101,2 @@ -In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: -In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: +In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: +In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: @@ -30132,2 +33105,2 @@ -../drivers/net/ethernet/intel/ice/ice_trace.h:90:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 90 | DECLARE_EVENT_CLASS(ice_tx_dim_template, +../drivers/net/ethernet/intel/iavf/iavf_trace.h:111:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 111 | DECLARE_EVENT_CLASS( @@ -30141,2 +33114,2 @@ -In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: -In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: +In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: +In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: @@ -30145 +33118 @@ -../drivers/net/ethernet/intel/ice/ice_trace.h:90:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/intel/iavf/iavf_trace.h:111:1: error: use of undeclared identifier 'preempt_notrace' @@ -30152,2 +33125,2 @@ -In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: -In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: +In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: +In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: @@ -30156 +33129 @@ -../drivers/net/ethernet/intel/ice/ice_trace.h:90:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/intel/iavf/iavf_trace.h:111:1: error: use of undeclared identifier 'trace_event_guard' @@ -30163,2 +33136,2 @@ -In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: -In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: +In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: +In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: @@ -30167 +33140 @@ -../drivers/net/ethernet/intel/ice/ice_trace.h:90:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/ethernet/intel/iavf/iavf_trace.h:111:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -30174,2 +33147,2 @@ -In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: -In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: +In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: +In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: @@ -30178 +33151 @@ -../drivers/net/ethernet/intel/ice/ice_trace.h:90:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/intel/iavf/iavf_trace.h:111:1: error: use of undeclared identifier 'preempt_notrace' @@ -30185,2 +33158,2 @@ -In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: -In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: +In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: +In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: @@ -30189 +33162 @@ -../drivers/net/ethernet/intel/ice/ice_trace.h:90:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/intel/iavf/iavf_trace.h:111:1: error: use of undeclared identifier 'trace_event_guard' @@ -30196,2 +33169,2 @@ -In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: -In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: +In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: +In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: @@ -30200,2 +33173,2 @@ -../drivers/net/ethernet/intel/ice/ice_trace.h:118:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 118 | DECLARE_EVENT_CLASS(ice_tx_template, +../drivers/net/ethernet/intel/iavf/iavf_trace.h:156:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 156 | DECLARE_EVENT_CLASS( @@ -30209,2 +33182,2 @@ -In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: -In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: +In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: +In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: @@ -30213 +33186 @@ -../drivers/net/ethernet/intel/ice/ice_trace.h:118:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/intel/iavf/iavf_trace.h:156:1: error: use of undeclared identifier 'preempt_notrace' @@ -30220,2 +33193,2 @@ -In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: -In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: +In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: +In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: @@ -30224 +33197 @@ -../drivers/net/ethernet/intel/ice/ice_trace.h:118:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/intel/iavf/iavf_trace.h:156:1: error: use of undeclared identifier 'trace_event_guard' @@ -30231,2 +33204,2 @@ -In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: -In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: +In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: +In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: @@ -30235 +33208 @@ -../drivers/net/ethernet/intel/ice/ice_trace.h:118:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/ethernet/intel/iavf/iavf_trace.h:156:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -30242,2 +33215,2 @@ -In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: -In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: +In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: +In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: @@ -30246 +33219 @@ -../drivers/net/ethernet/intel/ice/ice_trace.h:118:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/intel/iavf/iavf_trace.h:156:1: error: use of undeclared identifier 'preempt_notrace' @@ -30253,2 +33226,2 @@ -In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: -In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: +In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: +In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: @@ -30257 +33230 @@ -../drivers/net/ethernet/intel/ice/ice_trace.h:118:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/intel/iavf/iavf_trace.h:156:1: error: use of undeclared identifier 'trace_event_guard' @@ -30264,6 +33237,6 @@ -In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: -In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/net/ethernet/intel/ice/ice_trace.h:148:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 148 | DECLARE_EVENT_CLASS(ice_rx_template, +In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: +In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/ethernet/intel/iavf/iavf_trace.h:59:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 59 | DECLARE_EVENT_CLASS( @@ -30271,2 +33244,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -30274,2 +33247,2 @@ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -30279,3 +33252,2 @@ -make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/intel/ice/ice_main.o] Error 1 -make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/intel/ice] Error 2 -make[6]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/intel] Error 2 +make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/intel/iavf/iavf_main.o] Error 1 +make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/intel/iavf] Error 2 @@ -30502,3 +33474,2 @@ -make[7]: *** Waiting for unfinished jobs.... -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: @@ -30507,2 +33478,2 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 43 | TRACE_EVENT(mlx5_fw, +../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 13 | TRACE_EVENT(mlx5_cmd, @@ -30519,2 +33490,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: @@ -30523 +33494 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: use of undeclared identifier 'preempt_notrace' @@ -30533,2 +33504,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: @@ -30537 +33508 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: use of undeclared identifier 'trace_event_guard' @@ -30547,2 +33518,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: @@ -30551 +33522 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -30561,2 +33532,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: @@ -30565 +33536 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: use of undeclared identifier 'preempt_notrace' @@ -30575,2 +33546,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: @@ -30579 +33550 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: use of undeclared identifier 'trace_event_guard' @@ -30589,2 +33560,88 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 13 | TRACE_EVENT(mlx5_cmd, + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: @@ -30593,2 +33650,2 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 43 | TRACE_EVENT(mlx5_fw, +../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 13 | TRACE_EVENT(mlx5_cmd, @@ -30605,2 +33662,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: @@ -30609 +33666 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: use of undeclared identifier 'preempt_notrace' @@ -30619,2 +33676,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: @@ -30623 +33680 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: use of undeclared identifier 'bpf_trace_guard' +../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: use of undeclared identifier 'bpf_trace_guard' @@ -30633,2 +33690,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: @@ -30637 +33694 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -30647,2 +33704,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: @@ -30651 +33708 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: use of undeclared identifier 'preempt_notrace' @@ -30661,2 +33718,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: @@ -30665 +33722 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: use of undeclared identifier 'bpf_trace_guard' +../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: use of undeclared identifier 'bpf_trace_guard' @@ -30675,4 +33732,5 @@ -12 errors generated. -make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.o] Error 1 -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: +18 errors generated. +make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/cmd.o] Error 1 +make[8]: *** Waiting for unfinished jobs.... +In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: @@ -30681,2 +33739,2 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:64:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 64 | TRACE_EVENT(mlx5_fs_add_ft, +../drivers/net/ethernet/intel/i40e/i40e_trace.h:60:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 60 | TRACE_EVENT(i40e_napi_poll, @@ -30693,2 +33751,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: @@ -30697 +33755 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:64:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/intel/i40e/i40e_trace.h:60:1: error: use of undeclared identifier 'preempt_notrace' @@ -30707,2 +33765,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: @@ -30711 +33769 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:64:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/intel/i40e/i40e_trace.h:60:1: error: use of undeclared identifier 'trace_event_guard' @@ -30721,2 +33779,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: @@ -30725 +33783 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:64:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/ethernet/intel/i40e/i40e_trace.h:60:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -30735,2 +33793,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: @@ -30739 +33797 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:64:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/intel/i40e/i40e_trace.h:60:1: error: use of undeclared identifier 'preempt_notrace' @@ -30749,2 +33807,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: @@ -30753 +33811 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:64:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/intel/i40e/i40e_trace.h:60:1: error: use of undeclared identifier 'trace_event_guard' @@ -30763,2 +33821,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: @@ -30767,2 +33825,2 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:83:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 83 | TRACE_EVENT(mlx5_fs_del_ft, +../drivers/net/ethernet/intel/i40e/i40e_trace.h:108:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 108 | DECLARE_EVENT_CLASS( @@ -30770,3 +33827,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -30779,2 +33834,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: @@ -30783,4 +33838 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:83:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/ethernet/intel/i40e/i40e_trace.h:108:1: error: use of undeclared identifier 'preempt_notrace' @@ -30793,2 +33845,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: @@ -30797,4 +33849 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:83:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/ethernet/intel/i40e/i40e_trace.h:108:1: error: use of undeclared identifier 'trace_event_guard' @@ -30807,2 +33856,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: @@ -30811,4 +33860 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:83:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/ethernet/intel/i40e/i40e_trace.h:108:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -30821,2 +33867,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: @@ -30825,4 +33871 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:83:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/ethernet/intel/i40e/i40e_trace.h:108:1: error: use of undeclared identifier 'preempt_notrace' @@ -30835,2 +33878,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: @@ -30839,4 +33882 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:83:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/ethernet/intel/i40e/i40e_trace.h:108:1: error: use of undeclared identifier 'trace_event_guard' @@ -30849,2 +33889,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: @@ -30853,2 +33893,2 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:99:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 99 | TRACE_EVENT(mlx5_fs_add_fg, +../drivers/net/ethernet/intel/i40e/i40e_trace.h:160:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 160 | DECLARE_EVENT_CLASS( @@ -30856,3 +33895,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -30865,2 +33902,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: @@ -30869,4 +33906 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:99:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/ethernet/intel/i40e/i40e_trace.h:160:1: error: use of undeclared identifier 'preempt_notrace' @@ -30879,2 +33913,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: @@ -30883,4 +33917 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:99:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/ethernet/intel/i40e/i40e_trace.h:160:1: error: use of undeclared identifier 'trace_event_guard' @@ -30893,2 +33924,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: @@ -30897,4 +33928 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:99:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/ethernet/intel/i40e/i40e_trace.h:160:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -30907,2 +33935,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: @@ -30911,4 +33939 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:99:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/ethernet/intel/i40e/i40e_trace.h:160:1: error: use of undeclared identifier 'preempt_notrace' @@ -30921,2 +33946,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: @@ -30925,4 +33950 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:99:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/ethernet/intel/i40e/i40e_trace.h:160:1: error: use of undeclared identifier 'trace_event_guard' @@ -30935,2 +33957,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: @@ -30939,2 +33961,2 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:150:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 150 | TRACE_EVENT(mlx5_fs_del_fg, +../drivers/net/ethernet/intel/i40e/i40e_trace.h:205:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 205 | DECLARE_EVENT_CLASS( @@ -30942,3 +33963,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -30953,3 +33972,4 @@ -make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.o] Error 1 -In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: -In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: +make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/intel/i40e/i40e_main.o] Error 1 +make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/intel/i40e] Error 2 +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: @@ -30958,2 +33978,2 @@ -../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 20 | DECLARE_EVENT_CLASS(xe_guc_ct_flow_control, +../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 43 | TRACE_EVENT(mlx5_fw, @@ -30960,0 +33981,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -30967,2 +33990,2 @@ -In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: -In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: @@ -30971 +33994,4 @@ -../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -30978,2 +34004,2 @@ -In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: -In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: @@ -30982 +34008,4 @@ -../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -30989,2 +34018,2 @@ -In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: -In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: @@ -30993 +34022,4 @@ -../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -31000,2 +34032,2 @@ -In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: -In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: @@ -31004 +34036,4 @@ -../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -31011,2 +34046,2 @@ -In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: -In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: @@ -31015 +34050,4 @@ -../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -31022,6 +34060,6 @@ -In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: -In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/gpu/drm/xe/xe_trace_guc.h:61:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 61 | DECLARE_EVENT_CLASS(xe_guc_ctb, +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 43 | TRACE_EVENT(mlx5_fw, @@ -31029,2 +34067,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -31032,2 +34070,2 @@ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -31035,7 +34073,2 @@ -In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: -In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/gpu/drm/xe/xe_trace_guc.h:61:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -31043,2 +34076,13 @@ -../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -31046,7 +34090,7 @@ -In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: -In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/gpu/drm/xe/xe_trace_guc.h:61:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -31054,2 +34098,5 @@ -../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -31057,7 +34104,7 @@ -In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: -In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/gpu/drm/xe/xe_trace_guc.h:61:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -31065,2 +34112,5 @@ -../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -31068,7 +34118,7 @@ -In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: -In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/gpu/drm/xe/xe_trace_guc.h:61:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -31076,2 +34126,5 @@ -../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -31079,7 +34132,7 @@ -In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: -In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/gpu/drm/xe/xe_trace_guc.h:61:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -31087,2 +34140,5 @@ -../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -31090,2 +34146,2 @@ -In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: -In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: @@ -31094,2 +34150,2 @@ -../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 20 | DECLARE_EVENT_CLASS(xe_guc_ct_flow_control, +../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 43 | TRACE_EVENT(mlx5_fw, @@ -31096,0 +34153,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -31103,2 +34162,2 @@ -In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: -In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: @@ -31107 +34166,4 @@ -../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -31114,2 +34176,2 @@ -In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: -In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: @@ -31118 +34180,4 @@ -../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: use of undeclared identifier 'bpf_trace_guard' +../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -31125,2 +34190,2 @@ -In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: -In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: @@ -31129 +34194,4 @@ -../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -31136,2 +34204,2 @@ -In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: -In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: @@ -31140 +34208,4 @@ -../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -31147,2 +34218,2 @@ -In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: -In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: @@ -31151 +34222,4 @@ -../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: use of undeclared identifier 'bpf_trace_guard' +../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -31158,18 +34232,4 @@ -In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: -In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/gpu/drm/xe/xe_trace_guc.h:61:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 61 | DECLARE_EVENT_CLASS(xe_guc_ctb, - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ - | ^ -fatal error: too many errors emitted, stopping now [-ferror-limit=] -20 errors generated. -make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/xe/xe_trace_guc.o] Error 1 -In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: -In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: +18 errors generated. +make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.o] Error 1 +In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: +In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: @@ -31178,2 +34238,2 @@ -../drivers/gpu/drm/radeon/radeon_trace.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 15 | TRACE_EVENT(radeon_bo_create, +../drivers/net/ethernet/intel/ice/ice_trace.h:63:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 63 | DECLARE_EVENT_CLASS(ice_rx_dim_template, @@ -31181,3 +34240,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -31190,2 +34247,2 @@ -In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: -In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: +In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: +In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: @@ -31194,4 +34251 @@ -../drivers/gpu/drm/radeon/radeon_trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/ethernet/intel/ice/ice_trace.h:63:1: error: use of undeclared identifier 'preempt_notrace' @@ -31204,2 +34258,2 @@ -In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: -In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: +In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: +In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: @@ -31208,4 +34262 @@ -../drivers/gpu/drm/radeon/radeon_trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/ethernet/intel/ice/ice_trace.h:63:1: error: use of undeclared identifier 'trace_event_guard' @@ -31218,2 +34269,2 @@ -In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: -In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: +In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: +In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: @@ -31222,4 +34273 @@ -../drivers/gpu/drm/radeon/radeon_trace.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/ethernet/intel/ice/ice_trace.h:63:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -31232,2 +34280,2 @@ -In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: -In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: +In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: +In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: @@ -31236,4 +34284 @@ -../drivers/gpu/drm/radeon/radeon_trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/ethernet/intel/ice/ice_trace.h:63:1: error: use of undeclared identifier 'preempt_notrace' @@ -31246,2 +34291,2 @@ -In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: -In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: +In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: +In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: @@ -31250,4 +34295 @@ -../drivers/gpu/drm/radeon/radeon_trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/ethernet/intel/ice/ice_trace.h:63:1: error: use of undeclared identifier 'trace_event_guard' @@ -31260,2 +34302,2 @@ -In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: -In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: +In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: +In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: @@ -31264,2 +34306,2 @@ -../drivers/gpu/drm/radeon/radeon_trace.h:30:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 30 | TRACE_EVENT(radeon_cs, +../drivers/net/ethernet/intel/ice/ice_trace.h:90:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 90 | DECLARE_EVENT_CLASS(ice_tx_dim_template, @@ -31267,3 +34308,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -31276,2 +34315,2 @@ -In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: -In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: +In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: +In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: @@ -31280,4 +34319 @@ -../drivers/gpu/drm/radeon/radeon_trace.h:30:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/ethernet/intel/ice/ice_trace.h:90:1: error: use of undeclared identifier 'preempt_notrace' @@ -31290,2 +34326,2 @@ -In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: -In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: +In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: +In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: @@ -31294,4 +34330 @@ -../drivers/gpu/drm/radeon/radeon_trace.h:30:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/ethernet/intel/ice/ice_trace.h:90:1: error: use of undeclared identifier 'trace_event_guard' @@ -31304,2 +34337,2 @@ -In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: -In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: +In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: +In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: @@ -31308,4 +34341 @@ -../drivers/gpu/drm/radeon/radeon_trace.h:30:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/ethernet/intel/ice/ice_trace.h:90:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -31318,2 +34348,2 @@ -In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: -In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: +In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: +In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: @@ -31322,4 +34352 @@ -../drivers/gpu/drm/radeon/radeon_trace.h:30:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/ethernet/intel/ice/ice_trace.h:90:1: error: use of undeclared identifier 'preempt_notrace' @@ -31332,2 +34359,2 @@ -In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: -In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: +In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: +In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: @@ -31336,4 +34363 @@ -../drivers/gpu/drm/radeon/radeon_trace.h:30:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/ethernet/intel/ice/ice_trace.h:90:1: error: use of undeclared identifier 'trace_event_guard' @@ -31346,2 +34370,2 @@ -In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: -In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: +In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: +In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: @@ -31350,2 +34374,2 @@ -../drivers/gpu/drm/radeon/radeon_trace.h:50:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 50 | TRACE_EVENT(radeon_vm_grab_id, +../drivers/net/ethernet/intel/ice/ice_trace.h:118:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 118 | DECLARE_EVENT_CLASS(ice_tx_template, @@ -31353,3 +34376,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -31362,2 +34383,2 @@ -In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: -In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: +In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: +In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: @@ -31366,4 +34387 @@ -../drivers/gpu/drm/radeon/radeon_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/ethernet/intel/ice/ice_trace.h:118:1: error: use of undeclared identifier 'preempt_notrace' @@ -31376,2 +34394,2 @@ -In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: -In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: +In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: +In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: @@ -31380,4 +34398 @@ -../drivers/gpu/drm/radeon/radeon_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/ethernet/intel/ice/ice_trace.h:118:1: error: use of undeclared identifier 'trace_event_guard' @@ -31390,2 +34405,2 @@ -In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: -In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: +In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: +In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: @@ -31394,4 +34409 @@ -../drivers/gpu/drm/radeon/radeon_trace.h:50:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/ethernet/intel/ice/ice_trace.h:118:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -31404,2 +34416,2 @@ -In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: -In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: +In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: +In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: @@ -31408,4 +34420 @@ -../drivers/gpu/drm/radeon/radeon_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/ethernet/intel/ice/ice_trace.h:118:1: error: use of undeclared identifier 'preempt_notrace' @@ -31418,2 +34427,2 @@ -In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: -In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: +In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: +In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: @@ -31422,4 +34431 @@ -../drivers/gpu/drm/radeon/radeon_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/ethernet/intel/ice/ice_trace.h:118:1: error: use of undeclared identifier 'trace_event_guard' @@ -31432,2 +34438,2 @@ -In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: -In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: +In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:24: +In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: @@ -31436,2 +34442,2 @@ -../drivers/gpu/drm/radeon/radeon_trace.h:65:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 65 | TRACE_EVENT(radeon_vm_bo_update, +../drivers/net/ethernet/intel/ice/ice_trace.h:148:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 148 | DECLARE_EVENT_CLASS(ice_rx_template, @@ -31439,3 +34444,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -31450,4 +34453,5 @@ -make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/radeon/radeon_trace_points.o] Error 1 -make[6]: *** [../scripts/Makefile.build:485: drivers/gpu/drm/radeon] Error 2 -In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: -In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: +make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/intel/ice/ice_main.o] Error 1 +make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/intel/ice] Error 2 +make[6]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/intel] Error 2 +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: @@ -31456,2 +34460,2 @@ -../drivers/gpu/drm/xe/xe_trace_bo.h:23:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 23 | DECLARE_EVENT_CLASS(xe_bo, +../drivers/gpu/drm/i915/display/intel_display_trace.h:24:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 24 | TRACE_EVENT(intel_pipe_enable, @@ -31458,0 +34463,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -31465,2 +34472,2 @@ -In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: -In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: @@ -31469 +34476,4 @@ -../drivers/gpu/drm/xe/xe_trace_bo.h:23:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/i915/display/intel_display_trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -31476,2 +34486,2 @@ -In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: -In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: @@ -31480 +34490,4 @@ -../drivers/gpu/drm/xe/xe_trace_bo.h:23:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/i915/display/intel_display_trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -31487,2 +34500,2 @@ -In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: -In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: @@ -31491 +34504,4 @@ -../drivers/gpu/drm/xe/xe_trace_bo.h:23:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/gpu/drm/i915/display/intel_display_trace.h:24:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -31498,2 +34514,2 @@ -In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: -In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: @@ -31502 +34518,4 @@ -../drivers/gpu/drm/xe/xe_trace_bo.h:23:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/i915/display/intel_display_trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -31509,2 +34528,2 @@ -In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: -In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: @@ -31513 +34532,4 @@ -../drivers/gpu/drm/xe/xe_trace_bo.h:23:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/i915/display/intel_display_trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -31520,2 +34542,2 @@ -In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: -In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: @@ -31524,2 +34546,2 @@ -../drivers/gpu/drm/xe/xe_trace_bo.h:51:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 51 | TRACE_EVENT(xe_bo_move, +../drivers/gpu/drm/i915/display/intel_display_trace.h:52:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 52 | TRACE_EVENT(intel_pipe_disable, @@ -31536,2 +34558,2 @@ -In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: -In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: @@ -31540 +34562 @@ -../drivers/gpu/drm/xe/xe_trace_bo.h:51:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/i915/display/intel_display_trace.h:52:1: error: use of undeclared identifier 'preempt_notrace' @@ -31550,2 +34572,2 @@ -In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: -In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: @@ -31554 +34576 @@ -../drivers/gpu/drm/xe/xe_trace_bo.h:51:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/i915/display/intel_display_trace.h:52:1: error: use of undeclared identifier 'trace_event_guard' @@ -31564,2 +34586,2 @@ -In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: -In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: @@ -31568 +34590 @@ -../drivers/gpu/drm/xe/xe_trace_bo.h:51:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/gpu/drm/i915/display/intel_display_trace.h:52:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -31578,2 +34600,2 @@ -In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: -In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: @@ -31582 +34604 @@ -../drivers/gpu/drm/xe/xe_trace_bo.h:51:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/i915/display/intel_display_trace.h:52:1: error: use of undeclared identifier 'preempt_notrace' @@ -31592,2 +34614,2 @@ -In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: -In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: @@ -31596 +34618 @@ -../drivers/gpu/drm/xe/xe_trace_bo.h:51:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/i915/display/intel_display_trace.h:52:1: error: use of undeclared identifier 'trace_event_guard' @@ -31606,2 +34628,2 @@ -In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: -In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: @@ -31610,2 +34632,2 @@ -../drivers/gpu/drm/xe/xe_trace_bo.h:78:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 78 | DECLARE_EVENT_CLASS(xe_vma, +../drivers/gpu/drm/i915/display/intel_display_trace.h:81:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 81 | TRACE_EVENT(intel_crtc_flip_done, @@ -31612,0 +34635,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -31619,2 +34644,2 @@ -In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: -In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: @@ -31623 +34648,4 @@ -../drivers/gpu/drm/xe/xe_trace_bo.h:78:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/i915/display/intel_display_trace.h:81:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -31630,2 +34658,2 @@ -In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: -In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: @@ -31634 +34662,4 @@ -../drivers/gpu/drm/xe/xe_trace_bo.h:78:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/i915/display/intel_display_trace.h:81:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -31641,2 +34672,2 @@ -In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: -In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: @@ -31645 +34676,4 @@ -../drivers/gpu/drm/xe/xe_trace_bo.h:78:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/gpu/drm/i915/display/intel_display_trace.h:81:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -31652,2 +34686,2 @@ -In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: -In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: @@ -31656 +34690,4 @@ -../drivers/gpu/drm/xe/xe_trace_bo.h:78:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/i915/display/intel_display_trace.h:81:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -31663,2 +34700,2 @@ -In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: -In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: @@ -31667 +34704,4 @@ -../drivers/gpu/drm/xe/xe_trace_bo.h:78:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/i915/display/intel_display_trace.h:81:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -31674,2 +34714,2 @@ -In file included from ../drivers/gpu/drm/xe/xe_trace_bo.c:8: -In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: @@ -31678,2 +34718,2 @@ -../drivers/gpu/drm/xe/xe_trace_bo.h:180:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 180 | DECLARE_EVENT_CLASS(xe_vm, +../drivers/gpu/drm/i915/display/intel_display_trace.h:104:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 104 | TRACE_EVENT(intel_pipe_crc, @@ -31680,0 +34721,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -31689,3 +34732,4 @@ -make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/xe/xe_trace_bo.o] Error 1 -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: +make[7]: *** [../drivers/gpu/drm/xe/Makefile:183: drivers/gpu/drm/xe/i915-display/intel_display_trace.o] Error 1 +make[6]: *** [../scripts/Makefile.build:485: drivers/gpu/drm/xe] Error 2 +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: @@ -31694,2 +34738,2 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 14 | DECLARE_EVENT_CLASS(mlx5_sf_dev_template, +../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 14 | TRACE_EVENT(mlx5_sf_vhca_event, @@ -31696,0 +34741,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -31703,2 +34750,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: @@ -31707 +34754,4 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -31714,2 +34764,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: @@ -31718 +34768,4 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -31725,2 +34778,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: @@ -31729 +34782,4 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -31736,2 +34792,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: @@ -31740 +34796,4 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -31747,2 +34806,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: @@ -31751 +34810,4 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -31758,2 +34820,88 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 14 | TRACE_EVENT(mlx5_sf_vhca_event, + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: @@ -31762,2 +34910,2 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 14 | DECLARE_EVENT_CLASS(mlx5_sf_dev_template, +../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 14 | TRACE_EVENT(mlx5_sf_vhca_event, @@ -31764,0 +34913,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -31771,2 +34922,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: @@ -31775 +34926,4 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -31782,2 +34936,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: @@ -31786 +34940,4 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' +../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -31793,2 +34950,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: @@ -31797 +34954,4 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -31804,2 +34964,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: @@ -31808 +34968,4 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -31815,2 +34978,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: @@ -31819 +34982,4 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' +../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -31826,4 +34992,4 @@ -12 errors generated. -make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.o] Error 1 -In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: -In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: +18 errors generated. +make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.o] Error 1 +In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: +In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: @@ -31832,2 +34998,2 @@ -../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:24:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 24 | TRACE_EVENT(dpu_perf_set_qos_luts, +../drivers/gpu/drm/i915/gvt/trace.h:42:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 42 | TRACE_EVENT(spt_alloc, @@ -31844,2 +35010,2 @@ -In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: -In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: +In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: +In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: @@ -31848 +35014 @@ -../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/i915/gvt/trace.h:42:1: error: use of undeclared identifier 'preempt_notrace' @@ -31858,2 +35024,2 @@ -In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: -In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: +In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: +In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: @@ -31862 +35028 @@ -../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/i915/gvt/trace.h:42:1: error: use of undeclared identifier 'trace_event_guard' @@ -31872,2 +35038,2 @@ -In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: -In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: +In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: +In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: @@ -31876 +35042 @@ -../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:24:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/gpu/drm/i915/gvt/trace.h:42:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -31886,2 +35052,2 @@ -In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: -In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: +In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: +In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: @@ -31890 +35056 @@ -../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/i915/gvt/trace.h:42:1: error: use of undeclared identifier 'preempt_notrace' @@ -31900,2 +35066,2 @@ -In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: -In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: +In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: +In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: @@ -31904 +35070 @@ -../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/i915/gvt/trace.h:42:1: error: use of undeclared identifier 'trace_event_guard' @@ -31914,2 +35080,2 @@ -In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: -In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: +In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: +In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: @@ -31918,2 +35084,2 @@ -../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:50:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 50 | TRACE_EVENT(dpu_perf_set_danger_luts, +../drivers/gpu/drm/i915/gvt/trace.h:72:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 72 | TRACE_EVENT(spt_free, @@ -31930,2 +35096,2 @@ -In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: -In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: +In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: +In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: @@ -31934 +35100 @@ -../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/i915/gvt/trace.h:72:1: error: use of undeclared identifier 'preempt_notrace' @@ -31944,2 +35110,2 @@ -In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: -In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: +In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: +In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: @@ -31948 +35114 @@ -../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/i915/gvt/trace.h:72:1: error: use of undeclared identifier 'trace_event_guard' @@ -31958,2 +35124,2 @@ -In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: -In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: +In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: +In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: @@ -31962 +35128 @@ -../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:50:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/gpu/drm/i915/gvt/trace.h:72:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -31972,2 +35138,2 @@ -In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: -In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: +In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: +In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: @@ -31976 +35142 @@ -../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/i915/gvt/trace.h:72:1: error: use of undeclared identifier 'preempt_notrace' @@ -31986,2 +35152,2 @@ -In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: -In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: +In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: +In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: @@ -31990 +35156 @@ -../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/i915/gvt/trace.h:72:1: error: use of undeclared identifier 'trace_event_guard' @@ -32000,2 +35166,2 @@ -In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: -In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: +In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: +In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: @@ -32004,2 +35170,2 @@ -../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:74:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 74 | TRACE_EVENT(dpu_perf_set_ot, +../drivers/gpu/drm/i915/gvt/trace.h:97:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 97 | TRACE_EVENT(gma_index, @@ -32016,2 +35182,2 @@ -In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: -In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: +In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: +In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: @@ -32020 +35186 @@ -../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:74:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/i915/gvt/trace.h:97:1: error: use of undeclared identifier 'preempt_notrace' @@ -32030,2 +35196,2 @@ -In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: -In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: +In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: +In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: @@ -32034 +35200 @@ -../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:74:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/i915/gvt/trace.h:97:1: error: use of undeclared identifier 'trace_event_guard' @@ -32044,2 +35210,2 @@ -In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: -In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: +In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: +In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: @@ -32048 +35214 @@ -../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:74:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/gpu/drm/i915/gvt/trace.h:97:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -32058,2 +35224,2 @@ -In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: -In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: +In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: +In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: @@ -32062 +35228 @@ -../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:74:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/i915/gvt/trace.h:97:1: error: use of undeclared identifier 'preempt_notrace' @@ -32072,2 +35238,2 @@ -In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: -In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: +In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: +In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: @@ -32076 +35242 @@ -../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:74:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/i915/gvt/trace.h:97:1: error: use of undeclared identifier 'trace_event_guard' @@ -32086,2 +35252,2 @@ -In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: -In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: +In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: +In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: @@ -32090,2 +35256,2 @@ -../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:94:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 94 | TRACE_EVENT(dpu_cmd_release_bw, +../drivers/gpu/drm/i915/gvt/trace.h:115:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 115 | TRACE_EVENT(gma_translate, @@ -32104,4 +35270,4 @@ -make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/msm/disp/dpu1/dpu_kms.o] Error 1 -make[6]: *** [../scripts/Makefile.build:485: drivers/gpu/drm/msm] Error 2 -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: +make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/i915/gvt/trace_points.o] Error 1 +make[7]: *** Waiting for unfinished jobs.... +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: @@ -32110,2 +35276,2 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:25:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 25 | DECLARE_EVENT_CLASS(mlx5e_flower_template, +../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:64:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 64 | TRACE_EVENT(mlx5_fs_add_ft, @@ -32112,0 +35279,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -32119,2 +35288,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: @@ -32123 +35292,4 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:25:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:64:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -32130,2 +35302,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: @@ -32134 +35306,4 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:25:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:64:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -32141,2 +35316,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: @@ -32145 +35320,4 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:25:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:64:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -32152,2 +35330,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: @@ -32156 +35334,4 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:25:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:64:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -32163,2 +35344,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: @@ -32167 +35348,4 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:25:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:64:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -32174,2 +35358,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: @@ -32178,2 +35362,2 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:58:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 58 | TRACE_EVENT(mlx5e_stats_flower, +../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:83:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 83 | TRACE_EVENT(mlx5_fs_del_ft, @@ -32190,2 +35374,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: @@ -32194 +35378 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:58:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:83:1: error: use of undeclared identifier 'preempt_notrace' @@ -32204,2 +35388,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: @@ -32208 +35392 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:58:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:83:1: error: use of undeclared identifier 'trace_event_guard' @@ -32218,2 +35402,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: @@ -32222 +35406 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:58:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:83:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -32232,2 +35416,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: @@ -32236 +35420 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:58:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:83:1: error: use of undeclared identifier 'preempt_notrace' @@ -32246,2 +35430,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: @@ -32250 +35434 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:58:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:83:1: error: use of undeclared identifier 'trace_event_guard' @@ -32260,2 +35444,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: @@ -32264,2 +35448,2 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:77:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 77 | TRACE_EVENT(mlx5e_tc_update_neigh_used_value, +../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:99:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 99 | TRACE_EVENT(mlx5_fs_add_fg, @@ -32276,2 +35460,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: @@ -32280 +35464 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:77:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:99:1: error: use of undeclared identifier 'preempt_notrace' @@ -32290,2 +35474,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: @@ -32294 +35478 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:77:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:99:1: error: use of undeclared identifier 'trace_event_guard' @@ -32304,2 +35488,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: @@ -32308 +35492 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:77:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:99:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -32318,2 +35502,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: @@ -32322 +35506 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:77:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:99:1: error: use of undeclared identifier 'preempt_notrace' @@ -32332,2 +35516,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: @@ -32336 +35520 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:77:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:99:1: error: use of undeclared identifier 'trace_event_guard' @@ -32346,6 +35530,6 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:25:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 25 | DECLARE_EVENT_CLASS(mlx5e_flower_template, +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:150:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 150 | TRACE_EVENT(mlx5_fs_del_fg, @@ -32353,2 +35537,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -32356,2 +35540,5 @@ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -32361,3 +35548,3 @@ -make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.o] Error 1 -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: +make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.o] Error 1 +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: @@ -32366,2 +35553,2 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:13:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 13 | TRACE_EVENT(mlx5_esw_vport_qos_destroy, +../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:13:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 13 | DECLARE_EVENT_CLASS(mlx5_esw_bridge_fdb_template, @@ -32369,3 +35555,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -32378,2 +35562,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: @@ -32382,4 +35566 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:13:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:13:1: error: use of undeclared identifier 'preempt_notrace' @@ -32392,2 +35573,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: @@ -32396,4 +35577 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:13:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:13:1: error: use of undeclared identifier 'trace_event_guard' @@ -32406,2 +35584,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: @@ -32410,4 +35588 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:13:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:13:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -32420,2 +35595,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: @@ -32424,4 +35599 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:13:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:13:1: error: use of undeclared identifier 'preempt_notrace' @@ -32434,2 +35606,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: @@ -32438,4 +35610 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:13:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:13:1: error: use of undeclared identifier 'trace_event_guard' @@ -32448,2 +35617,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: @@ -32452,2 +35621,2 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:29:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 29 | DECLARE_EVENT_CLASS(mlx5_esw_vport_qos_template, +../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:56:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 56 | DECLARE_EVENT_CLASS(mlx5_esw_bridge_vlan_template, @@ -32461,2 +35630,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: @@ -32465 +35634 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:29:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:56:1: error: use of undeclared identifier 'preempt_notrace' @@ -32472,2 +35641,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: @@ -32476 +35645 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:29:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:56:1: error: use of undeclared identifier 'trace_event_guard' @@ -32483,2 +35652,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: @@ -32487 +35656 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:29:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:56:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -32494,2 +35663,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: @@ -32498 +35667 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:29:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:56:1: error: use of undeclared identifier 'preempt_notrace' @@ -32505,2 +35674,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: @@ -32509 +35678 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:29:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:56:1: error: use of undeclared identifier 'trace_event_guard' @@ -32516,2 +35685,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: @@ -32520,2 +35689,2 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:62:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 62 | DECLARE_EVENT_CLASS(mlx5_esw_group_qos_template, +../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:83:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 83 | DECLARE_EVENT_CLASS(mlx5_esw_bridge_port_template, @@ -32529,2 +35698,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: @@ -32533 +35702 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:62:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:83:1: error: use of undeclared identifier 'preempt_notrace' @@ -32540,2 +35709,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: @@ -32544 +35713 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:62:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:83:1: error: use of undeclared identifier 'trace_event_guard' @@ -32551,2 +35720,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: @@ -32555 +35724 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:62:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:83:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -32562,2 +35731,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: @@ -32566 +35735 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:62:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:83:1: error: use of undeclared identifier 'preempt_notrace' @@ -32573,2 +35742,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: @@ -32577 +35746 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:62:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:83:1: error: use of undeclared identifier 'trace_event_guard' @@ -32584,2 +35753,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: @@ -32588,2 +35757,2 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:94:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 94 | TRACE_EVENT(mlx5_esw_group_qos_config, +../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:113:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 113 | DECLARE_EVENT_CLASS(mlx5_esw_bridge_mdb_port_change_template, @@ -32591,3 +35759,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -32602,3 +35768,5 @@ -make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.o] Error 1 -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: +make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.o] Error 1 +make[4]: *** [../scripts/Makefile.build:485: sound/soc] Error 2 +make[3]: *** [../scripts/Makefile.build:485: sound] Error 2 +In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: +In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: @@ -32607,2 +35775,2 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 14 | TRACE_EVENT(mlx5e_rep_neigh_update, +../drivers/gpu/drm/i915/i915_trace.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 21 | TRACE_EVENT(i915_gem_object_create, @@ -32619,2 +35787,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: +In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: +In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: @@ -32623 +35791 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/i915/i915_trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' @@ -32633,2 +35801,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: +In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: +In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: @@ -32637 +35805 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/i915/i915_trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' @@ -32647,2 +35815,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: +In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: +In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: @@ -32651 +35819 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/gpu/drm/i915/i915_trace.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -32661,2 +35829,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: +In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: +In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: @@ -32665 +35833 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/i915/i915_trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' @@ -32675,2 +35843,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: +In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: +In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: @@ -32679 +35847 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/i915/i915_trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' @@ -32689,6 +35857,6 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 14 | TRACE_EVENT(mlx5e_rep_neigh_update, +In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: +In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/gpu/drm/i915/i915_trace.h:38:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 38 | TRACE_EVENT(i915_gem_shrink, @@ -32699,2 +35867,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -32702,2 +35870,2 @@ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -32705,5 +35873,5 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' +In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: +In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/gpu/drm/i915/i915_trace.h:38:1: error: use of undeclared identifier 'preempt_notrace' @@ -32713,2 +35881,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -32716,2 +35884,2 @@ -../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -32719,5 +35887,5 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' +In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: +In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/gpu/drm/i915/i915_trace.h:38:1: error: use of undeclared identifier 'trace_event_guard' @@ -32727,2 +35895,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -32730,2 +35898,2 @@ -../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ +../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -32733,5 +35901,5 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: +In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/gpu/drm/i915/i915_trace.h:38:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -32741,2 +35909,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -32744,2 +35912,2 @@ -../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ +../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -32747,5 +35915,5 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' +In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: +In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/gpu/drm/i915/i915_trace.h:38:1: error: use of undeclared identifier 'preempt_notrace' @@ -32755,2 +35923,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -32758,2 +35926,2 @@ -../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ +../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -32761,5 +35929,5 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' +In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: +In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/gpu/drm/i915/i915_trace.h:38:1: error: use of undeclared identifier 'trace_event_guard' @@ -32769,2 +35937,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -32772,2 +35940,2 @@ -../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ +../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -32775,4 +35943,2 @@ -12 errors generated. -make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/en_rep.o] Error 1 -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: +In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: +In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: @@ -32781,2 +35947,2 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 14 | TRACE_EVENT(mlx5_sf_vhca_event, +../drivers/gpu/drm/i915/i915_trace.h:58:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 58 | TRACE_EVENT(i915_vma_bind, @@ -32793,2 +35959,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: +In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: +In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: @@ -32797 +35963 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/i915/i915_trace.h:58:1: error: use of undeclared identifier 'preempt_notrace' @@ -32807,2 +35973,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: +In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: +In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: @@ -32811 +35977 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/i915/i915_trace.h:58:1: error: use of undeclared identifier 'trace_event_guard' @@ -32821,2 +35987,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: +In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: +In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: @@ -32825 +35991 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/gpu/drm/i915/i915_trace.h:58:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -32835,2 +36001,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: +In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: +In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: @@ -32839 +36005 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/i915/i915_trace.h:58:1: error: use of undeclared identifier 'preempt_notrace' @@ -32849,2 +36015,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: +In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: +In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: @@ -32853 +36019 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/i915/i915_trace.h:58:1: error: use of undeclared identifier 'trace_event_guard' @@ -32863,6 +36029,6 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 14 | TRACE_EVENT(mlx5_sf_vhca_event, +In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: +In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/gpu/drm/i915/i915_trace.h:84:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 84 | TRACE_EVENT(i915_vma_unbind, @@ -32873,69 +36039,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ - | ^ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ - | ^ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' - 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ - | ^ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ - | ^ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) - | ^ -../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ - | ^ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: -In file included from ../include/trace/define_trace.h:110: -In file included from ../include/trace/bpf_probe.h:128: -../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -32943,2 +36042,2 @@ -../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -32946,7 +36045,5 @@ -../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' - 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ - | ^ -12 errors generated. -make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.o] Error 1 -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. +make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/i915/i915_trace_points.o] Error 1 +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: @@ -32955,2 +36052,2 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 14 | TRACE_EVENT(mlx5_sf_add, +../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:13:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 13 | TRACE_EVENT(mlx5_esw_vport_qos_destroy, @@ -32967,2 +36064,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: @@ -32971 +36068 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:13:1: error: use of undeclared identifier 'preempt_notrace' @@ -32981,2 +36078,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: @@ -32985 +36082 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:14:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:13:1: error: use of undeclared identifier 'trace_event_guard' @@ -32995,2 +36092,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: @@ -32999 +36096 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:13:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -33009,2 +36106,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: @@ -33013 +36110 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:13:1: error: use of undeclared identifier 'preempt_notrace' @@ -33023,2 +36120,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: @@ -33027 +36124 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:14:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:13:1: error: use of undeclared identifier 'trace_event_guard' @@ -33037,2 +36134,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: @@ -33041,2 +36138,2 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:38:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 38 | TRACE_EVENT(mlx5_sf_free, +../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:29:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 29 | DECLARE_EVENT_CLASS(mlx5_esw_vport_qos_template, @@ -33044,3 +36140,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -33053,2 +36147,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: @@ -33057,4 +36151 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:38:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:29:1: error: use of undeclared identifier 'preempt_notrace' @@ -33067,2 +36158,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: @@ -33071,4 +36162 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:38:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:29:1: error: use of undeclared identifier 'trace_event_guard' @@ -33081,2 +36169,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: @@ -33085,4 +36173 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:38:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:29:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -33095,2 +36180,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: @@ -33099,4 +36184 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:38:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:29:1: error: use of undeclared identifier 'preempt_notrace' @@ -33109,2 +36191,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: @@ -33113,4 +36195 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:38:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:29:1: error: use of undeclared identifier 'trace_event_guard' @@ -33123,2 +36202,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: @@ -33127,2 +36206,2 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:59:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 59 | TRACE_EVENT(mlx5_sf_hwc_alloc, +../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:62:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 62 | DECLARE_EVENT_CLASS(mlx5_esw_group_qos_template, @@ -33130,3 +36208,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -33139,2 +36215,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: @@ -33143,4 +36219 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:59:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:62:1: error: use of undeclared identifier 'preempt_notrace' @@ -33153,2 +36226,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: @@ -33157,4 +36230 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:59:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:62:1: error: use of undeclared identifier 'trace_event_guard' @@ -33167,2 +36237,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: @@ -33171,4 +36241 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:59:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:62:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -33181,2 +36248,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: @@ -33185,4 +36252 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:59:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:62:1: error: use of undeclared identifier 'preempt_notrace' @@ -33195,2 +36259,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: @@ -33199,4 +36263 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:59:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:62:1: error: use of undeclared identifier 'trace_event_guard' @@ -33209,2 +36270,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: @@ -33213,2 +36274,2 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:80:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 80 | TRACE_EVENT(mlx5_sf_hwc_free, +../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:94:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 94 | TRACE_EVENT(mlx5_esw_group_qos_config, @@ -33227,5 +36288,3 @@ -make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.o] Error 1 -make[4]: *** [../scripts/Makefile.build:485: sound/soc] Error 2 -make[3]: *** [../scripts/Makefile.build:485: sound] Error 2 -In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: -In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: +make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.o] Error 1 +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: @@ -33234,2 +36293,2 @@ -../drivers/gpu/drm/i915/display/intel_display_trace.h:24:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 24 | TRACE_EVENT(intel_pipe_enable, +../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 14 | TRACE_EVENT(mlx5e_rep_neigh_update, @@ -33246,2 +36305,2 @@ -In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: -In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: @@ -33250 +36309 @@ -../drivers/gpu/drm/i915/display/intel_display_trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' @@ -33260,2 +36319,2 @@ -In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: -In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: @@ -33264 +36323 @@ -../drivers/gpu/drm/i915/display/intel_display_trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: use of undeclared identifier 'trace_event_guard' @@ -33274,2 +36333,2 @@ -In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: -In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: @@ -33278 +36337 @@ -../drivers/gpu/drm/i915/display/intel_display_trace.h:24:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -33288,2 +36347,2 @@ -In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: -In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: @@ -33292 +36351 @@ -../drivers/gpu/drm/i915/display/intel_display_trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' @@ -33302,2 +36361,2 @@ -In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: -In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: @@ -33306 +36365 @@ -../drivers/gpu/drm/i915/display/intel_display_trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: use of undeclared identifier 'trace_event_guard' @@ -33316,6 +36375,6 @@ -In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: -In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/gpu/drm/i915/display/intel_display_trace.h:52:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 52 | TRACE_EVENT(intel_pipe_disable, +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 14 | TRACE_EVENT(mlx5e_rep_neigh_update, @@ -33326,2 +36385,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -33329,2 +36388,2 @@ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -33332,5 +36391,5 @@ -In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: -In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/gpu/drm/i915/display/intel_display_trace.h:52:1: error: use of undeclared identifier 'preempt_notrace' +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' @@ -33340,2 +36399,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -33343,2 +36402,2 @@ -../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -33346,5 +36405,5 @@ -In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: -In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/gpu/drm/i915/display/intel_display_trace.h:52:1: error: use of undeclared identifier 'trace_event_guard' +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: use of undeclared identifier 'trace_event_guard' @@ -33354,2 +36413,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -33357,2 +36416,2 @@ -../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -33360,5 +36419,5 @@ -In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: -In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/gpu/drm/i915/display/intel_display_trace.h:52:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -33368,2 +36427,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -33371,2 +36430,2 @@ -../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -33374,5 +36433,5 @@ -In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: -In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/gpu/drm/i915/display/intel_display_trace.h:52:1: error: use of undeclared identifier 'preempt_notrace' +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' @@ -33382,2 +36441,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -33385,2 +36444,2 @@ -../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -33388,5 +36447,5 @@ -In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: -In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/gpu/drm/i915/display/intel_display_trace.h:52:1: error: use of undeclared identifier 'trace_event_guard' +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: use of undeclared identifier 'trace_event_guard' @@ -33396,2 +36455,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -33399,2 +36458,2 @@ -../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -33402,6 +36461,6 @@ -In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: -In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/gpu/drm/i915/display/intel_display_trace.h:81:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 81 | TRACE_EVENT(intel_crtc_flip_done, +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 14 | TRACE_EVENT(mlx5e_rep_neigh_update, @@ -33411,0 +36471,85 @@ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +18 errors generated. +make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/en_rep.o] Error 1 +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 14 | DECLARE_EVENT_CLASS(mlx5_sf_dev_template, + | ^ @@ -33418,2 +36562,2 @@ -In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: -In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: @@ -33422,4 +36566 @@ -../drivers/gpu/drm/i915/display/intel_display_trace.h:81:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' @@ -33432,2 +36573,2 @@ -In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: -In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: @@ -33436,4 +36577 @@ -../drivers/gpu/drm/i915/display/intel_display_trace.h:81:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: use of undeclared identifier 'trace_event_guard' @@ -33446,2 +36584,2 @@ -In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: -In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: @@ -33450,4 +36588 @@ -../drivers/gpu/drm/i915/display/intel_display_trace.h:81:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -33460,2 +36595,2 @@ -In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: -In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: @@ -33464,4 +36599 @@ -../drivers/gpu/drm/i915/display/intel_display_trace.h:81:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' @@ -33474,2 +36606,2 @@ -In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: -In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: @@ -33478,4 +36610 @@ -../drivers/gpu/drm/i915/display/intel_display_trace.h:81:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: use of undeclared identifier 'trace_event_guard' @@ -33488,6 +36617,6 @@ -In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: -In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/gpu/drm/i915/display/intel_display_trace.h:104:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 104 | TRACE_EVENT(intel_pipe_crc, +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 14 | DECLARE_EVENT_CLASS(mlx5_sf_dev_template, @@ -33495,2 +36624,2 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -33498,2 +36627,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -33501,2 +36630,7 @@ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -33504,6 +36638,119 @@ -fatal error: too many errors emitted, stopping now [-ferror-limit=] -20 errors generated. -make[7]: *** [../drivers/gpu/drm/xe/Makefile:183: drivers/gpu/drm/xe/i915-display/intel_display_trace.o] Error 1 -make[6]: *** [../scripts/Makefile.build:485: drivers/gpu/drm/xe] Error 2 -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: +../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 14 | DECLARE_EVENT_CLASS(mlx5_sf_dev_template, + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +18 errors generated. +make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.o] Error 1 +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: @@ -33512,2 +36759,2 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:13:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 13 | DECLARE_EVENT_CLASS(mlx5_esw_bridge_fdb_template, +../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:24:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 24 | TRACE_EVENT(dpu_perf_set_qos_luts, @@ -33514,0 +36762,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -33521,2 +36771,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: @@ -33525 +36775,4 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:13:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -33532,2 +36785,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: @@ -33536 +36789,4 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:13:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -33543,2 +36799,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: @@ -33547 +36803,4 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:13:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:24:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -33554,2 +36813,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: @@ -33558 +36817,4 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:13:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -33565,2 +36827,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: @@ -33569 +36831,4 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:13:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -33576,2 +36841,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: @@ -33580,2 +36845,2 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:56:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 56 | DECLARE_EVENT_CLASS(mlx5_esw_bridge_vlan_template, +../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:50:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 50 | TRACE_EVENT(dpu_perf_set_danger_luts, @@ -33582,0 +36848,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -33589,2 +36857,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: @@ -33593 +36861,4 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:56:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -33600,2 +36871,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: @@ -33604 +36875,4 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:56:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -33611,2 +36885,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: @@ -33615 +36889,4 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:56:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:50:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -33622,2 +36899,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: @@ -33626 +36903,4 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:56:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -33633,2 +36913,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: @@ -33637 +36917,4 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:56:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -33644,2 +36927,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: @@ -33648,2 +36931,2 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:83:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 83 | DECLARE_EVENT_CLASS(mlx5_esw_bridge_port_template, +../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:74:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 74 | TRACE_EVENT(dpu_perf_set_ot, @@ -33650,0 +36934,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -33657,2 +36943,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: @@ -33661 +36947,4 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:83:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:74:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -33668,2 +36957,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: @@ -33672 +36961,4 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:83:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:74:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -33679,2 +36971,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: @@ -33683 +36975,4 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:83:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:74:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -33690,2 +36985,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: @@ -33694 +36989,4 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:83:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:74:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -33701,2 +36999,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: @@ -33705 +37003,4 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:83:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:74:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -33712,2 +37013,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: @@ -33716,2 +37017,2 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:113:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 113 | DECLARE_EVENT_CLASS(mlx5_esw_bridge_mdb_port_change_template, +../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:94:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 94 | TRACE_EVENT(dpu_cmd_release_bw, @@ -33718,0 +37020,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -33727,7 +37031,4 @@ -make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.o] Error 1 -make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/mellanox/mlx5/core] Error 2 -make[6]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/mellanox] Error 2 -make[5]: *** [../scripts/Makefile.build:485: drivers/net/ethernet] Error 2 -make[4]: *** [../scripts/Makefile.build:485: drivers/net] Error 2 -In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: -In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: +make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/msm/disp/dpu1/dpu_kms.o] Error 1 +make[6]: *** [../scripts/Makefile.build:485: drivers/gpu/drm/msm] Error 2 +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: @@ -33736,2 +37037,2 @@ -../drivers/gpu/drm/i915/i915_trace.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 21 | TRACE_EVENT(i915_gem_object_create, +../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:25:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 25 | DECLARE_EVENT_CLASS(mlx5e_flower_template, @@ -33739,3 +37039,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -33748,2 +37046,2 @@ -In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: -In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: @@ -33752,4 +37050 @@ -../drivers/gpu/drm/i915/i915_trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:25:1: error: use of undeclared identifier 'preempt_notrace' @@ -33762,2 +37057,2 @@ -In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: -In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: @@ -33766,4 +37061 @@ -../drivers/gpu/drm/i915/i915_trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:25:1: error: use of undeclared identifier 'trace_event_guard' @@ -33776,2 +37068,2 @@ -In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: -In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: @@ -33780,4 +37072 @@ -../drivers/gpu/drm/i915/i915_trace.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:25:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -33790,2 +37079,2 @@ -In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: -In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: @@ -33794,4 +37083 @@ -../drivers/gpu/drm/i915/i915_trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:25:1: error: use of undeclared identifier 'preempt_notrace' @@ -33804,2 +37090,2 @@ -In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: -In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: @@ -33808,4 +37094 @@ -../drivers/gpu/drm/i915/i915_trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:25:1: error: use of undeclared identifier 'trace_event_guard' @@ -33818,2 +37101,2 @@ -In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: -In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: @@ -33822,2 +37105,2 @@ -../drivers/gpu/drm/i915/i915_trace.h:38:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 38 | TRACE_EVENT(i915_gem_shrink, +../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:58:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 58 | TRACE_EVENT(mlx5e_stats_flower, @@ -33834,2 +37117,2 @@ -In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: -In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: @@ -33838 +37121 @@ -../drivers/gpu/drm/i915/i915_trace.h:38:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:58:1: error: use of undeclared identifier 'preempt_notrace' @@ -33848,2 +37131,2 @@ -In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: -In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: @@ -33852 +37135 @@ -../drivers/gpu/drm/i915/i915_trace.h:38:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:58:1: error: use of undeclared identifier 'trace_event_guard' @@ -33862,2 +37145,2 @@ -In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: -In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: @@ -33866 +37149 @@ -../drivers/gpu/drm/i915/i915_trace.h:38:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:58:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -33876,2 +37159,2 @@ -In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: -In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: @@ -33880 +37163 @@ -../drivers/gpu/drm/i915/i915_trace.h:38:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:58:1: error: use of undeclared identifier 'preempt_notrace' @@ -33890,2 +37173,2 @@ -In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: -In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: @@ -33894 +37177 @@ -../drivers/gpu/drm/i915/i915_trace.h:38:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:58:1: error: use of undeclared identifier 'trace_event_guard' @@ -33904,2 +37187,2 @@ -In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: -In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: @@ -33908,2 +37191,2 @@ -../drivers/gpu/drm/i915/i915_trace.h:58:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 58 | TRACE_EVENT(i915_vma_bind, +../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:77:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 77 | TRACE_EVENT(mlx5e_tc_update_neigh_used_value, @@ -33920,2 +37203,2 @@ -In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: -In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: @@ -33924 +37207 @@ -../drivers/gpu/drm/i915/i915_trace.h:58:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:77:1: error: use of undeclared identifier 'preempt_notrace' @@ -33934,2 +37217,2 @@ -In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: -In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: @@ -33938 +37221 @@ -../drivers/gpu/drm/i915/i915_trace.h:58:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:77:1: error: use of undeclared identifier 'trace_event_guard' @@ -33948,2 +37231,2 @@ -In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: -In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: @@ -33952 +37235 @@ -../drivers/gpu/drm/i915/i915_trace.h:58:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:77:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -33962,2 +37245,2 @@ -In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: -In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: @@ -33966 +37249 @@ -../drivers/gpu/drm/i915/i915_trace.h:58:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:77:1: error: use of undeclared identifier 'preempt_notrace' @@ -33976,2 +37259,2 @@ -In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: -In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: @@ -33980 +37263 @@ -../drivers/gpu/drm/i915/i915_trace.h:58:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:77:1: error: use of undeclared identifier 'trace_event_guard' @@ -33990,6 +37273,6 @@ -In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: -In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/gpu/drm/i915/i915_trace.h:84:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 84 | TRACE_EVENT(i915_vma_unbind, +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:25:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 25 | DECLARE_EVENT_CLASS(mlx5e_flower_template, @@ -33997,2 +37280,2 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ +../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -34000,5 +37283,2 @@ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -34008,4 +37288,3 @@ -make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/i915/i915_trace_points.o] Error 1 -make[7]: *** Waiting for unfinished jobs.... -In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: -In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: +make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.o] Error 1 +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: @@ -34014,2 +37293,2 @@ -../drivers/gpu/drm/i915/gvt/trace.h:42:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 42 | TRACE_EVENT(spt_alloc, +../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 14 | TRACE_EVENT(mlx5_sf_add, @@ -34026,2 +37305,2 @@ -In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: -In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: @@ -34030 +37309 @@ -../drivers/gpu/drm/i915/gvt/trace.h:42:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' @@ -34040,2 +37319,2 @@ -In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: -In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: @@ -34044 +37323 @@ -../drivers/gpu/drm/i915/gvt/trace.h:42:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:14:1: error: use of undeclared identifier 'trace_event_guard' @@ -34054,2 +37333,2 @@ -In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: -In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: @@ -34058 +37337 @@ -../drivers/gpu/drm/i915/gvt/trace.h:42:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -34068,2 +37347,2 @@ -In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: -In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: @@ -34072 +37351 @@ -../drivers/gpu/drm/i915/gvt/trace.h:42:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' @@ -34082,2 +37361,2 @@ -In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: -In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: @@ -34086 +37365 @@ -../drivers/gpu/drm/i915/gvt/trace.h:42:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:14:1: error: use of undeclared identifier 'trace_event_guard' @@ -34096,2 +37375,2 @@ -In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: -In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: @@ -34100,2 +37379,2 @@ -../drivers/gpu/drm/i915/gvt/trace.h:72:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 72 | TRACE_EVENT(spt_free, +../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:38:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 38 | TRACE_EVENT(mlx5_sf_free, @@ -34112,2 +37391,2 @@ -In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: -In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: @@ -34116 +37395 @@ -../drivers/gpu/drm/i915/gvt/trace.h:72:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:38:1: error: use of undeclared identifier 'preempt_notrace' @@ -34126,2 +37405,2 @@ -In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: -In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: @@ -34130 +37409 @@ -../drivers/gpu/drm/i915/gvt/trace.h:72:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:38:1: error: use of undeclared identifier 'trace_event_guard' @@ -34140,2 +37419,2 @@ -In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: -In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: @@ -34144 +37423 @@ -../drivers/gpu/drm/i915/gvt/trace.h:72:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:38:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -34154,2 +37433,2 @@ -In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: -In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: @@ -34158 +37437 @@ -../drivers/gpu/drm/i915/gvt/trace.h:72:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:38:1: error: use of undeclared identifier 'preempt_notrace' @@ -34168,2 +37447,2 @@ -In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: -In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: @@ -34172 +37451 @@ -../drivers/gpu/drm/i915/gvt/trace.h:72:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:38:1: error: use of undeclared identifier 'trace_event_guard' @@ -34182,2 +37461,2 @@ -In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: -In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: @@ -34186,2 +37465,2 @@ -../drivers/gpu/drm/i915/gvt/trace.h:97:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 97 | TRACE_EVENT(gma_index, +../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:59:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 59 | TRACE_EVENT(mlx5_sf_hwc_alloc, @@ -34198,2 +37477,2 @@ -In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: -In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: @@ -34202 +37481 @@ -../drivers/gpu/drm/i915/gvt/trace.h:97:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:59:1: error: use of undeclared identifier 'preempt_notrace' @@ -34212,2 +37491,2 @@ -In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: -In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: @@ -34216 +37495 @@ -../drivers/gpu/drm/i915/gvt/trace.h:97:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:59:1: error: use of undeclared identifier 'trace_event_guard' @@ -34226,2 +37505,2 @@ -In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: -In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: @@ -34230 +37509 @@ -../drivers/gpu/drm/i915/gvt/trace.h:97:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:59:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -34240,2 +37519,2 @@ -In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: -In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: @@ -34244 +37523 @@ -../drivers/gpu/drm/i915/gvt/trace.h:97:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:59:1: error: use of undeclared identifier 'preempt_notrace' @@ -34254,2 +37533,2 @@ -In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: -In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: @@ -34258 +37537 @@ -../drivers/gpu/drm/i915/gvt/trace.h:97:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:59:1: error: use of undeclared identifier 'trace_event_guard' @@ -34268,2 +37547,2 @@ -In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: -In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:12: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: @@ -34272,2 +37551,2 @@ -../drivers/gpu/drm/i915/gvt/trace.h:115:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 115 | TRACE_EVENT(gma_translate, +../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:80:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 80 | TRACE_EVENT(mlx5_sf_hwc_free, @@ -34286 +37565,5 @@ -make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/i915/gvt/trace_points.o] Error 1 +make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.o] Error 1 +make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/mellanox/mlx5/core] Error 2 +make[6]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/mellanox] Error 2 +make[5]: *** [../scripts/Makefile.build:485: drivers/net/ethernet] Error 2 +make[4]: *** [../scripts/Makefile.build:485: drivers/net] Error 2 Per-file breakdown --- /tmp/tmp.5AboYyEfT9 2024-08-28 09:26:41.623916680 -0700 +++ /tmp/tmp.cQuH5Zql27 2024-08-28 09:26:41.685918014 -0700 @@ -1,3 +1,3 @@ - 12 ../arch/x86/entry/vsyscall/vsyscall_trace.h - 12 ../arch/x86/include/asm/msr-trace.h - 12 ../arch/x86/include/asm/trace/exceptions.h + 18 ../arch/x86/entry/vsyscall/vsyscall_trace.h + 18 ../arch/x86/include/asm/msr-trace.h + 18 ../arch/x86/include/asm/trace/exceptions.h @@ -9 +9 @@ - 12 ../drivers/base/trace.h + 18 ../drivers/base/trace.h @@ -14 +14 @@ - 12 ../drivers/dma-buf/sync_trace.h + 18 ../drivers/dma-buf/sync_trace.h @@ -22 +21,0 @@ - 12 ../drivers/gpu/drm/lima/lima_trace.h @@ -28 +27 @@ - 12 ../drivers/gpu/drm/tegra/trace.h + 18 ../drivers/gpu/drm/tegra/trace.h @@ -31 +30 @@ - 12 ../drivers/gpu/drm/virtio/virtgpu_trace.h + 18 ../drivers/gpu/drm/virtio/virtgpu_trace.h @@ -39 +38 @@ - 12 ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h + 18 ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h @@ -44 +43 @@ - 12 ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h + 18 ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h @@ -50,2 +49,2 @@ - 12 ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h - 12 ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h + 18 ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h + 18 ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h @@ -54 +53 @@ - 12 ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h + 18 ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h @@ -57 +56 @@ - 12 ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h + 18 ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h @@ -59 +58 @@ - 12 ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h + 18 ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h @@ -68 +67 @@ - 12 ../drivers/net/wireless/ath/trace.h + 18 ../drivers/net/wireless/ath/trace.h @@ -74 +73 @@ - 12 ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h + 18 ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h @@ -76 +75 @@ - 12 ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h + 18 ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h @@ -82 +81 @@ - 12 ../drivers/soc/qcom/pmic_pdcharger_ulog.h + 18 ../drivers/soc/qcom/pmic_pdcharger_ulog.h @@ -86 +85 @@ - 12 ../include/trace/events/avc.h + 18 ../include/trace/events/avc.h @@ -93,2 +92,2 @@ - 12 ../include/trace/events/dma_fence.h - 12 ../include/trace/events/fib6.h + 18 ../include/trace/events/dma_fence.h + 18 ../include/trace/events/fib6.h @@ -96,2 +95 @@ - 19 ../include/trace/events/firewire.h - 19 ../include/trace/events/firewire_ohci.h + 19 ../include/trace/events/fs_dax.h @@ -99 +97 @@ - 12 ../include/trace/events/gpu_mem.h + 18 ../include/trace/events/gpu_mem.h @@ -102 +100 @@ - 12 ../include/trace/events/icmp.h + 18 ../include/trace/events/icmp.h @@ -103,0 +102 @@ + 19 ../include/trace/events/iocost.h @@ -107 +106,2 @@ - 12 ../include/trace/events/iscsi.h + 19 ../include/trace/events/irq_matrix.h + 18 ../include/trace/events/iscsi.h @@ -109,0 +110 @@ + 19 ../include/trace/events/lock.h @@ -112 +113 @@ - 12 ../include/trace/events/mdio.h + 18 ../include/trace/events/mdio.h @@ -113,0 +115 @@ + 19 ../include/trace/events/mmap_lock.h @@ -116,2 +118,3 @@ - 12 ../include/trace/events/netlink.h - 12 ../include/trace/events/nmi.h + 18 ../include/trace/events/netlink.h + 18 ../include/trace/events/nmi.h + 18 ../include/trace/events/notifier.h @@ -121 +124,2 @@ - 12 ../include/trace/events/pwm.h + 18 ../include/trace/events/printk.h + 18 ../include/trace/events/pwm.h @@ -123,2 +127 @@ - 19 ../include/trace/events/rpcgss.h - 19 ../include/trace/events/rpcrdma.h + 19 ../include/trace/events/sched.h @@ -129 +131,0 @@ - 19 ../include/trace/events/sunrpc.h @@ -132,0 +135 @@ + 19 ../include/trace/events/wbt.h @@ -139 +142 @@ - 12 ../samples/ftrace/sample-trace-array.h + 18 ../samples/ftrace/sample-trace-array.h @@ -143 +146 @@ - 12 ../sound/firewire/amdtp-stream-trace.h + 18 ../sound/firewire/amdtp-stream-trace.h